Function at 0x40490c
Capabilities:
Check for time delay via gettickcount
Check http status code
Check internet connectivity via wininet
Create directory
Create http request
Download and write a file
Get common file path
Get http content length
Print debug messages
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f515
mov eax, dword fs:[0]
push eax
mov eax, 0x10864
call fcn.0040f1c0
mov eax, dword [0x416020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x824], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x828], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor edi, edi
lea ecx, [ebp - 0x7dc]
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x788]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x7c0]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp byte [ebp + 0x10], 0
mov byte [ebp - 4], 4
jne 0x4049b7
push edi
push edi
push 0x4e20
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp - 0x824]
lea ecx, [ebp - 0x7dc]
call dword [sym.imp.MSVCP80.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 eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea ecx, [ebp - 0x7dc]
push 0x2f
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char__unsigned_int_const]
mov ecx, dword [ebp - 0x7c8]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea eax, [ebp - 0x7a4]
push eax
lea ecx, [ebp - 0x7dc]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x7dc]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.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, [ebp - 0x7a4]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x105
lea eax, [ebx + 0x212]
push edi
push eax
mov dword [ebp - 0x82c], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, edi
mov dword [ebp - 0x818], edi
je 0x404ae3
push esi
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP80.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__]
cmp dword [ebp - 0x770], 0x10
mov eax, dword [ebp - 0x784]
jae 0x404a69
lea eax, [ebp - 0x784]
cmp byte [eax], 0x5c
jne 0x404aac
mov eax, dword [ebp - 0x774]
dec eax
push eax
push 1
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x788]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP80.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, [ebp - 0x86c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x770], 0x10
mov eax, dword [ebp - 0x784]
jae 0x404ac1
lea eax, [ebp - 0x784]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x76c]
push 0x411f80
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x76c]
jmp 0x404b52
lea eax, [ebp - 0x15c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, edi
je 0x4051fc
cmp eax, esi
ja 0x4051fc
mov byte [ebp + eax - 0x15b], 0
lea eax, [ebp - 0x36c]
push eax
push edi
push 0x411ff8
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x404b4c
push 0x411fe0
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x818], 1
jmp 0x40522f
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x7f8]
call dword [sym.imp.MSVCP80.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, [ebp - 0x7f8]
push eax
lea ecx, [ebp - 0x7c0]
call dword [sym.imp.MSVCP80.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 [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea ecx, [ebp - 0x7c0]
push 0x5c
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char__unsigned_int_const]
mov esi, eax
lea eax, [ebp - 0x7c0]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP80.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 [ebp - 0x774]
sub eax, esi
dec eax
push eax
inc esi
push esi
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x7c0]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.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, [ebp - 0x86c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x7f8]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP80.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 ecx, dword [ebp - 0x828]
lea eax, [ebp - 0x788]
push eax
call dword [sym.imp.MSVCP80.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 edi
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
push 0x40
lea eax, [ebp - 0x54]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x54]
push str.Agent_ld
push eax
call esi
add esp, 0xc
test byte [ebp - 0x84c], 4
push edi
push edi
lea eax, [ebp - 0x54]
push edi
jne 0x404c4d
push 4
jmp 0x404c4e
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, edi
mov dword [ebp - 0x81c], eax
jne 0x404c81
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetOpen
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], eax
call esi
add esp, 0xc
jmp 0x404b3d
cmp dword [ebp - 0x770], 0x10
mov eax, dword [ebp - 0x784]
jae 0x404c96
lea eax, [ebp - 0x784]
push 0x4120d8
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp - 0x820], esi
jne 0x404cd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x7a8], 0x10
mov eax, dword [ebp - 0x7bc]
jae 0x404ccb
lea eax, [ebp - 0x7bc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x404c81
push esi
call dword [sym.imp.MSVCR80.dll__fileno]
push eax
call dword [sym.imp.MSVCR80.dll__filelength]
pop ecx
pop ecx
push str.Accept:___r_n_r_n
lea ecx, [ebp - 0x7a4]
mov dword [ebp - 0x838], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.Pragma:_no_cache_r_n_r_n
lea ecx, [ebp - 0x7a4]
mov byte [ebp - 4], 8
call dword [0x4111c4]
push str.Cache_Control:_no_cache_r_n_r_n
lea ecx, [ebp - 0x7a4]
call dword [0x4111c4]
push str.Connection:Keep_Alive_r_n_r_n
lea ecx, [ebp - 0x7a4]
call dword [0x4111c4]
push 0x103
lea eax, [ebp - 0x263]
push edi
push eax
mov byte [ebp - 0x264], 0
call sub.MSVCR80.dll_memset
push dword [ebp - 0x838]
lea eax, [ebp - 0x264]
push str.Range:_bytes_d__r_n_r_n
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x7a4]
call dword [0x4111c4]
cmp byte [ebx + 0x317], 0
je 0x404db6
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
push dword [ebp - 0x81c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x7a4]
mov dword [ebp - 0x818], 1
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x40522f
cmp dword [ebp - 0x78c], 0x10
mov esi, dword [ebp - 0x7a0]
mov eax, esi
jae 0x404dcf
lea eax, [ebp - 0x7a0]
mov esi, eax
push edi
push 0x84000100
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [ebp - 0x824]
push dword [ebp - 0x81c]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x834], esi
jne 0x404e9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x820]
mov dword [ebp - 0x830], eax
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
push dword [ebp - 0x81c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x754]
push eax
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x828], 0x3e7
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
test eax, eax
je 0x404e78
push 0x4118b8
lea eax, [ebp - 0x754]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x404e78
lea eax, [ebp - 0x754]
push eax
push dword [ebp - 0x824]
push 0x412030
jmp 0x404e89
push dword [ebp - 0x830]
push dword [ebp - 0x824]
push str.InternetOpenUrl
push dword [ebp - 0x82c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x404d97
cmp byte [ebx + 0x317], 0
push 4
pop eax
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x848], eax
je 0x404ed8
push dword [ebp - 0x820]
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x81c]
call esi
jmp 0x404d97
push edi
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x844]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x404eb5
mov eax, dword [ebp - 0x844]
cmp eax, 0x194
je 0x404eb5
cmp eax, 0x1a0
jne 0x404f4a
push dword [ebp - 0x820]
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x81c]
call esi
lea ecx, [ebp - 0x7a4]
mov dword [ebp - 0x818], edi
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x40521f
cmp eax, 0xc8
mov edi, dword [sym.imp.MSVCR80.dll_fclose]
je 0x404f90
cmp eax, 0xce
je 0x404f90
push dword [ebp - 0x820]
call edi
cmp dword [ebp - 0x770], 0x10
mov eax, dword [ebp - 0x784]
pop ecx
jae 0x404f7c
lea eax, [ebp - 0x784]
push 0x412088
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x820], eax
push 0
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x83c]
push eax
push 0x20000005
push dword [ebp - 0x834]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp byte [ebx + 0x317], 0
je 0x404fce
push dword [ebp - 0x820]
call edi
pop ecx
push dword [ebp - 0x834]
jmp 0x404ec3
push 0x10000
lea eax, [ebp - 0x1086c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x828], eax
mov eax, dword [ebp - 0x838]
add dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
jmp 0x40510e
lea eax, [ebp - 0x840]
push eax
push 0x10000
lea eax, [ebp - 0x1086c]
push eax
push dword [ebp - 0x834]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x405139
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x828]
cmp ecx, 0x32
jbe 0x40504d
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x840], 0
je 0x4051cf
push dword [ebp - 0x820]
lea eax, [ebp - 0x1086c]
push 1
push dword [ebp - 0x840]
push eax
call dword [sym.imp.MSVCR80.dll_fwrite]
mov eax, dword [ebp - 0x838]
add eax, dword [ebp - 0x840]
mov ecx, dword [ebp - 0x83c]
add esp, 0x10
xor edx, edx
cmp ecx, 0x100000
mov dword [ebp - 0x838], eax
jbe 0x4050a0
shr eax, 0xa
shr ecx, 0xa
imul eax, eax, 0x64
div ecx
push eax
push 0
push 0x4e20
push dword [ebx]
mov dword [ebp - 0x824], eax
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp - 0x824]
push str.cur_progress__d_n
call dword [sym.imp.MSVCR80.dll_printf]
push 0x103
lea eax, [ebp - 0x15b]
push 0
push eax
mov byte [ebp - 0x15c], 0
call sub.MSVCR80.dll_memset
push dword [ebp - 0x824]
lea eax, [ebp - 0x15c]
push str.online_log_cur_progress__d_n
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x20
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [ebx + 0x317], 0
je 0x40500d
push dword [ebp - 0x820]
call edi
pop ecx
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x81c]
call esi
jmp 0x4051c5
push dword [ebp - 0x820]
call edi
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x834]
mov dword [ebp - 0x830], eax
call esi
push dword [ebp - 0x81c]
call esi
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x754]
push eax
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x828], 0x3e7
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
test eax, eax
je 0x4051ab
push 0x4118b8
lea eax, [ebp - 0x754]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4051ab
lea eax, [ebp - 0x754]
push eax
push 0x41208c
jmp 0x4051b6
push dword [ebp - 0x830]
push 0x4120b4
push dword [ebp - 0x82c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x818], 1
push dword [ebp - 0x820]
call edi
pop ecx
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x81c]
call esi
lea ecx, [ebp - 0x7a4]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor edi, edi
jmp 0x405217
push 0x411fe0
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x818], 1
cmp dword [ebp - 0x818], edi
jne 0x40522f
push 0x64
push edi
push 0x4e20
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x7c0]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x788]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x7dc]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e876
leave
ret 0xc