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

Disassembly:
push 0xffffffffffffffff
push 0x5c2aaf
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 0x57cd1b
push 0x6309b4
call fcn.004eb640
add esp, 4
mov dword [ebp + 0x28], eax
xor al, al
jmp 0x57ddd6
cmp dword [ebp + 0x405c], 2
jne 0x57cdf3
push str.CAAC__MIS
push edi
call esi
add esp, 8
cmp eax, ebx
jne 0x57cdf3
push str.DEVICE
push edi
call esi
add esp, 8
cmp eax, ebx
je 0x57cd61
push str.DEVICE
call fcn.004eb640
add esp, 4
mov dword [ebp + 0x28], eax
xor al, al
jmp 0x57ddd6
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 0x57cdb3
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.004eb730
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 0x57ddd6
mov eax, dword [esp + 0x9c]
cmp eax, ebx
jle 0x57ddd4
jmp 0x57ce0b
mov eax, dword [esp + 0x9c]
lea ecx, [eax - 0x14]
cmp ebx, ecx
jle 0x57ce18
cmp byte [ebx + edi], 0x26
je 0x57cdec
add eax, 0xffffffba
cmp ebx, eax
jge 0x57ddc4
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 0x57cdec
mov edi, dword [esp + 0x98]
cmp ebx, eax
jge 0x57ddc4
mov al, byte [ebx + edi]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov cl, byte [ebx + edi + 1]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov dl, byte [ebx + edi + 2]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
cmp byte [ebx + edi + 3], 0x2d
jne 0x57ddc4
mov al, byte [ebx + edi + 4]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov cl, byte [ebx + edi + 5]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov dl, byte [ebx + edi + 6]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov al, byte [ebx + edi + 7]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov cl, byte [ebx + edi + 8]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov dl, byte [ebx + edi + 9]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov al, byte [ebx + edi + 0xa]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov cl, byte [ebx + edi + 0xb]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov dl, byte [ebx + edi + 0xc]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
mov al, byte [ebx + edi + 0xd]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x57ddc4
cmp byte [ebx + edi + 0xe], 0x20
jne 0x57ddc4
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 0x57d073
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 0x57d075
xor esi, esi
mov al, byte [ebx + edi + 0x11]
mov dword [esp + 0x1c], esi
cmp al, 0x20
mov byte [esp + 0x90], 2
jne 0x57d728
mov dl, byte [ebx + edi + 0x12]
push edx
call fcn.004edd60
add esp, 4
test al, al
je 0x57d728
mov al, byte [ebx + edi + 0x13]
push eax
call fcn.004edd60
add esp, 4
test al, al
je 0x57d728
mov cl, byte [ebx + edi + 0x14]
push ecx
call fcn.004edd60
add esp, 4
test al, al
je 0x57d728
cmp byte [ebx + edi + 0x15], 0x20
jne 0x57d728
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 0x630994
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x57d38b
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 0x57d577
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 + 0x4088]
mov eax, edx
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [ebp + 0x4084]
jne 0x57d5cb
test eax, eax
je 0x57d5ae
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x4084], 0
mov ecx, dword [ebp + 0x4084]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [ebp + 0x408c], eax
mov dword [ebp + 0x4088], eax
jmp 0x57ddaa
test eax, eax
jne 0x57d613
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 + 0x4084], 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 + 0x408c], esi
mov dword [ebp + 0x4088], esi
jmp 0x57d70e
mov ecx, dword [ebp + 0x408c]
cmp dword [esp + 0x24], ecx
jg 0x57d658
cmp dword [esp + 0x24], edx
jle 0x57d640
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 + 0x4084]
lea eax, [edx + 1]
mov dword [ebp + 0x4088], eax
jmp 0x57ddaa
mov eax, dword [ebp + 0x4090]
test eax, eax
jne 0x57d685
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x57d679
mov eax, 4
jmp 0x57d685
cmp eax, 0x400
jle 0x57d685
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x24], eax
jl 0x57d697
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 + 0x4088]
mov esi, dword [ebp + 0x4084]
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 + 0x4088]
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 + 0x4084]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 0x4084], edx
mov dword [ebp + 0x4088], esi
mov dword [ebp + 0x408c], eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x98]
mov ecx, dword [ebp + 0x4084]
mov edx, dword [esp + 0x20]
jmp 0x57ddaa
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 0x57dbb9
mov al, byte [ebp + 0x407c]
test al, al
jne 0x57ddad
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 0x57d820
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 0x57d822
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 + 0x4088]
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [ebp + 0x4084]
jne 0x57da52
test eax, eax
je 0x57da3f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x4084], 0
xor eax, eax
mov dword [ebp + 0x408c], eax
mov dword [ebp + 0x4088], eax
jmp 0x57db96
test eax, eax
jne 0x57da9a
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 + 0x4084], 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 + 0x408c], esi
mov dword [ebp + 0x4088], esi
jmp 0x57db8b
mov ecx, dword [ebp + 0x408c]
cmp dword [esp + 0x24], ecx
jg 0x57dad7
cmp dword [esp + 0x24], edx
jle 0x57dac5
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 + 0x4088], eax
jmp 0x57db96
mov eax, dword [ebp + 0x4090]
test eax, eax
jne 0x57db04
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x57daf8
mov eax, 4
jmp 0x57db04
cmp eax, 0x400
jle 0x57db04
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x24], eax
jl 0x57db16
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 + 0x4088]
mov esi, dword [ebp + 0x4084]
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 + 0x4088]
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 + 0x4084]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 0x4084], edx
mov dword [ebp + 0x4088], esi
mov dword [ebp + 0x408c], eax
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x4084]
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 0x57ddad
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 0x57ddb0
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 + 0x4088]
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [ebp + 0x4084]
jne 0x57dc5c
test eax, eax
je 0x57dc49
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x4084], 0
xor eax, eax
mov dword [ebp + 0x408c], eax
mov dword [ebp + 0x4088], eax
jmp 0x57dda0
test eax, eax
jne 0x57dca4
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 + 0x4084], 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 + 0x408c], esi
mov dword [ebp + 0x4088], esi
jmp 0x57dd95
mov ecx, dword [ebp + 0x408c]
cmp dword [esp + 0x24], ecx
jg 0x57dce1
cmp dword [esp + 0x24], edx
jle 0x57dccf
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 + 0x4088], eax
jmp 0x57dda0
mov eax, dword [ebp + 0x4090]
test eax, eax
jne 0x57dd0e
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x57dd02
mov eax, 4
jmp 0x57dd0e
cmp eax, 0x400
jle 0x57dd0e
mov eax, 0x400
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x24], eax
jl 0x57dd20
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 + 0x4088]
mov esi, dword [ebp + 0x4084]
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 + 0x4088]
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 + 0x4084]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp + 0x4084], edx
mov dword [ebp + 0x4088], esi
mov dword [ebp + 0x408c], eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x98]
mov ecx, dword [ebp + 0x4084]
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 0x57ce04
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