Function at 0x40458c
Capabilities:
Allocate or change rwx memory
Link many functions at runtime
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push 0x2c
call fcn.00405a74
add esp, 4
mov dword [ebp - 0x3c], eax
mov edi, eax
mov esi, 0x409903
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x404649
cmp dword [ebp + 8], 0
jne 0x40465d
mov eax, 0
jmp 0x405708
push dword [ebp + 8]
call fcn.0040572c
mov dword [ebp - 0x54], eax
cmp word [ebp - 0x54], 0x5a4d
je 0x40467e
mov eax, 0
jmp 0x405708
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [0x40957d]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00402875
push eax
call fcn.00405766
mov dword [ebp - 4], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.00405766
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x4550
je 0x4046de
mov eax, 0
jmp 0x405708
mov dword [ebp - 0x50], esp
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x404702
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404719
mov eax, 0
jmp 0x405708
mov dword [ebp - 0x50], esp
push 0x409585
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x404740
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404757
mov eax, 0
jmp 0x405708
mov dword [ebp - 0x50], esp
push str.GetModuleHandleA
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x40477e
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404795
mov eax, 0
jmp 0x405708
mov dword [ebp - 0x50], esp
push str.GetProcAddress
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4047bc
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4047d3
mov eax, 0
jmp 0x405708
mov dword [ebp - 0x50], esp
push str.LoadLibraryA
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4047fa
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404811
mov eax, 0
jmp 0x405708
mov dword [ebp - 0x50], esp
push str.VirtualProtect
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x404838
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40484f
mov eax, 0
jmp 0x405708
lea eax, [ebp - 0x20]
push eax
call fcn.00404570
mov dword [ebp - 0x50], eax
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x50]
call fcn.004040c6
cmp byte [ebp - 0x20], 0xe9
jne 0x404885
push 6
push dword [ebp - 0x1c]
call fcn.00403f25
mov dword [ebp - 0x1c], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [0x4095cd]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.00405766
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fadd qword [0x4095d5]
fstp qword [ebp - 0x78]
mov dword [ebp - 0x7c], esp
push 4
push 0x1000
fld qword [ebp - 0x78]
call fcn.00402875
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x7c], esp
je 0x4048fa
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404911
mov eax, 0
jmp 0x405708
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [0x4095dd]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.00405766
push eax
push dword [ebp + 8]
push dword [ebp - 0x24]
call fcn.004040c6
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [0x4095e5]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.0040572c
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
cwde
cmp dword [ebp - 0x2c], eax
jge 0x404abd
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fmul qword [0x4095ed]
fstp qword [ebp - 0x5c]
fild dword [ebp - 4]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [ebp - 0x5c]
fadd qword [0x4095f5]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00402875
mov dword [ebp - 0x30], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [0x4095fd]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.00405766
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x404ab5
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [0x409605]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.00405766
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fild dword [ebp - 0x68]
fstp qword [ebp - 0x78]
fadd qword [ebp - 0x78]
fstp qword [ebp - 0x80]
fild dword [ebp + 8]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x90]
fadd qword [ebp - 0x90]
fadd qword [0x40960d]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
call fcn.00402875
push eax
call fcn.00405766
mov dword [ebp - 0x9c], eax
fild dword [ebp + 8]
fstp qword [ebp - 0xa4]
fld qword [ebp - 0xa4]
fild dword [ebp - 0x9c]
fstp qword [ebp - 0xac]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xb4]
push dword [ebp - 0x34]
fld qword [ebp - 0xb4]
call fcn.00402875
push eax
fld qword [ebp - 0x80]
call fcn.00402875
push eax
call fcn.004040c6
inc dword [ebp - 0x2c]
jmp 0x40497a
mov dword [ebp - 0x50], esp
push 0x40
push 0x1000
push 0x278
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x404af0
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x404b33
mov dword [ebp - 0x50], esp
push 0x8000
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x404b29
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x405708
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 0
cmp eax, ecx
jl 0x404b51
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x409615]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 1
cmp eax, ecx
jl 0x404b9f
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0x14]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x40961d]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 2
cmp eax, ecx
jl 0x404bed
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x409625]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 3
cmp eax, ecx
jl 0x404c3b
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x40962d]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 4
cmp eax, ecx
jl 0x404c89
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x409635]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 5
cmp eax, ecx
jl 0x404cd7
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x40963d]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 6
cmp eax, ecx
jl 0x404d25
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x409645]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 7
cmp eax, ecx
jl 0x404d73
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x40964d]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 8
cmp eax, ecx
jl 0x404dc1
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fsub qword [0x409655]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00402875
mov ebx, dword [ebp - 0x50]
mov dword [ebx], eax
mov eax, 0x40965d
test eax, eax
je 0x404e0d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404e1e
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x50], eax
push 0x3d
push dword [ebp - 0x50]
push dword [ebp - 0x38]
call fcn.004040c6
mov dword [ebp - 0x44], 0x3d
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 0
cmp eax, ecx
jl 0x404e78
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x4096a2
test eax, eax
je 0x404ec1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404ed2
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x3e
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x3e
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 1
cmp eax, ecx
jl 0x404f44
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x4096e8
test eax, eax
je 0x404f8d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404f9e
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x5a
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x5a
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 2
cmp eax, ecx
jl 0x405010
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x40974a
test eax, eax
je 0x405059
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40506a
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x14
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x14
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 3
cmp eax, ecx
jl 0x4050dc
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x409766
test eax, eax
je 0x405125
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405136
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 6
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 6
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 4
cmp eax, ecx
jl 0x4051a8
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x409774
test eax, eax
je 0x4051f1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405202
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x6c
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x6c
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 5
cmp eax, ecx
jl 0x405274
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x4097e8
test eax, eax
je 0x4052bd
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4052ce
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x82
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x82
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 6
cmp eax, ecx
jl 0x405343
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x409872
test eax, eax
je 0x40538c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40539d
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x3b
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x3b
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 7
cmp eax, ecx
jl 0x40540f
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x409766
test eax, eax
je 0x405458
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405469
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 6
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 6
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x3c]
call fcn.004040e0
mov eax, 8
cmp eax, ecx
jl 0x4054db
push 1
call fcn.00405a62
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push dword [ebp - 0x68]
call fcn.00404570
mov dword [ebp - 0x6c], eax
push 4
push dword [ebp - 0x6c]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 4
mov eax, 0x4098b5
test eax, eax
je 0x405524
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405535
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x16
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
add dword [ebp - 0x44], 0x16
mov eax, 0x4098d3
test eax, eax
je 0x405590
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00405a74
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4055a1
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004040a1
mov dword [ebp - 0x68], eax
push 0x20
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00402875
push eax
call fcn.004040c6
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call fcn.004057a0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
je 0x405656
mov dword [ebp - 0x50], esp
push 0x8000
push 0
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x405620
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x50], esp
push 0x8000
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x40564c
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x405708
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [0x4098fb]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00402875
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x24]
call fcn.004057a0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], esp
push 0x8000
push 0
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4056ad
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x4056f0
mov dword [ebp - 0x50], esp
push 0x8000
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4056e6
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x405708
mov eax, dword [ebp - 0x24]
jmp 0x405708
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405725
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4