Function at 0x579f10
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x5be01e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [esp + 0x28]
push edi
mov edi, ecx
push eax
push ebp
mov dword [esp + 0x28], edi
mov byte [esp + 0x34], 0x1b
mov byte [esp + 0x35], 0xe
mov byte [esp + 0x36], 0x43
mov byte [esp + 0x37], 0x3b
mov byte [esp + 0x38], 0x53
mov byte [esp + 0x39], 0x50
mov byte [esp + 0x3a], 0x3f
mov byte [esp + 0x3b], 0x49
call esi
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x579f8c
push 0x62b228
call fcn.004ea6e0
add esp, 4
mov dword [edi + 0x28], eax
xor al, al
jmp 0x57a6b7
cmp dword [edi + 0x4058], 4
jne 0x57a058
push str.CAAC__MIS
push ebp
call esi
add esp, 8
cmp eax, ebx
jne 0x57a058
push str.DEVICE
push ebp
call esi
add esp, 8
cmp eax, ebx
je 0x579fd2
push str.DEVICE
call fcn.004ea6e0
add esp, 4
mov dword [edi + 0x28], eax
xor al, al
jmp 0x57a6b7
push ebp
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov eax, dword [ecx - 8]
cmp eax, 3
jle 0x57a01b
add eax, 0xfffffffd
lea edx, [esp + 0x5c]
push eax
push edx
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::TrimRight
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea7d0
add esp, 4
lea ecx, [esp + 0x58]
mov dword [edi + 0x28], eax
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x57a6b7
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x57a6b5
mov esi, ebp
mov dword [esp + 0x14], esi
lea ecx, [eax - 0x14]
cmp ebx, ecx
jle 0x57a076
cmp byte [esi], 0x26
je 0x57a051
lea ecx, [eax - 0x46]
cmp ebx, ecx
jge 0x57a08d
mov ecx, 0xd
mov edi, str.TOTAL_TICKETS
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x57a051
lea ecx, [eax - 0x46]
cmp ebx, ecx
jge 0x57a6a3
mov eax, dword [esp + 0x14]
mov cl, byte [eax]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov dl, byte [ebx + ebp + 1]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov al, byte [ebx + ebp + 2]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
cmp byte [ebx + ebp + 3], 0x2d
jne 0x57a69f
mov cl, byte [ebx + ebp + 4]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov dl, byte [ebx + ebp + 5]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov al, byte [ebx + ebp + 6]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov cl, byte [ebx + ebp + 7]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov dl, byte [ebx + ebp + 8]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov al, byte [ebx + ebp + 9]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov cl, byte [ebx + ebp + 0xa]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov dl, byte [ebx + ebp + 0xb]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov al, byte [ebx + ebp + 0xc]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
mov cl, byte [ebx + ebp + 0xd]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x57a69f
cmp byte [ebx + ebp + 0xe], 0x20
jne 0x57a69f
xor edx, edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x35], edx
mov byte [esp + 0x34], 0
mov dword [esp + 0x39], edx
mov dword [esp + 0x3d], edx
mov dword [esp + 0x41], edx
mov word [esp + 0x45], dx
mov byte [esp + 0x47], dl
call sub.MFC42.DLL_CString::CString_1
push 0x30
mov dword [esp + 0x54], 2
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x50], 3
je 0x57a2a0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x50], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x50], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x50], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x50], 0xd
call sub.MFC42.DLL_CString::CString_1
mov byte [esi + 0x2c], 0
mov ebp, esi
jmp 0x57a2a2
xor ebp, ebp
push str.ET_REFUND
lea ecx, [ebp + 4]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x14]
xor eax, eax
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push 0xe
mov dword [esp + 0x40], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x44], eax
push ecx
push edx
mov dword [esp + 0x50], eax
call esi
add esp, 0xc
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator
mov edi, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x34], ecx
push 0xe
mov dword [esp + 0x3c], ecx
lea edx, [ebx + edi + 0xf]
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ecx
push edx
push eax
mov dword [esp + 0x50], ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 0x10]
lea ecx, [ebp + 0x24]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ecx, [ebx + edi + 0x1e]
mov dword [esp + 0x34], eax
push 9
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x40], eax
push ecx
mov dword [esp + 0x48], eax
push edx
mov dword [esp + 0x50], eax
call esi
add esp, 0xc
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::operator_1
xor edx, edx
push 9
mov dword [esp + 0x38], edx
lea eax, [ebx + edi + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x38]
push eax
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x28]
push eax
call sub.MFC42.DLL_CString::operator_1
xor ecx, ecx
lea edx, [ebx + edi + 0x32]
mov dword [esp + 0x34], ecx
push 7
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x40], ecx
push edx
mov dword [esp + 0x48], ecx
push eax
mov dword [esp + 0x50], ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 0x10]
lea ecx, [ebp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ecx, [ebx + edi + 0x3a]
mov dword [esp + 0x34], eax
push 7
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x40], eax
push ecx
mov dword [esp + 0x48], eax
push edx
mov dword [esp + 0x50], eax
call esi
add esp, 0xc
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x18]
call sub.MFC42.DLL_CString::operator_1
xor edx, edx
lea eax, [ebx + edi + 0x4b]
mov dword [esp + 0x34], edx
push 5
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], edx
push eax
mov dword [esp + 0x48], edx
push ecx
mov dword [esp + 0x50], edx
call esi
add esp, 0xc
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x20]
push eax
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x20]
xor edi, edi
mov edx, dword [esi + 0x4084]
mov eax, dword [esi + 0x4080]
mov ecx, edx
mov dword [esp + 0x18], ecx
inc ecx
cmp ecx, edi
jne 0x57a52e
cmp eax, edi
je 0x57a51d
push eax
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x4080], edi
mov dword [esi + 0x4088], edi
mov dword [esi + 0x4084], edi
jmp 0x57a66f
cmp eax, edi
jne 0x57a574
lea edi, [ecx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 0x4080], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
inc eax
mov dword [esi + 0x4088], eax
mov dword [esi + 0x4084], eax
jmp 0x57a66f
mov edi, dword [esi + 0x4088]
cmp ecx, edi
jg 0x57a5b7
cmp edx, ecx
jge 0x57a59d
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x4084], eax
jmp 0x57a66f
jle 0x57a5a5
sub edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x4084], eax
jmp 0x57a66f
mov eax, dword [esi + 0x408c]
test eax, eax
jne 0x57a5e4
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x57a5d8
mov eax, 4
jmp 0x57a5e4
cmp eax, 0x400
jle 0x57a5e4
mov eax, 0x400
add eax, edi
cmp ecx, eax
mov dword [esp + 0x1c], eax
jl 0x57a5f2
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
lea eax, [edx*4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 0x4084]
mov esi, dword [esi + 0x4080]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x28], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
inc ecx
mov edx, dword [esi + 0x4084]
mov dword [esp + 0x2c], ecx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4080]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esi + 0x4080], edx
mov dword [esi + 0x4084], eax
mov dword [esi + 0x4088], ecx
mov edx, dword [esi + 0x4080]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
add ebx, 0x44
mov dword [edx + eax*4], ebp
mov eax, dword [esp + 0x14]
add eax, 0x44
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
inc ebx
inc esi
cmp ebx, eax
mov dword [esp + 0x14], esi
jl 0x57a06a
mov al, 1
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8