Function at 0x80e008
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x9c
mov esi, eax
mov ecx, dword [0xaafeb8]
mov edx, dword [ecx]
mov edi, dword [ecx + 8]
add ecx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [0xaafe94]
mov dword [esp + 0x30], ecx
imul ecx, edi, 0xffffffe8
lea ebp, [edx + ecx - 0x10]
push 0x9000
push 0
push dword [0xaafeac]
call fcn.0086b5cc
push 0x1400
push 0
push dword [0xaafea4]
call fcn.0086b688
mov dword [0xaafea0], 0
push 0x1000
push 0
push dword [0xaafe9c]
call fcn.0086b688
add esp, 0x24
mov dword [0xaafe98], 0
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x80e732
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0x30]
mov ecx, dword [0xaafec4]
mov ebp, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x80], ebp
mov ebp, dword [edi + 8]
mov dword [esp + 0x78], esi
mov esi, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov eax, edi
shr eax, 0x10
movsx ebx, ax
add ebx, 1
call fcn.00763498
mov dword [esp + 8], eax
fild dword [esp + 8]
shr eax, 0x1f
fadd dword [eax*4 + 0x980828]
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
shr ebx, 0x1f
fadd dword [ebx*4 + 0x980828]
fmulp st(1)
fdiv dword [0x980858]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
fldcw word [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, 1
jae 0x80e12f
mov eax, 1
mov ebx, dword [esp + 0x80]
mov ecx, ebp
shr ecx, 0x10
movsx ebx, bx
lea edx, [eax - 1]
test eax, eax
mov dword [esp + 0x54], edx
jle 0x80e4a7
mov eax, dword [esp + 0x78]
shr eax, 0x10
mov dword [esp + 0x7c], eax
movzx edx, bp
movsx eax, si
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edx
shr esi, 0x10
movsx esi, si
add esi, 1
mov ebp, edi
and ebp, 0xff
mov dword [esp + 0x60], ebp
shr edi, 8
and edi, 0xff
add edi, 1
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
shr edi, 0x1f
fxch st(1)
fadd dword [edi*4 + 0x980828]
fstp dword [esp + 0x68]
shr esi, 0x1f
fadd dword [esi*4 + 0x980828]
mov esi, dword [esp + 0x54]
fstp dword [esp + 0x6c]
mov ebp, ecx
mov ecx, dword [0xaafec4]
call fcn.00763498
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
shr eax, 0x1f
fadd dword [eax*4 + 0x980828]
fmul dword [esp + 0x68]
fdiv dword [0x980858]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
fldcw word [esp + 0x18]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
cmp edi, eax
jae 0x80e20e
mov edi, eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0080e930
pop ecx
lea eax, [edi - 1]
test edi, edi
jle 0x80e33f
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov edi, dword [esp + 0x44]
mov eax, dword [0xaafeac]
mov esi, dword [0xaafeb0]
mov ebp, dword [esi + 0xc]
add esi, dword [esi + 4]
mov dword [esp + 0x70], eax
lea edi, [edi + edi*8]
lea edx, [edi + edi]
add edx, edx
add edx, edx
add edx, eax
mov dword [esp + 0x74], edx
xor ebx, ebx
xor edx, edx
test ebp, ebp
jle 0x80e2a5
cmp ebp, 6
jl 0x80e297
lea eax, [ebp - 6]
movzx ecx, byte [esi + edx*4 + 2]
add ebx, ecx
movzx ecx, byte [esi + edx*4 + 6]
add ebx, ecx
movzx ecx, byte [esi + edx*4 + 0xa]
add ebx, ecx
movzx ecx, byte [esi + edx*4 + 0xe]
add ebx, ecx
movzx ecx, byte [esi + edx*4 + 0x12]
add ebx, ecx
add edx, 5
cmp edx, eax
jle 0x80e26d
movzx eax, byte [esi + edx*4 + 2]
add ebx, eax
add edx, 1
cmp edx, ebp
jl 0x80e297
mov ecx, dword [0xaafec4]
call fcn.00763498
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
shr eax, 0x1f
fadd dword [eax*4 + 0x980828]
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
shr ebx, 0x1f
fadd dword [ebx*4 + 0x980828]
fmulp st(1)
fdiv dword [0x980858]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
fldcw word [esp + 0x18]
xor eax, eax
mov edx, dword [esp + 0x28]
test ebp, ebp
jle 0x80e31e
movzx ecx, byte [esi + eax*4 + 2]
test ecx, ecx
je 0x80e317
cmp edx, ecx
jb 0x80e6d4
sub edx, ecx
add eax, 1
cmp eax, ebp
jl 0x80e304
mov eax, dword [esp + 0x64]
mov edx, eax
add eax, 0xffffffff
mov dword [esp + 0x64], eax
test edx, edx
jg 0x80e234
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
test esi, esi
jle 0x80e498
mov eax, dword [0xaafea0]
mov edx, dword [0xaafea4]
lea edi, [eax + eax*4]
mov dword [edx + edi*4], ebx
mov ebx, dword [0xaafea4]
mov eax, dword [0xaafea0]
mov ecx, dword [0xaafec4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x78]
mov word [ebx + edx*4 + 4], ax
mov eax, dword [esp + 0x7c]
mov word [ebx + edx*4 + 6], ax
mov eax, dword [esp + 0x58]
mov word [ebx + edx*4 + 8], ax
mov word [ebx + edx*4 + 0xa], bp
call fcn.00763498
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
shr eax, 0x1f
fadd dword [eax*4 + 0x980828]
fmul dword [esp + 0x6c]
fdiv dword [0x980858]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
fldcw word [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jae 0x80e3d9
mov ebx, eax
mov edx, dword [0xaafea4]
mov edi, dword [0xaafea0]
mov byte [esp + 0x84], 0xc
lea eax, [edi + edi*4]
mov edi, dword [0xaafe98]
mov dword [edx + eax*4 + 0xc], ebx
mov ebx, dword [esp + 0x40]
lea ebx, [ebx + edi]
mov dword [edx + eax*4 + 0x10], ebx
mov eax, dword [esp + 0x80]
mov edx, dword [0xaafe9c]
lea eax, [eax + ebp + 0x2710]
movsx ebx, ax
test edx, edx
je 0x80e441
movzx eax, byte [esp + 0x84]
add edx, edi
mov byte [edx], al
mov edi, dword [0xaafe98]
mov edx, dword [0xaafe9c]
add edi, 1
mov dword [0xaafe98], edi
movzx eax, bx
test edx, edx
je 0x80e46f
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
add edx, edi
mov dword [edx], eax
mov edi, dword [0xaafe98]
mov edx, dword [0xaafe9c]
add edi, 4
mov dword [0xaafe98], edi
mov byte [esp + 0x84], 1
test edx, edx
je 0x80e48e
movzx eax, byte [esp + 0x84]
add edx, edi
mov byte [edx], al
add dword [0xaafe98], 1
add dword [0xaafea0], 1
add ebp, 1
mov eax, esi
add esi, 0xffffffff
test eax, eax
jg 0x80e1bb
mov ecx, ebp
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x80], edi
mov edi, dword [0xaafea0]
lea ebp, [edi + edi*4]
mov edi, dword [0xaafea4]
mov dword [edi + ebp*4], ebx
mov edi, dword [0xaafea4]
mov ebx, dword [0xaafea0]
lea ebx, [ebx + ebx*4]
mov word [edi + ebx*4 + 4], dx
mov word [edi + ebx*4 + 8], ax
shr edx, 0x10
mov word [edi + ebx*4 + 6], dx
mov word [edi + ebx*4 + 0xa], cx
movsx ebx, si
shr esi, 0x10
mov ecx, dword [0xaafec4]
movsx ebp, si
add ebp, 1
call fcn.00763498
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
shr eax, 0x1f
fadd dword [eax*4 + 0x980828]
mov dword [esp + 0x10], ebp
fild dword [esp + 0x10]
shr ebp, 0x1f
fadd dword [ebp*4 + 0x980828]
fmulp st(1)
fdiv dword [0x980858]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
fldcw word [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jb 0x80e561
mov ebx, eax
mov edx, dword [0xaafea4]
mov eax, dword [0xaafea0]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
lea ecx, [eax + eax*4]
add eax, 1
add dword [esp + 0x30], 0x18
mov dword [edx + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [edx + ecx*4 + 0x10], ebx
mov dword [0xaafea0], eax
add ebp, 1
mov dword [esp + 0x48], ebp
cmp ebp, esi
jl 0x80e0a4
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
test ebx, ebx
jle 0x80e5e3
push esi
call fcn.0080c2dc
push eax
push ebx
push dword [0xaafeac]
call fcn.0080ee4c
lea edx, [ebx + ebx*8]
add edx, edx
add edx, edx
add edx, edx
push edx
push dword [0xaafeac]
push esi
call fcn.00810030
add esp, 0x1c
mov eax, dword [0xaafea0]
test eax, eax
jle 0x80e6c9
mov ebx, dword [0xaafe98]
add ebx, 3
and ebx, 0xfffffffc
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
add edx, ebp
lea ecx, [edx + ebx + 0x10]
push ecx
push esi
call fcn.0080d23c
mov esi, eax
add esp, 8
test esi, esi
je 0x80e6c9
mov edx, dword [0xaafea0]
mov dword [esp + 0x90], 0x10
lea ecx, [edx + edx*4]
add ecx, ecx
mov dword [esp + 0x94], edx
lea edi, [ecx + ecx + 0x10]
mov dword [esp + 0x8c], edi
mov edx, dword [esp + 0x8c]
mov dword [esi], edx
mov edx, dword [esp + 0x90]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x94]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x98]
mov dword [esi + 0xc], edx
mov edx, dword [0xaafea0]
test edx, edx
jle 0x80e68b
add esi, 0x10
lea edx, [edx + edx*4]
add edx, edx
add edx, edx
push edx
push dword [0xaafea4]
push esi
call fcn.0086b6b8
add esp, 0xc
test ebp, ebp
jle 0x80e6b3
mov edx, dword [0xaafea0]
mov edi, dword [0xaafeb8]
add edi, dword [esp + 0x34]
lea ecx, [edx + edx*4]
push ebp
push edi
add ecx, ecx
add ecx, ecx
add esi, ecx
push esi
call fcn.0086b6b8
add esp, 0xc
test ebx, ebx
jle 0x80e6c9
push ebx
push dword [0xaafe9c]
add ebp, esi
push ebp
call fcn.0086b6b8
add esp, 0xc
add esp, 0x9c
pop ebx
pop ebp
pop esi
pop edi
ret
movzx edx, byte [esi + eax*4 + 1]
movzx eax, byte [esi + eax*4]
cmp edx, 0xffffffff
je 0x80e31e
cmp eax, 0xffffffff
je 0x80e31e
mov ecx, dword [eax*4 + 0x980760]
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov word [ebx + edi*8], cx
call fcn.0080e744
mov eax, dword [esp + 0x74]
call fcn.0080e884
mov ecx, dword [0xaafeac]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
mov word [ecx + edi*8 + 0xe], ax
mov word [ecx + edi*8 + 0xc], dx
add dword [esp + 0x44], 1
jmp 0x80e31e
mov eax, dword [0xaafea0]
jmp 0x80e5e3