Function at 0x578db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5bdf7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push edi
mov edi, dword [esp + 0x98]
lea eax, [esp + 0x30]
mov ebp, ecx
push eax
push edi
mov byte [esp + 0x38], 0x1b
mov byte [esp + 0x39], 0xe
mov byte [esp + 0x3a], 0x43
mov byte [esp + 0x3b], 0x3b
mov byte [esp + 0x3c], 0x53
mov byte [esp + 0x3d], 0x50
mov byte [esp + 0x3e], 0x3f
mov byte [esp + 0x3f], 0x49
call esi
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x578e2b
push 0x62b228
call fcn.004ea6e0
add esp, 4
mov dword [ebp + 0x28], eax
xor al, al
jmp 0x579ee6
cmp dword [ebp + 0x4058], 2
jne 0x578f03
push str.CAAC__MIS
push edi
call esi
add esp, 8
cmp eax, ebx
jne 0x578f03
push str.DEVICE
push edi
call esi
add esp, 8
cmp eax, ebx
je 0x578e71
push str.DEVICE
call fcn.004ea6e0
add esp, 4
mov dword [ebp + 0x28], eax
xor al, al
jmp 0x579ee6
push edi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x90], ebx
mov eax, dword [ecx - 8]
cmp eax, 3
jle 0x578ec3
add eax, 0xfffffffd
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimRight
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea7d0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x28], eax
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x579ee6
mov eax, dword [esp + 0x9c]
cmp eax, ebx
jle 0x579ee4
jmp 0x578f1b
mov eax, dword [esp + 0x9c]
lea ecx, [eax - 0x14]
cmp ebx, ecx
jle 0x578f28
cmp byte [ebx + edi], 0x26
je 0x578efc
add eax, 0xffffffba
cmp ebx, eax
jge 0x579ed4
mov edx, dword [esp + 0x98]
mov ecx, 0xd
mov edi, str.TOTAL_TICKETS
lea esi, [ebx + edx]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x578efc
mov edi, dword [esp + 0x98]
cmp ebx, eax
jge 0x579ed4
mov al, byte [ebx + edi]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov cl, byte [ebx + edi + 1]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov dl, byte [ebx + edi + 2]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
cmp byte [ebx + edi + 3], 0x2d
jne 0x579ed4
mov al, byte [ebx + edi + 4]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov cl, byte [ebx + edi + 5]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov dl, byte [ebx + edi + 6]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov al, byte [ebx + edi + 7]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov cl, byte [ebx + edi + 8]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov dl, byte [ebx + edi + 9]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov al, byte [ebx + edi + 0xa]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov cl, byte [ebx + edi + 0xb]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov dl, byte [ebx + edi + 0xc]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
mov al, byte [ebx + edi + 0xd]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x579ed4
cmp byte [ebx + edi + 0xe], 0x20
jne 0x579ed4
xor ecx, ecx
mov byte [esp + 0x38], 0
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x41], ecx
mov dword [esp + 0x45], ecx
mov word [esp + 0x49], cx
mov byte [esp + 0x4b], cl
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
push 0x30
mov dword [esp + 0x94], 2
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x90], 3
je 0x579183
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x90], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x90], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x90], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x90], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x90], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x90], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x90], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x90], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x90], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x90], 0xd
call sub.MFC42.DLL_CString::CString_1
mov byte [esi + 0x2c], 0
jmp 0x579185
xor esi, esi
mov al, byte [ebx + edi + 0x11]
mov dword [esp + 0x1c], esi
cmp al, 0x20
mov byte [esp + 0x90], 2
jne 0x579838
mov dl, byte [ebx + edi + 0x12]
push edx
call fcn.004ecf20
add esp, 4
test al, al
je 0x579838
mov al, byte [ebx + edi + 0x13]
push eax
call fcn.004ecf20
add esp, 4
test al, al
je 0x579838
mov cl, byte [ebx + edi + 0x14]
push ecx
call fcn.004ecf20
add esp, 4
test al, al
je 0x579838
cmp byte [ebx + edi + 0x15], 0x20
jne 0x579838
xor edx, edx
lea eax, [ebx + edi]
mov dword [esp + 0x38], edx
push 0xe
mov dword [esp + 0x40], edx
push eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x40]
mov dword [esp + 0x4c], edx
push eax
mov dword [esp + 0x54], edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator
xor edx, edx
lea eax, [ebx + edi + 0x12]
mov dword [esp + 0x38], edx
push 3
mov dword [esp + 0x40], edx
push eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x40]
mov dword [esp + 0x4c], edx
push eax
mov dword [esp + 0x54], edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator
xor edx, edx
lea eax, [ebx + edi + 0x16]
mov dword [esp + 0x38], edx
push 3
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
push ecx
mov dword [esp + 0x54], edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x38]
lea ecx, [esi + 0xc]
push edx
call sub.MFC42.DLL_CString::operator
push 3
lea eax, [ebx + edi + 0x19]
push 0x62b208
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x57949b
push str.ET_EXCHANGE
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
xor ecx, ecx
mov byte [esp + 0x4c], 0
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x51], ecx
mov dword [esp + 0x55], ecx
mov dword [esp + 0x59], ecx
mov word [esp + 0x5d], cx
mov byte [esp + 0x5f], cl
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea edx, [ebx + edi + 0x1c]
push 0xa
lea eax, [esp + 0x50]
push edx
push eax
mov byte [esp + 0x9c], 0xe
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x4c]
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, [esi + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ecx, [ebx + edi + 0x26]
mov dword [esp + 0x4c], eax
push 0xa
mov dword [esp + 0x54], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x58], eax
push ecx
mov dword [esp + 0x60], eax
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [esp + 0x4c]
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, [esi + 0x14]
call sub.MFC42.DLL_CString::operator_1
xor edx, edx
lea eax, [ebx + edi + 0x30]
mov dword [esp + 0x4c], edx
push 7
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], edx
push eax
mov dword [esp + 0x60], edx
push ecx
mov dword [esp + 0x68], edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x4c]
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]
push eax
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_1
xor ecx, ecx
lea edx, [ebx + edi + 0x3b]
mov dword [esp + 0x4c], ecx
push 6
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x58], ecx
push edx
mov dword [esp + 0x60], ecx
push eax
mov dword [esp + 0x68], ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x4c]
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, [esi + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ecx, [ebx + edi + 0x42]
mov dword [esp + 0x4c], eax
push 6
mov dword [esp + 0x54], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x58], eax
push ecx
mov dword [esp + 0x60], eax
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [esp + 0x4c]
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, [esi + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x10]
jmp 0x579687
push str.TKTT
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x61], edx
mov byte [esp + 0x60], 0
mov dword [esp + 0x65], edx
mov dword [esp + 0x69], edx
mov dword [esp + 0x6d], edx
mov word [esp + 0x71], dx
mov byte [esp + 0x73], dl
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebx + edi + 0x1c]
push 0xa
lea ecx, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x9c], 0xf
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x60]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea eax, [esp + 0x14]
lea ecx, [esi + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
xor ecx, ecx
lea edx, [ebx + edi + 0x26]
mov dword [esp + 0x60], ecx
push 0xa
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x64]
mov dword [esp + 0x6c], ecx
push edx
mov dword [esp + 0x74], ecx
push eax
mov dword [esp + 0x7c], ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 0x14]
lea ecx, [esi + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ecx, [ebx + edi + 0x30]
mov dword [esp + 0x60], eax
push 7
mov dword [esp + 0x68], eax
lea edx, [esp + 0x64]
mov dword [esp + 0x6c], eax
push ecx
mov dword [esp + 0x74], eax
push edx
mov dword [esp + 0x7c], eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [esp + 0x60]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_1
xor edx, edx
lea eax, [ebx + edi + 0x3b]
mov dword [esp + 0x60], edx
push 6
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], edx
push eax
mov dword [esp + 0x74], edx
push ecx
mov dword [esp + 0x7c], edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x60]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea eax, [esp + 0x14]
lea ecx, [esi + 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_1
xor ecx, ecx
lea edx, [ebx + edi + 0x42]
mov dword [esp + 0x60], ecx
push 5
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x64]
mov dword [esp + 0x6c], ecx
push edx
mov dword [esp + 0x74], ecx
push eax
mov dword [esp + 0x7c], ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 0x14]
lea ecx, [esi + 0x20]
push edx
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x4084]
mov eax, edx
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [ebp + 0x4080]
jne 0x5796db
test eax, eax
je 0x5796be
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x4080], 0
mov ecx, dword [ebp + 0x4080]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [ebp + 0x4088], eax
mov dword [ebp + 0x4084], eax
jmp 0x579eba
test eax, eax
jne 0x579723
mov eax, dword [esp + 0x20]
lea esi, [eax + 1]
lea edi, [esi*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 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 dword [ebp + 0x4088], esi
mov dword [ebp + 0x4084], esi
jmp 0x57981e
mov ecx, dword [ebp + 0x4088]
cmp dword [esp + 0x24], ecx
jg 0x579768
cmp dword [esp + 0x24], edx
jle 0x579750
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc ecx
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x4080]
lea eax, [edx + 1]
mov dword [ebp + 0x4084], eax
jmp 0x579eba
mov eax, dword [ebp + 0x408c]
test eax, eax
jne 0x579795
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x579789
mov eax, 4
jmp 0x579795
cmp eax, 0x400
jle 0x579795
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x24], eax
jl 0x5797a7
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x4084]
mov esi, dword [ebp + 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 + 0x2c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x4084]
lea esi, [ecx + 1]
mov ecx, esi
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x4080]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 0x4080], edx
mov dword [ebp + 0x4084], esi
mov dword [ebp + 0x4088], eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x98]
mov ecx, dword [ebp + 0x4080]
mov edx, dword [esp + 0x20]
jmp 0x579eba
push 0xa
lea eax, [ebx + edi + 0x11]
push str._ET_REFUND
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x579cc9
mov al, byte [ebp + 0x4078]
test al, al
jne 0x579ebd
push 0x30
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x90], 0x10
je 0x579930
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x90], 0x11
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x90], 0x12
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x90], 0x13
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x90], 0x14
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x90], 0x15
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x90], 0x16
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x90], 0x17
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x90], 0x18
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x90], 0x19
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x90], 0x1a
call sub.MFC42.DLL_CString::CString_1
mov byte [esi + 0x2c], 0
jmp 0x579932
xor esi, esi
xor eax, eax
push 0xe
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], eax
mov byte [esp + 0x94], 2
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [ebx + edi]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator
push str.ET_REFUND
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x75], eax
mov byte [esp + 0x74], 0
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov word [esp + 0x85], ax
mov byte [esp + 0x87], al
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebx + edi + 0x1c]
push 0xa
lea edx, [esp + 0x78]
push ecx
push edx
mov byte [esp + 0x9c], 0x1b
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_1
xor edx, edx
lea eax, [ebx + edi + 0x26]
mov dword [esp + 0x74], edx
push 0xa
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x80], edx
push eax
mov dword [esp + 0x88], edx
push ecx
mov dword [esp + 0x90], edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x74]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea eax, [esp + 0x18]
lea ecx, [esi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
lea edx, [ebx + edi + 0x30]
push 7
lea eax, [esp + 0x78]
mov dword [esp + 0x84], ecx
push edx
push eax
mov dword [esp + 0x90], ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 0x18]
lea ecx, [esi + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ecx, [ebx + edi + 0x42]
mov dword [esp + 0x74], eax
push 5
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x78]
mov dword [esp + 0x80], eax
push ecx
mov dword [esp + 0x88], eax
push edx
mov dword [esp + 0x90], eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp + 0x4084]
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [ebp + 0x4080]
jne 0x579b62
test eax, eax
je 0x579b4f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x4080], 0
xor eax, eax
mov dword [ebp + 0x4088], eax
mov dword [ebp + 0x4084], eax
jmp 0x579ca6
test eax, eax
jne 0x579baa
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
lea edi, [esi*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 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 dword [ebp + 0x4088], esi
mov dword [ebp + 0x4084], esi
jmp 0x579c9b
mov ecx, dword [ebp + 0x4088]
cmp dword [esp + 0x24], ecx
jg 0x579be7
cmp dword [esp + 0x24], edx
jle 0x579bd5
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc ecx
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [ebp + 0x4084], eax
jmp 0x579ca6
mov eax, dword [ebp + 0x408c]
test eax, eax
jne 0x579c14
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x579c08
mov eax, 4
jmp 0x579c14
cmp eax, 0x400
jle 0x579c14
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x24], eax
jl 0x579c26
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x4084]
mov esi, dword [ebp + 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 + 0x2c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x4084]
lea esi, [ecx + 1]
lea edi, [eax + edx*4]
mov ecx, esi
xor eax, eax
sub ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x4080]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 0x4080], edx
mov dword [ebp + 0x4084], esi
mov dword [ebp + 0x4088], eax
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x4080]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x90], 2
mov dword [ecx + edx*4], esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
jmp 0x579ebd
push 7
lea eax, [ebx + edi + 0x11]
push str.__VOID
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x579ec0
mov dword [esp + 0x38], eax
push 0xe
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [ebx + edi]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator
push str.VOID
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp + 0x4084]
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [ebp + 0x4080]
jne 0x579d6c
test eax, eax
je 0x579d59
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x4080], 0
xor eax, eax
mov dword [ebp + 0x4088], eax
mov dword [ebp + 0x4084], eax
jmp 0x579eb0
test eax, eax
jne 0x579db4
mov eax, dword [esp + 0x20]
lea esi, [eax + 1]
lea edi, [esi*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 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 dword [ebp + 0x4088], esi
mov dword [ebp + 0x4084], esi
jmp 0x579ea5
mov ecx, dword [ebp + 0x4088]
cmp dword [esp + 0x24], ecx
jg 0x579df1
cmp dword [esp + 0x24], edx
jle 0x579ddf
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc ecx
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [ebp + 0x4084], eax
jmp 0x579eb0
mov eax, dword [ebp + 0x408c]
test eax, eax
jne 0x579e1e
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x579e12
mov eax, 4
jmp 0x579e1e
cmp eax, 0x400
jle 0x579e1e
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x24], eax
jl 0x579e30
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x4084]
mov esi, dword [ebp + 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 + 0x2c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x4084]
lea esi, [ecx + 1]
lea edi, [eax + edx*4]
mov ecx, esi
xor eax, eax
sub ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x4080]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 0x4080], edx
mov dword [ebp + 0x4084], esi
mov dword [ebp + 0x4088], eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x98]
mov ecx, dword [ebp + 0x4080]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], esi
add ebx, 0x44
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x9c]
inc ebx
cmp ebx, eax
jl 0x578f14
mov al, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 8