Function at 0x410153
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
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
mov dword [ebp - 0x3c], 0
push dword [ebp + 8]
call fcn.004056eb
mov dword [ebp - 4], eax
push VariantCopy
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4101e5
mov eax, 0x42d382
push eax
push 1
mov ebx, 0x194
call fcn.00416de0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jl 0x41022c
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push dword [ebp - 4]
call fcn.0040cedd
mov dword [ebp - 0x4c], eax
cmp word [ebp - 0x4c], 0x5a4d
jne 0x41022c
xor eax, eax
jmp 0x410231
mov eax, 1
test eax, eax
je 0x410243
mov eax, 0
jmp 0x41104c
fild dword [ebp - 4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x430edd]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
fld qword [ebp - 0x4c]
call fcn.00401cad
push eax
call fcn.0040cedd
cwde
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x430ee5]
fstp qword [ebp - 0x4c]
fild dword [ebp - 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x430eed]
fnstsw ax
test ah, 1
je 0x4102ac
mov eax, 0
jmp 0x41104c
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x1bc
call fcn.004166a0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4102e1
push ebx
call fcn.00415231
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004056eb
mov dword [ebp - 0x14], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
push pe_nt_image_headers32
fld qword [ebp - 0x54]
call fcn.00401cad
push eax
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x4550
jne 0x4103f5
push 1
push 0x16
push dword [ebp - 0x14]
call fcn.0040cedd
mov dword [ebp - 0x50], eax
push 0x80000301
push 0
push 2
mov eax, dword [ebp - 0x50]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4103f5
push 1
push 6
push dword [ebp - 0x14]
call fcn.0040cedd
cwde
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fmul qword [0x430ef5]
fstp qword [ebp - 0x70]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [ebp - 0x70]
fadd qword [0x430ee5]
fstp qword [ebp - 0x80]
fild dword [ebp - 8]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
fsub qword [ebp - 0x80]
fcomp qword [0x430eed]
fnstsw ax
test ah, 1
jne 0x4103f5
xor eax, eax
jmp 0x4103fa
mov eax, 1
test eax, eax
je 0x41040c
mov eax, 0
jmp 0x41104c
fild dword [ebp - 4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fadd qword [0x430ee5]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401cad
mov dword [ebp - 0x18], eax
push 1
push 6
push dword [ebp - 0x14]
call fcn.0040cedd
cwde
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x42d3d3]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.00401cad
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x410623
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x430ef5]
fstp qword [ebp - 0x4c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00401cad
mov dword [ebp - 0x20], eax
push 1
push 8
push dword [ebp - 0x20]
call fcn.00404dbf
mov dword [ebp - 0x40], eax
push 0x80000301
push 0
push 0xffff
push 0x80000301
push 0
push dword [ebp - 0x40]
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 1
push 0xc
push dword [ebp - 0x20]
call fcn.00404dbf
mov dword [ebp - 0x28], eax
push 1
push 0x10
push dword [ebp - 0x20]
call fcn.00404dbf
mov dword [ebp - 0x2c], eax
push 1
push 0x38
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
mov eax, 0
setg al
test eax, eax
je 0x410535
mov eax, dword [ebp - 0x2c]
jmp 0x410538
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x54]
fadd qword [ebp - 0x54]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fsub qword [0x42d3d3]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x74]
fdiv qword [ebp - 0x74]
fstp qword [ebp - 0x7c]
push 0x80000601
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 1
mov ebx, 0x60
call fcn.004173a0
add esp, 0x10
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x90]
fmul qword [ebp - 0x90]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
call fcn.00401cad
mov dword [ebp - 0x34], eax
push 1
push 0x50
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], eax
mov eax, 0
setg al
test eax, eax
je 0x410602
mov eax, dword [ebp - 0x34]
jmp 0x410605
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 1
push 0x50
push dword [ebp - 0x14]
call fcn.00405b5c
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41046b
add esp, 0xc
push 1
push 0x34
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x24], eax
push 1
push 0x50
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41065e
mov eax, 0
jmp 0x41104c
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00415ce0
add esp, 0x1c
mov dword [ebp - 0x40], eax
push 0x40
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4106fa
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00415ce0
add esp, 0x1c
mov dword [ebp - 0x40], eax
push 0x40
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x41070e
mov eax, 0
jmp 0x41104c
push 1
push 6
push dword [ebp - 0x14]
call fcn.0040cedd
cwde
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x430ef5]
fstp qword [ebp - 0x4c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [ebp - 0x4c]
fadd qword [0x430ee5]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00401cad
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 4]
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
fild dword [ebp - 0x30]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fsub qword [0x42d3d3]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00401cad
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x410875
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x430ef5]
fstp qword [ebp - 0x4c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00401cad
mov dword [ebp - 0x20], eax
push 1
push 0x10
push dword [ebp - 0x20]
call fcn.00404dbf
mov dword [ebp - 0x24], eax
push 1
push 0xc
push dword [ebp - 0x20]
call fcn.00404dbf
mov dword [ebp - 0x28], eax
push 1
push 0x14
push dword [ebp - 0x20]
call fcn.00404dbf
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x24], 0
jle 0x410816
cmp dword [ebp - 0x28], 0
je 0x410816
mov eax, 1
jmp 0x41081b
mov eax, 0
test eax, eax
je 0x41086c
fild dword [ebp - 0x38]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
push dword [ebp - 0x24]
fld qword [ebp - 0x6c]
call fcn.00401cad
push eax
fld qword [ebp - 0x54]
call fcn.00401cad
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41078c
add esp, 0xc
push 1
push 0xa4
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jle 0x410b28
push 1
push 0x34
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401cad
mov dword [ebp - 0x24], eax
push 1
push 0xa0
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401cad
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
call fcn.00404dbf
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x410b28
push 1
push 4
push dword [ebp - 0x2c]
call fcn.00404dbf
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x42d3ac]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x42d5ca]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fsub qword [0x42d3d3]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.00401cad
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x410ace
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x42d5ca]
fstp qword [ebp - 0x4c]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [ebp - 0x4c]
fadd qword [0x42d3ac]
fstp qword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
fld qword [ebp - 0x64]
call fcn.00401cad
push eax
call fcn.0040cedd
cwde
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push 0xf000
push 0x80000301
push 0
push dword [ebp - 0x30]
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3000
jne 0x410ac5
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
call fcn.00404dbf
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push 0xfff
push 0x80000301
push 0
push dword [ebp - 0x30]
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x58]
fadd qword [ebp - 0x58]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x60]
fadd qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00401cad
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x34]
call fcn.00404dbf
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x54]
fadd qword [ebp - 0x54]
fstp qword [ebp - 0x5c]
push 0x80000601
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push 1
mov ebx, 0x9dc
call fcn.00415c00
add esp, 0x10
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x34]
call fcn.00405b5c
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x410969
add esp, 0xc
push 1
push 4
push dword [ebp - 0x2c]
call fcn.00404dbf
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401cad
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401cad
mov dword [ebp - 0x2c], eax
jmp 0x4108f8
push 1
push 0x80
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x410de3
fild dword [ebp - 0x38]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401cad
mov dword [ebp - 0x28], eax
push 1
push 0x10
push dword [ebp - 0x28]
call fcn.00404dbf
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x410de3
push str.kernel32.dll
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
mov dword [ebp - 0x40], eax
push 0x430efd
push dword [ebp - 0x40]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
mov dword [ebp - 0x44], eax
push 1
push 0xc
push dword [ebp - 0x28]
call fcn.00404dbf
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x58]
fadd qword [ebp - 0x58]
fstp qword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
mov dword [ebp - 0x88], 0
push 0
push dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0
push 0
push dword [ebp - 0x8c]
mov dword [ebp - 0x90], 0
push 0
push dword [ebp - 0x90]
mov dword [ebp - 0x94], 0
push 0
push dword [ebp - 0x94]
mov dword [ebp - 0x98], 0
push 0
push dword [ebp - 0x98]
push 1
fld qword [ebp - 0x60]
call fcn.00401cad
push eax
push dword [ebp - 0x44]
call fcn.00404d43
mov dword [ebp - 0x2c], eax
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call fcn.00404dbf
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x410dc8
push 0x80000301
push 0
push closesocket
push 0x80000301
push 0
push dword [ebp - 0x30]
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x410d36
fild dword [ebp - 0x38]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fadd qword [0x42d5ca]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401cad
mov dword [ebp - 0x34], eax
jmp 0x410d61
push 0x80000301
push 0
push 0xffff
push 0x80000301
push 0
push dword [ebp - 0x30]
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x410d9f
push 0x8000
push 0
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
mov eax, 0
jmp 0x41104c
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call fcn.00405b5c
add dword [ebp - 0x3c], 4
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call fcn.00404dbf
mov dword [ebp - 0x30], eax
jmp 0x410ccc
add dword [ebp - 0x28], 0x14
push 1
push 0x10
push dword [ebp - 0x28]
call fcn.00404dbf
mov dword [ebp - 0x3c], eax
jmp 0x410b76
push 1
push 0x16
push dword [ebp - 0x14]
call fcn.0040cedd
mov dword [ebp - 0x40], eax
push 0x80000301
push 0
push 0x2000
mov eax, dword [ebp - 0x40]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004172f0
add esp, 0x1c
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x411044
push 1
push 0x28
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
mov dword [ebp - 0x88], 0
push 0
push dword [ebp - 0x88]
push 1
push 0
push 1
push 1
push 1
push 0
fld qword [ebp - 0x58]
call fcn.00401cad
push eax
call fcn.00404d43
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x411044
push 1
push 0x28
push dword [ebp - 0x14]
call fcn.00404dbf
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
mov dword [ebp - 0x88], 0
push 0
push dword [ebp - 0x88]
push 1
push 0
push 1
push 0
push 1
push 0
fld qword [ebp - 0x58]
call fcn.00401cad
push eax
call fcn.00404d43
push 0x8000
push 0
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
mov eax, 0
jmp 0x41104c
mov eax, dword [ebp - 0x38]
jmp 0x41104c
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41105d
push ebx
call fcn.00415231
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4