Function at 0x402999
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
push 0x4c
call fcn.0040afbc
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.0040afbc
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x419640
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.0040afbc
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x419648
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0xc
call fcn.0040afbc
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0x1c
call fcn.0040afbc
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.0040afbc
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x48
call fcn.0040afbc
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x419650
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x10
push ecx
push ebx
push 8
call fcn.0040afbc
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x402aa3
pop ebx
pop ebx
mov dword [ebp - 0x10], 0
push 0x14
call fcn.0040afbc
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
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], esp
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x402b3a
push 6
call fcn.0040afc2
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x402b55
cmp dword [ebp - 4], 0
je 0x402b55
xor eax, eax
jmp 0x402b5a
mov eax, 1
test eax, eax
je 0x402b6c
mov eax, 0
jmp 0x403647
mov dword [ebp - 0x2c], esp
push 0x40
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push eax
push 0x40
call fcn.0040afbc
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x402c98
push 6
call fcn.0040afc2
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.0040b1f7
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x402d68
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x402d66
imul eax, dword [edi]
jmp 0x402d5b
mov ecx, eax
cmp ecx, 4
jle 0x402d72
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.0040b1f7
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x402dc5
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x402dc3
imul eax, dword [edi]
jmp 0x402db8
mov ecx, eax
cmp ecx, 0xa
jle 0x402dcf
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x14
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0040afb6
add esp, 4
mov ebx, dword [ebp - 8]
add ebx, 0x48
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], esp
push 0xf8
fld qword [ebp - 0x44]
call fcn.004028fb
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0xf8
call fcn.0040afbc
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 0x10
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x402fd8
pop ebx
add ebx, 4
pop ebx
add ebx, 4
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403020
push 6
call fcn.0040afc2
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
mov edi, dword [ebp - 0x50]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x14
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 0x10
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 8
dec ecx
jne 0x4031cd
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.0040afb6
add esp, 4
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.00402922
mov eax, 1
cmp eax, ecx
jl 0x403234
push 1
call fcn.0040afc2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 0x14
fld qword [ebp - 0x40]
call fcn.004028fb
push eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40328b
push 6
call fcn.0040afc2
add esp, 4
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], 0
je 0x40363d
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], esp
push 4
fld qword [ebp - 0x44]
call fcn.004028fb
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4032f1
push 6
call fcn.0040afc2
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x4035ef
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x18], eax
jne 0x40358a
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.0040b3b7
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0x40
push dword [ebp - 0x2c]
push 0xd
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x403365
push 6
call fcn.0040afc2
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40337c
mov eax, 0
jmp 0x403647
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004028fb
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x41961f]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.004028fb
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4033ef
push 6
call fcn.0040afc2
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x419627]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
push 4
lea eax, [ebp + 8]
push eax
fld qword [ebp - 0x38]
call fcn.004028fb
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x403432
push 6
call fcn.0040afc2
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fsub qword [0x41962f]
fstp qword [ebp - 0x40]
push 0x80000601
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
mov ebx, 0x9dc
call fcn.0040b2d7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.0040b4b7
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 0x419637
mov ecx, 2
call fcn.00402942
add esp, 8
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4034af
push ebx
call fcn.0040afb6
add esp, 4
mov dword [ebp - 0x50], esp
push 5
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4034c1
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x4034e1
push 6
call fcn.0040afc2
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4034f1
push ebx
call fcn.0040afb6
add esp, 4
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x28]
push eax
push 0x40
push 4
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x403521
push 6
call fcn.0040afc2
add esp, 4
mov dword [ebp - 0x2c], esp
push 4
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40354c
push 6
call fcn.0040afc2
add esp, 4
mov dword [ebp - 0x2c], esp
mov eax, 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
push 4
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x403582
push 6
call fcn.0040afc2
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x403647
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
add dword [ebx], 4
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], esp
push 4
fld qword [ebp - 0x44]
call fcn.004028fb
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4035ea
push 6
call fcn.0040afc2
add esp, 4
jmp 0x4032f1
add dword [ebp - 0x10], 0x14
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 0x14
fld qword [ebp - 0x40]
call fcn.004028fb
push eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x403638
push 6
call fcn.0040afc2
add esp, 4
jmp 0x40328b
mov eax, 0
jmp 0x403647
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040afb6
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040afb6
add esp, 4
pop ebx
call fcn.0040afb6
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040afb6
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4036b0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4036ac
imul eax, dword [ebx]
jmp 0x4036a1
mov ecx, eax
test ecx, ecx
je 0x4036cb
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040afb6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4036b6
call fcn.0040afb6
add esp, 4
pop ebx
call fcn.0040afb6
add esp, 4
pop ebx
call fcn.0040afb6
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0040afb6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8