Function at 0x403aad
Capabilities:
Create directory
Delete directory
Delete file
Get common file path
Initialize winhttp library
Prepare http request
Receive http response
Write file on windows

Disassembly:
push 0x90c
mov eax, 0x42b56b
call fcn.004155ac
xor ebx, ebx
push 0x42ec34
lea esi, [ebp - 0x854]
mov edi, ecx
mov dword [ebp - 0x874], ebx
call fcn.0040209b
mov dword [ebp - 4], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x404bfb
mov eax, dword [eax + 0x10]
xor esi, esi
inc esi
sub esp, 0x1c
mov dword [ebp - 0x888], esp
cmp eax, esi
jne 0x403b9c
mov eax, esp
push 0x640
push eax
call fcn.0040d24d
pop ecx
pop ecx
push ebx
call fcn.0040cf44
mov eax, dword [edi]
add esp, 0x20
cmp byte [eax + 0x38], bl
je 0x403b30
lea ecx, [ebp - 0x910]
call fcn.004039cf
mov byte [ebp - 4], 1
mov dword [ebp - 0x874], esi
jmp 0x403b4c
push 0x42f6f8
lea esi, [ebp - 0x870]
call fcn.0040209b
push 2
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x874], ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x854]
push ecx
xor ebx, ebx
call fcn.0040233a
test byte [ebp - 0x874], 2
je 0x403b7a
and dword [ebp - 0x874], 0xfffffffd
push ebx
push 1
lea esi, [ebp - 0x870]
call fcn.004023e7
mov dword [ebp - 4], ebx
test byte [ebp - 0x874], 1
je 0x403b94
push ebx
push 1
lea esi, [ebp - 0x910]
call fcn.004023e7
xor edi, edi
inc edi
jmp 0x403c4e
cmp eax, 2
mov eax, esp
jne 0x404be0
push 0x641
push eax
call fcn.0040d24d
pop ecx
pop ecx
push ebx
call fcn.0040cf44
mov eax, dword [edi]
add esp, 0x20
cmp byte [eax + 0x38], bl
je 0x403bdf
lea ecx, [ebp - 0x870]
call fcn.004039cf
mov byte [ebp - 4], 3
mov dword [ebp - 0x874], 4
jmp 0x403c00
push str._pub_flashplayer_update_current_sau_11_install_install_all_win_pl_sgn.z
lea esi, [ebp - 0x910]
call fcn.0040209b
mov dword [ebp - 4], 4
mov dword [ebp - 0x874], 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x854]
push ecx
xor ebx, ebx
call fcn.0040233a
test byte [ebp - 0x874], 8
je 0x403c2e
and dword [ebp - 0x874], 0xfffffff7
push ebx
push 1
lea esi, [ebp - 0x910]
call fcn.004023e7
and dword [ebp - 4], ebx
test byte [ebp - 0x874], 4
je 0x403c49
push 0
push 1
lea esi, [ebp - 0x870]
call fcn.004023e7
xor edi, edi
inc edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.Download_Flash_Player_Installer_1.0
mov dword [ebp - 0x894], ebx
mov dword [ebp - 0x8ec], ebx
mov dword [ebp - 0x878], ebx
mov dword [ebp - 0x87c], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x8f0], 0x36ee80
cmp eax, ebx
je 0x404b91
push 4
lea ecx, [ebp - 0x8f0]
push ecx
push 6
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x910]
call fcn.0040876d
cmp dword [eax + 0x18], 8
jb 0x403cb5
mov eax, dword [eax + 4]
jmp 0x403cb8
add eax, 4
push ebx
push 0x50
push eax
push dword [ebp - 0x874]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push ebx
push edi
lea esi, [ebp - 0x910]
mov dword [ebp - 0x878], eax
call fcn.004023e7
cmp dword [ebp - 0x878], ebx
je 0x404b91
cmp dword [ebp - 0x83c], 8
mov eax, dword [ebp - 0x850]
jae 0x403cfc
lea eax, [ebp - 0x850]
push ebx
push ebx
push ebx
push ebx
push eax
push 0x42ebb0
push dword [ebp - 0x878]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x87c], esi
cmp esi, ebx
je 0x404b91
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, ebx
je 0x404b91
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, ebx
je 0x404b91
lea eax, [ebp - 0x428]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x888], ebx
mov dword [ebp - 0x880], ebx
mov dword [ebp - 0x88c], ebx
mov dword [ebp - 0x890], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
ja 0x404b48
cmp eax, ebx
je 0x404b48
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
cmp eax, ebx
jl 0x403e0d
push esi
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, ebx
mov dword [ebp - 0x890], eax
jle 0x403de0
push 0xffffffffffffffff
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.004134cd
push 0xffffffffffffffff
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004133fa
jmp 0x403dfe
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x884], esp
push 0x591
push eax
call fcn.0040d24d
pop ecx
pop ecx
push edi
call fcn.0040cf44
add esp, 0x20
cmp dword [ebp - 0x890], ebx
jg 0x403f9e
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x88c], esp
push 0x592
push eax
call fcn.0040d24d
pop ecx
pop ecx
push edi
call fcn.0040cf44
add esp, 0x20
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x42f860
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x88c], eax
cmp eax, ebx
jne 0x403f03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4b3
push eax
mov byte [ebp - 4], 8
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8cc]
push eax
mov byte [ebp - 4], 9
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x880], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
lea esi, [ebp - 0x8e8]
push ebx
push edi
call fcn.004023e7
push dword [ebp - 0x87c]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x878]
call esi
push dword [ebp - 0x874]
call esi
push ebx
push edi
jmp 0x404bfe
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403f9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4b5
push eax
mov byte [ebp - 4], 0xb
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0xc
call fcn.00402a83
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x880], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
lea esi, [ebp - 0x8cc]
jmp 0x403ed7
push 0xffffffffffffffff
push 0x42f6f4
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004134cd
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x630]
push esi
push eax
call fcn.004133fa
push 0xffffffffffffffff
push str.fpi.tmp
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004134cd
add esp, 0x30
push ebx
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40403a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4b6
push eax
mov byte [ebp - 4], 0xe
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402a83
mov byte [ebp - 4], 0x10
jmp 0x403f5c
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x884], eax
cmp eax, 0xffffffff
jne 0x4040aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4b7
push eax
mov byte [ebp - 4], 0x11
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x12
call fcn.00402a83
mov byte [ebp - 4], 0x13
jmp 0x403f5c
cmp dword [ebp - 0x890], ebx
jg 0x4040be
cmp dword [ebp - 0x88c], ebx
je 0x40432b
lea eax, [ebp - 0x894]
push eax
push dword [ebp - 0x87c]
mov dword [ebp - 0x894], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4041c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4b9
push eax
mov byte [ebp - 4], 0x14
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x15
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x880], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
cmp dword [ebp - 0x884], ebx
je 0x40417b
push dword [ebp - 0x884]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x87c], ebx
je 0x40418f
push dword [ebp - 0x87c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x878], ebx
je 0x4041a3
push dword [ebp - 0x878]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x874], ebx
je 0x403efc
push dword [ebp - 0x874]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x403efc
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x894]
inc eax
push eax
call fcn.00411d83
mov esi, eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x894]
pop ecx
inc eax
push eax
push ebx
push esi
mov dword [ebp - 0x88c], esi
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x8ec]
push eax
push dword [ebp - 0x894]
push esi
push dword [ebp - 0x87c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x4042aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4bb
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00402a83
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x880], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
push dword [ebp - 0x88c]
call fcn.00412f89
pop ecx
jmp 0x404167
push ebx
lea eax, [ebp - 0x888]
push eax
push dword [ebp - 0x8ec]
push esi
push dword [ebp - 0x884]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x880], eax
cmp eax, ebx
jne 0x404318
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4bc
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x20
call fcn.00402a83
mov byte [ebp - 4], 0x21
jmp 0x404255
push esi
call fcn.00412f89
pop ecx
cmp dword [ebp - 0x894], ebx
ja 0x4040be
push dword [ebp - 0x884]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4043c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x585
push eax
mov byte [ebp - 4], 0x22
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x23
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x88c], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push edi
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
mov byte [ebp - 4], bl
call fcn.004023e7
cmp dword [ebp - 0x880], ebx
jne 0x404462
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4bd
push eax
mov byte [ebp - 4], 0x25
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x26
call fcn.00402a83
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x880], esp
mov ecx, esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
jmp 0x40417b
cmp dword [ebp - 0x87c], ebx
je 0x404476
push dword [ebp - 0x87c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x878], ebx
je 0x40448a
push dword [ebp - 0x878]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x874], ebx
je 0x40449e
push dword [ebp - 0x874]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x884], ebx
mov dword [ebp - 0x880], ebx
mov dword [ebp - 0x878], ebx
mov dword [ebp - 0x890], ebx
mov dword [ebp - 0x88c], ebx
mov dword [ebp - 0x8f4], ebx
call fcn.004039e5
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40457b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x586
push eax
mov byte [ebp - 4], 0x2b
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x2c
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push edi
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
mov byte [ebp - 4], bl
call fcn.004023e7
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x404617
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x587
push eax
mov byte [ebp - 4], 0x2e
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x2f
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push edi
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
push 0x14
mov byte [ebp - 4], 0x31
call fcn.00413395
pop ecx
cmp eax, ebx
je 0x404645
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0x4303f8
mov dword [eax + 0x10], 0x3e7
mov dword [ebp - 0x874], eax
jmp 0x40464b
mov dword [ebp - 0x874], ebx
mov esi, dword [ebp - 0x890]
mov eax, dword [ebp - 0x874]
inc esi
push esi
mov dword [ebp - 0x884], eax
call fcn.00411d83
pop ecx
push esi
push ebx
push eax
mov dword [ebp - 0x878], eax
mov dword [ebp - 4], ebx
call fcn.00418c10
add esp, 0xc
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x878]
push eax
push dword [ebp - 0x890]
mov eax, dword [ebp - 0x874]
push dword [ebp - 0x880]
call fcn.00410c13
cmp al, bl
je 0x404829
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push str.FlashPlayerInstaller.exe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x880], esi
cmp esi, 0xffffffff
jne 0x4048d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4bf
push eax
mov byte [ebp - 4], 0x33
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x34
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
mov byte [ebp - 4], bl
call fcn.004023e7
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4047f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x588
push eax
mov byte [ebp - 4], 0x36
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x37
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x38
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push edi
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
cmp dword [ebp - 0x874], ebx
je 0x404809
mov edi, dword [ebp - 0x874]
call fcn.00404c11
xor edi, edi
inc edi
push dword [ebp - 0x878]
call fcn.00412f89
pop ecx
jmp 0x403efc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4c1
push eax
mov byte [ebp - 4], 0x3f
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x40
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x41
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
cmp dword [ebp - 0x884], ebx
je 0x4048c7
mov edi, dword [ebp - 0x884]
call fcn.00404c11
xor edi, edi
inc edi
cmp dword [ebp - 0x878], ebx
je 0x403efc
jmp 0x404809
push ebx
lea eax, [ebp - 0x8f4]
push eax
push dword [ebp - 0x88c]
push dword [ebp - 0x878]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x4049a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4c0
push eax
mov byte [ebp - 4], 0x39
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x3a
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x3b
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
cmp dword [ebp - 0x880], ebx
je 0x4047f3
push dword [ebp - 0x880]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4047f3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x404a36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x589
push eax
mov byte [ebp - 4], 0x3c
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x3d
call fcn.00402a83
mov ecx, esp
mov byte [ebp - 4], 0x3e
mov dword [ebp - 0x888], esp
push esi
push eax
push ecx
call fcn.00402ac9
add esp, 0xc
push edi
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8e8]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8b0]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x8cc]
call fcn.004023e7
cmp dword [ebp - 0x874], ebx
je 0x404a4c
mov edi, dword [ebp - 0x874]
call fcn.00404c11
xor edi, edi
inc edi
push dword [ebp - 0x878]
call fcn.00412f89
pop ecx
push ebx
push edi
lea esi, [ebp - 0x854]
call fcn.004023e7
mov al, 1
jmp 0x404c0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4b1
push eax
mov byte [ebp - 4], 5
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 6
call fcn.00402a83
mov byte [ebp - 4], 7
jmp 0x403f5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8cc]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x8b0]
push 0x4be
push eax
mov byte [ebp - 4], 0x28
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x8e8]
push eax
mov byte [ebp - 4], 0x29
call fcn.00402a83
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x888], esp
jmp 0x40441f
push 0x4b0
push eax
call fcn.0040d24d
pop ecx
pop ecx
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push esi
jmp 0x404bfe
push ebx
push 1
lea esi, [ebp - 0x854]
call fcn.004023e7
xor al, al
call fcn.00415608
ret