Function at 0x42ffe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, sym.___gxx_personality_sj0
mov ebp, esp
push edi
mov edi, 0x5203f2
lea edx, [ebp - 0x14c]
push esi
lea esi, [ebp - 0x18]
push ebx
sub esp, 0x19c
mov ebx, 0x4303f0
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], esp
mov dword [esp], edx
call sym.__Unwind_SjLj_Register
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add ecx, 0xa
mov dword [ebp - 0x158], ecx
add eax, 0x2a
test byte [ecx + 0x11], 0x80
mov dword [ebp - 0x15c], eax
je 0x430177
mov edx, dword [ebp - 0x154]
mov ebx, dword [edx + 0xa8]
mov dword [ebp - 0x150], ebx
jmp 0x43009b
mov ebx, dword [ebp - 0x154]
mov ecx, 0xffffffff
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
mov dword [ebp - 0x148], ecx
call sym.operator_new___unsigned_int_
mov edi, dword [ebp - 0x154]
mov dword [edi + 0xa4], eax
mov ebx, dword [ebp - 0x158]
lea ecx, [ebp - 0x150]
mov edi, dword [ebp - 0x154]
mov edx, dword [ebx + 0x1c]
mov eax, ebx
add eax, 0x20
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov edx, 0xffffffff
mov dword [esp + 4], ecx
mov esi, dword [edi + 0xa4]
mov dword [esp], esi
mov dword [ebp - 0x148], edx
call sym._uncompress
test eax, eax
je 0x430105
mov esi, dword [ebp - 0x154]
mov eax, dword [esi + 0xa4]
shl dword [esi + 0xa8], 1
test eax, eax
je 0x430070
mov dword [esp], eax
call sym.operator_delete___void_
jmp 0x430070
mov edi, dword [ebp - 0x154]
mov esi, dword [edi + 0xa4]
mov dword [ebp - 0x15c], esi
mov eax, dword [ebp - 0x158]
mov ecx, 0xffffffff
add eax, 2
mov dword [ebp - 0x160], eax
mov dword [esp + 4], eax
mov dword [esp], str.MK_VT.txt
mov dword [ebp - 0x148], ecx
call sym._stricmp
test eax, eax
je 0x4301b2
cld
mov edi, dword [ebp - 0x160]
mov ecx, 3
mov esi, 0x532dd3
repe cmpsb byte [esi], byte es:[edi]
je 0x430330
lea esi, [ebp - 0x14c]
mov dword [esp], esi
call sym.__Unwind_SjLj_Unregister
add esp, 0x19c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x158]
mov ecx, 0xffffffff
mov ebx, dword [ebp - 0x154]
mov esi, dword [edi + 0x18]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x15c]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0xa4]
mov dword [esp], eax
mov dword [ebp - 0x148], ecx
call sym._memmove
jmp 0x430117
mov edi, dword [ebp - 0x154]
xor eax, eax
mov ecx, 0x532dc5
mov dword [esp + 8], ecx
lea ebx, [ebp - 0x118]
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x118]
mov dword [esp + 0xc], eax
movzx esi, word [edi]
mov dword [esp], 0x5631e0
mov dword [esp + 4], esi
call method.c_HQserver.makeDataFilePath_unsigned_short__char_const__char_const__char_
mov dword [esp], ebx
xor edx, edx
mov dword [esp + 4], edx
call sym.os_access_char_const__int_
test eax, eax
js 0x430426
lea edi, [ebp - 0x118]
mov ebx, dword [ebp - 0x154]
mov edx, 0x532dc5
mov dword [esp + 0x10], edi
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x160]
mov dword [esp + 8], edx
mov edi, 0x532dd7
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x118]
movzx eax, word [ebx]
mov dword [esp], 0x5631e0
mov dword [esp + 4], eax
mov dword [ebp - 0x148], ecx
call method.c_HQserver.makeDataFilePath_unsigned_short__char_const__char_const__char_
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._fopen
mov dword [ebp - 0x164], eax
test eax, eax
je 0x430298
mov dword [esp + 0xc], eax
mov esi, 1
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x158]
mov ebx, dword [edx + 0x18]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x15c]
mov dword [esp], eax
call sym._fwrite
mov ecx, dword [ebp - 0x164]
mov dword [esp], ecx
call sym._fclose
mov ecx, dword [ebp - 0x154]
mov edi, dword [ecx + 0x60]
test edi, edi
jne 0x4302e4
mov dword [esp], 0xe0
mov ebx, 0xffffffff
mov dword [ebp - 0x148], ebx
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x168], eax
mov dword [esp], eax
mov eax, 1
mov dword [ebp - 0x148], eax
call method.c_MarkInterOpen.c_MarkInterOpen__
mov eax, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x154]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x158]
mov edx, 0xffffffff
mov edi, dword [ebp - 0x154]
mov ebx, dword [eax + 0x18]
mov dword [esp + 8], ebx
mov ecx, dword [ebp - 0x15c]
mov dword [esp + 4], ecx
mov esi, dword [edi + 0x60]
mov dword [esp], esi
lea esi, [ebp - 0x14c]
mov dword [ebp - 0x148], edx
call method.c_MarkInterOpen.setfilebuff_char__int_
mov dword [esp], esi
call sym.__Unwind_SjLj_Unregister
add esp, 0x19c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x158]
add edx, 5
mov dword [esp], edx
call sym._atol
cmp eax, 0x22c5
jne 0x43015e
mov edi, dword [ebp + 0xc]
mov esi, 0xffffffff
movzx ebx, byte [edi + 6]
movzx edx, word [edi + 4]
shl ebx, 0x10
lea ecx, [edx + ebx + 0xa]
mov dword [ebp - 0x170], ecx
mov dword [esp], ecx
mov dword [ebp - 0x148], esi
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x170]
mov edi, dword [eax + 0x1e0]
mov dword [ebp - 0x178], edi
mov dword [esp + 8], ebx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call sym._memmove
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x154]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1e0], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call method.c_Market.sendDataToPush_char_
mov ebx, dword [ebp - 0x178]
test ebx, ebx
je 0x43015e
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call sym.operator_delete___void_
jmp 0x43015e
lea edx, [ebp - 0x118]
mov dword [esp], edx
call sym.os_mkdir_char_const_
jmp 0x430200