Function at 0x10008bc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
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
push 8
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x1005430c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
push dword [ebp + 8]
call fcn.100082f3
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.100093f4
cwde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x5a4d
jne 0x10009394
push 0x3c
push dword [ebp - 4]
call fcn.10008646
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.1000114b
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
call fcn.10008646
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4550
jne 0x1000938a
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x1005ff31]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1000114b
push eax
call fcn.100093f4
cwde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10b
jne 0x10008cee
mov dword [ebp - 0x18], 0xf8
jmp 0x10008d05
cmp dword [ebp - 8], 0x20b
jne 0x10008d05
mov eax, 0xffffffff
jmp 0x1000939e
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x1005ff39]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1000114b
push eax
call fcn.100093f4
mov word [ebp - 0x1c], ax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.1000114b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x1c]
cwde
cmp eax, 0
jge 0x10008d70
push 0x420
push 0x402fd8d
push 0xa
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x38], eax
lea ebx, [ebp - 0x3c]
call fcn.1000155f
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.1002ffeb
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x38]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
pop edx
test ecx, ecx
je 0x10008dd5
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002fff1
add esp, 4
pop ebx
call fcn.1002fff1
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10008db1
pop edx
pop edi
test edx, edx
je 0x10008e27
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.1002ffeb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.1002ffeb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10054449
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
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x10008ddf
push dword [ebp - 0x24]
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10009048
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10008e78
push 0x481
push 0x402fd8d
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10008e95
push 0x481
push 0x402fd8d
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x28]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x1005ff41]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x10054451]
fstp qword [ebp - 0x50]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x60]
mov dword [ebp - 0x64], esp
push 0x28
fld qword [ebp - 0x60]
call fcn.1000114b
push eax
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.1002ffeb
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
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
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 dword [edi], eax
add edi, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x64], esp
je 0x10008f90
push 0x4d5
push 0x402fd8d
push 6
call fcn.1002fffd
add esp, 0xc
mov ebx, dword [ebp - 0x68]
push ebx
mov edi, dword [ebp - 0x6c]
push ebx
push edi
push 1
mov eax, 2
call fcn.100309a0
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 0x10008fc6
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10008fc4
imul eax, dword [edi]
jmp 0x10008fb9
mov ecx, eax
cmp ecx, 8
jle 0x10008fd0
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
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 eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.1002fff1
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x10008e43
add esp, 0xc
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
cwde
dec eax
jns 0x10009073
push 0x547
push 0x402fd8d
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10009090
push 0x547
push 0x402fd8d
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
cwde
dec eax
jns 0x100090c5
push 0x570
push 0x402fd8d
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100090e2
push 0x570
push 0x402fd8d
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.10009410
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
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.1000114b
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.100094a9
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x34]
push eax
push 0x1000
push dword [ebp - 4]
push dword [ebp - 0x30]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x10009166
push 0x5dd
push 0x402fd8d
push 6
call fcn.1002fffd
add esp, 0xc
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 3
mov ebx, 0x914
call fcn.10031a70
add esp, 0x28
fild dword [ebp - 0x30]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fadd qword [0x1005ff49]
fstp qword [ebp - 0x4c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x4c]
call fcn.1000114b
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 3
mov ebx, 0x914
call fcn.10031a70
add esp, 0x28
mov eax, dword [ebp - 0x1c]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000937f
mov dword [ebp - 0x34], 0
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10009234
push 0x745
push 0x402fd8d
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10009251
push 0x745
push 0x402fd8d
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1000929c
push 0x776
push 0x402fd8d
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100092b9
push 0x776
push 0x402fd8d
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
mov ebx, dword [ebp - 0x24]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10009304
push 0x776
push 0x402fd8d
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10009321
push 0x776
push 0x402fd8d
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x70]
push dword [ebx]
fld qword [ebp - 0x6c]
call fcn.1000114b
push eax
fld qword [ebp - 0x50]
call fcn.1000114b
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x10009377
push 0x776
push 0x402fd8d
push 6
call fcn.1002fffd
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x100091f8
add esp, 0xc
mov eax, dword [ebp - 0x30]
jmp 0x1000939e
mov eax, 0xffffffff
jmp 0x1000939e
mov eax, 0xffffffff
jmp 0x1000939e
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100093bd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100093b9
imul eax, dword [ebx]
jmp 0x100093ae
mov ecx, eax
test ecx, ecx
je 0x100093e5
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002fff1
add esp, 4
pop ebx
call fcn.1002fff1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100093c3
call fcn.1002fff1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8