Function at 0x42839a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x4470ea
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x2dc
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 0x2c], esi
jne 0x4283c0
xor eax, eax
jmp 0x428a9f
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x2e6]
mov word [ebp - 0x2e8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0xc4]
cmp eax, ebx
jne 0x4283e7
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x2e8]
push 0x104
push ecx
push eax
mov ecx, esi
call fcn.00429114
lea eax, [ebp - 0x2e8]
push ebx
push eax
call fcn.0040df01
cmp dword [ebp + 0xc], ebx
pop ecx
pop ecx
jne 0x428416
push str.gamerecord.txt
jmp 0x42841b
push str.webgamerecord.txt
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xbc], esi
call fcn.00427bb2
mov dword [ebp - 0xb8], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x428a91
push ebx
push ebx
push 4
push ebx
push 3
lea eax, [ebp - 0x2e8]
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0xc0], edi
cmp edi, 0xffffffff
mov byte [ebp - 4], 1
je 0x428a76
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x4284c4
lea eax, [esi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x4284c4
lea eax, [esi + 1]
push eax
push ebx
push dword [ebp - 0x14]
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push ebx
push eax
push esi
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
mov byte [eax + esi], bl
jmp 0x4284d5
push 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x4284d5
mov byte [eax], bl
lea eax, [ebp + 0xf]
lea ecx, [ebp - 0x90]
push eax
call fcn.0042a7e2
push 0x45b774
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x428594
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x428589
cmp dword [ebp - 0x10], ebx
jne 0x428517
xor edi, edi
jmp 0x428544
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042d380
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov word [edi], bx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x90]
push eax
mov byte [ebp - 4], 3
call fcn.0042a858
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x45b774
push ebx
jmp 0x4284f0
cmp dword [ebp - 0x14], ebx
je 0x4285a2
push dword [ebp - 0x14]
call fcn.0042c9ee
pop ecx
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, dword [ebp - 0x74]
je 0x42865d
push dword [ebp + 8]
inc dword [ebp - 0x10]
mov esi, dword [ebp - 0x38]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
mov ecx, esi
push dword [ebp + 8]
push dword [esi + 8]
push ebx
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::compare_unsigned_int__unsigned_int__unsigned_short_int_const___unsigned_int_const]
cmp eax, ebx
je 0x4285f7
lea ecx, [ebp - 0x40]
call fcn.0042a8ad
mov eax, dword [ebp - 0x38]
jmp 0x4285bd
push dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
call fcn.00426903
cmp eax, ebx
je 0x42860f
cmp dword [eax + 8], ebx
jne 0x4287e5
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], eax
movsd dword es:[edi], dword [esi]
call fcn.0042c5d3
sub esp, 0x10
lea esi, [ebp - 0x50]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x60]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x90]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0042b01d
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea ecx, [ebp - 0x28]
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x90]
push eax
mov byte [ebp - 4], 4
call fcn.0042a826
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
mov dword [ebp - 0x10], eax
jle 0x4287e8
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042c5d3
mov eax, dword [ebp - 0x48]
push ebx
mov esi, eax
lea ecx, [ebp - 0x28]
mov al, byte [eax]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [ebp - 0x28]
push dword [eax]
push ebx
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x428705
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00426903
cmp eax, ebx
je 0x4287c7
cmp dword [eax + 8], ebx
je 0x4287c7
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x428730
cmp dword [ebp - 0x14], eax
jg 0x4287c7
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec eax
push eax
movsd dword es:[edi], dword [esi]
call fcn.0042c5d3
lea esi, [ebp - 0xe0]
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
lea ecx, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042c5d3
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, dword [ebp - 0xc8]
push dword [eax]
push ebx
push dword [ebp - 0x9c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec eax
push eax
movsd dword es:[edi], dword [esi]
call fcn.0042c5d3
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, dword [ebp - 0x58]
push dword [eax]
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x4286b7
mov eax, dword [ebp - 0x64]
cmp eax, 0xa
jbe 0x4288d2
lea esi, [ebp - 0x7c]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xfffffff6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x74]
movsd dword es:[edi], dword [esi]
cmp eax, dword [ebp - 0x84]
je 0x4288d2
cmp dword [ebp - 0x10], ebx
je 0x4288d2
lea ecx, [ebp - 0x28]
call fcn.0042b379
mov eax, dword [ebp - 0x20]
dec dword [ebp - 0x10]
mov esi, eax
push ebx
mov al, byte [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x50], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [ebp - 0x50]
push dword [eax]
push ebx
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 6
cmp eax, ebx
jne 0x42885a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00428ab6
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea ecx, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
call fcn.0042c5d3
sub esp, 0x10
lea esi, [ebp - 0x60]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x90]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0042b01d
lea esi, [ebp - 0x7c]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea ecx, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp - 0x20]
jmp 0x428804
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebp + 0xb]
push ebx
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xb4], al
movsd dword es:[edi], dword [esi]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, 0x45d0f4
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x74]
je 0x4289c5
push dword [ebp + 8]
inc dword [ebp - 0x10]
mov esi, eax
call edi
pop ecx
push eax
mov ecx, esi
push dword [ebp + 8]
push dword [esi + 8]
push ebx
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::compare_unsigned_int__unsigned_int__unsigned_short_int_const___unsigned_int_const]
cmp eax, ebx
jne 0x428951
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x38]
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
push 0x45b004
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 8
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x18
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [ebp - 4], 9
push dword [ecx]
lea ecx, [ebp - 0xb4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [ebp - 0x40]
call fcn.0042a8ad
jmp 0x428920
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
jne 0x4289d4
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4289df
xor edi, edi
jmp 0x428a0d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0042d380
mov edi, esp
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [edi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
mov dword [ebp - 0x94], ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x94]
push ebx
push eax
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x18]
push 1
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x64], ebx
je 0x428a70
lea ecx, [ebp - 0x90]
call fcn.0042aff3
jmp 0x428a5e
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
cmp edi, 0xffffffff
mov byte [ebp - 4], bl
je 0x428a85
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x428a91
mov ecx, esi
call fcn.004291f8
lea ecx, [ebp - 0xbc]
call fcn.00427bf0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x2f4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8