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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100f5836
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [0x1011de9c], ebp
push edi
mov al, byte [ebp + 0x2a]
xor edi, edi
test al, al
jne 0x1008fae0
push edi
push edi
lea ecx, [esp + 0x30]
call fcn.100904b0
mov eax, dword [ebp + 0xc]
push edi
push eax
lea ecx, [esp + 0x68]
call fcn.100904b0
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push eax
call fcn.100904b0
mov ecx, dword [ebp + 0xc]
push ecx
push edi
lea ecx, [esp + 0x7c]
call fcn.100904b0
lea edx, [esp + 0x28]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x1c]
push 2
push edx
mov ecx, ebp
call fcn.1008f580
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
lea eax, [esp + 0x1c]
push 3
push eax
mov ecx, ebp
call fcn.1008f580
mov byte [ebp + 0x2a], 1
mov dword [esp + 0x24], 0x1011dd58
mov ecx, 0x1011dd58
mov dword [esp + 0x90], edi
test ecx, ecx
je 0x1008fbb4
mov ecx, dword [esp + 0x98]
call fcn.1006b190
mov ecx, dword [0x10116634]
mov dword [esp + 0x18], eax
mov ebx, ecx
and ebx, 0x3f
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, 0x1011b278
inc ecx
mov dword [0x10116634], ecx
mov ecx, eax
call fcn.100107b0
mov ecx, 9
mov esi, eax
mov edi, ebx
mov eax, dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2c]
fchs
push ecx
fstp dword [esp]
fld dword [eax + 0x28]
push ecx
fchs
fstp dword [esp]
fld dword [eax + 0x24]
push ecx
lea ecx, [esp + 0x48]
fchs
fstp dword [esp]
call fcn.1000d380
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x50]
mov edx, dword [eax + 8]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x38], edx
call fcn.100108d0
mov ecx, dword [eax]
lea edx, [ebx + 0x24]
push ebx
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xa0]
mov eax, dword [eax + 8]
add ecx, 0x30
push ecx
mov ecx, 0x1011dd58
mov dword [edx + 8], eax
call fcn.10077a50
xor edi, edi
mov eax, dword [0x1011dd9c]
mov ecx, dword [0x1011dda0]
mov edx, dword [0x1011dd98]
mov dword [0x1011de84], eax
mov eax, dword [0x1011de18]
mov dword [0x1011de88], ecx
mov ecx, dword [0x1011de1c]
mov dword [0x1011dd08], eax
mov eax, dword [0x1011dd18]
mov dword [0x1011de80], edx
mov edx, dword [0x1011dda4]
mov dword [0x1011dd0c], ecx
mov ecx, dword [0x1011dd3c]
mov dword [0x1011dcf8], eax
mov eax, dword [0x1011dd40]
mov dword [0x1011de8c], edx
mov edx, dword [0x1011de20]
push ecx
push eax
push eax
mov dword [esp + 0x9c], 0xffffffff
mov dword [0x1011dd10], edx
mov dword [0x1011dcfc], 4
mov dword [0x1011dd4c], edi
mov dword [0x1011de74], edi
mov dword [0x1011de78], edi
call fcn.10065bf0
mov edx, dword [0x1011dd40]
mov esi, eax
push edx
push esi
mov ecx, 0x1011dd38
call fcn.10053260
mov eax, dword [0x1011dea4]
mov dword [0x1011dd40], esi
push eax
mov eax, dword [0x1011dea8]
push eax
push eax
call fcn.10065bf0
mov ecx, dword [0x1011dea8]
mov esi, eax
push ecx
push esi
mov ecx, 0x1011dea0
call fcn.10053260
mov eax, dword [0x1011dcf8]
mov dword [0x1011dea8], esi
mov esi, eax
add eax, 0x14
mov dword [esp + 0x24], esi
mov dword [0x1011dcf8], eax
mov dword [esp + 0x20], esi
cmp esi, edi
mov dword [esp + 0x90], 1
je 0x1008fcf0
mov word [esi], di
mov word [esi + 2], di
mov eax, dword [0x1011de9c]
xor edx, edx
push edi
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
shl edx, cl
xor ecx, ecx
mov cl, byte [edx + eax]
mov dword [esp + 0x1c], ecx
push ecx
fild dword [esp + 0x20]
lea ecx, [esi + 4]
fmul dword [0x100f73ec]
fstp dword [esp]
push edi
call fcn.1000d380
mov edx, dword [esi + 8]
mov dword [esi + 0x10], edx
mov eax, dword [0x1011dcf8]
mov esi, eax
add eax, 0x14
mov dword [esp + 0x24], esi
mov dword [0x1011dcf8], eax
mov dword [esp + 0x20], esi
cmp esi, edi
mov dword [esp + 0x90], 2
je 0x1008fd68
mov eax, dword [ebp + 0xc]
mov word [esi + 2], di
mov word [esi], ax
mov edx, dword [0x1011de9c]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 0x10]
push edi
shl ebx, cl
mov ecx, dword [edx + 0x14]
mov edx, dword [edx]
and ecx, eax
xor eax, eax
push ecx
or ebx, ecx
mov al, byte [ebx + edx]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x100f73ec]
fstp dword [esp]
fild dword [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
fstp dword [esp]
call fcn.1000d380
mov ecx, dword [esi + 8]
mov dword [esi + 0x10], ecx
mov eax, dword [0x1011dcf8]
mov esi, eax
add eax, 0x14
mov dword [esp + 0x24], esi
mov dword [0x1011dcf8], eax
mov dword [esp + 0x20], esi
cmp esi, edi
mov dword [esp + 0x90], 3
je 0x1008fdef
mov eax, dword [ebp + 0xc]
push ecx
mov edx, eax
mov word [esi + 2], ax
mov word [esi], dx
mov edi, dword [0x1011de9c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov ebx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
fild dword [esp + 0x1c]
and eax, ebx
and edx, ebx
shl eax, cl
fstp dword [esp]
xor ecx, ecx
or eax, edx
mov edx, dword [edi]
mov cl, byte [eax + edx]
mov dword [esp + 0x1c], ecx
push ecx
fild dword [esp + 0x20]
fmul dword [0x100f73ec]
fstp dword [esp]
fild dword [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
fstp dword [esp]
call fcn.1000d380
mov edx, dword [esi + 8]
xor edi, edi
mov dword [esi + 0x10], edx
mov eax, dword [0x1011dcf8]
mov esi, eax
add eax, 0x14
mov dword [esp + 0x24], esi
mov dword [0x1011dcf8], eax
mov dword [esp + 0x20], esi
cmp esi, edi
mov dword [esp + 0x90], 4
je 0x1008fe63
mov eax, dword [ebp + 0xc]
mov word [esi], di
mov word [esi + 2], ax
mov edx, dword [0x1011de9c]
push ecx
mov dword [esp + 0x1c], eax
mov ebx, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
fild dword [esp + 0x1c]
and ebx, eax
mov eax, dword [edx]
shl ebx, cl
fstp dword [esp]
xor ecx, ecx
mov cl, byte [ebx + eax]
mov dword [esp + 0x1c], ecx
push ecx
fild dword [esp + 0x20]
lea ecx, [esi + 4]
fmul dword [0x100f73ec]
fstp dword [esp]
push edi
call fcn.1000d380
mov edx, dword [esi + 8]
mov dword [esi + 0x10], edx
mov eax, dword [0x1011de98]
mov dword [esp + 0x90], 0xffffffff
cmp eax, edi
jne 0x1008febe
push 0x700
call fcn.100ddb85
mov ecx, eax
add esp, 4
mov dword [0x1011de98], ecx
xor eax, eax
jmp 0x1008fe96
mov ecx, dword [0x1011de98]
lea edx, [eax + ecx + 0x1c]
mov dword [eax + ecx + 0xc], edx
add eax, 0x1c
cmp eax, 0x6e4
jl 0x1008fe90
mov eax, dword [0x1011de98]
xor edi, edi
mov dword [eax + 0x6f0], 0
mov eax, dword [0x1011de98]
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0xc]
cmp eax, edi
mov dword [0x1011de98], edx
je 0x1008feff
mov dword [eax], 2
mov word [eax + 4], 0x3f
mov word [eax + 6], 1
mov word [eax + 8], 2
mov word [eax + 0xa], di
mov dword [ecx], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov edx, dword [0x1011de98]
mov ebx, eax
jmp 0x1008ff01
xor ebx, ebx
cmp edx, edi
jne 0x1008ff4d
push 0x700
call fcn.100ddb85
mov ecx, eax
add esp, 4
mov dword [0x1011de98], ecx
xor eax, eax
jmp 0x1008ff24
mov ecx, dword [0x1011de98]
lea edx, [eax + ecx + 0x1c]
mov dword [eax + ecx + 0xc], edx
add eax, 0x1c
cmp eax, 0x6e4
jl 0x1008ff1e
mov eax, dword [0x1011de98]
xor edi, edi
mov dword [eax + 0x6f0], 0
mov edx, dword [0x1011de98]
lea ecx, [edx + 0xc]
mov eax, edx
cmp eax, edi
mov edx, dword [ecx]
mov dword [0x1011de98], edx
je 0x1008ff89
mov dword [eax], 3
mov word [eax + 4], 0x3f
mov word [eax + 6], 3
mov word [eax + 8], di
mov word [eax + 0xa], 2
mov dword [ecx], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov esi, eax
jmp 0x1008ff8b
xor esi, esi
mov dword [ebx + 0x14], esi
push ebx
mov ecx, ebp
mov dword [esi + 0x14], ebx
call fcn.1008ea20
push esi
mov ecx, ebp
call fcn.1008ea20
mov esi, dword [0x1011de98]
mov eax, dword [0x1011dd3c]
mov edx, dword [0x1011de78]
mov ecx, dword [0x1011dd40]
cmp eax, edi
je 0x10090035
mov ebx, ecx
sub ebx, eax
test ebx, 0xfffffffc
je 0x10090035
cmp edx, dword [ebp + 0x1c]
jge 0x10090035
mov dl, byte [0x1011dd48]
mov esi, dword [eax]
push edi
push edx
push ecx
push eax
call fcn.10091b00
mov eax, dword [0x1011dd40]
lea ecx, [eax - 4]
push ecx
add ecx, 4
push eax
push ecx
call fcn.10065bf0
mov eax, dword [0x1011dd40]
mov ecx, 0x1011dd38
push eax
add eax, 0xfffffffc
push eax
call fcn.10053260
mov ecx, dword [0x1011dd40]
sub ecx, 4
mov dword [0x1011dd40], ecx
mov eax, dword [esi]
cmp eax, edi
je 0x10090022
push esi
mov ecx, ebp
call fcn.1008f030
mov eax, dword [0x1011de98]
mov dword [esi + 0xc], eax
mov dword [0x1011de98], esi
jmp 0x1008ffa7
cmp dword [ebp + 8], edi
jne 0x10090042
mov dword [0x1011de78], edi
jmp 0x10090046
cmp edx, edi
jne 0x100900b0
xor edx, edx
mov ebx, dword [0x1011dea4]
cmp ebx, edi
je 0x1009007d
mov ebp, dword [0x1011dea8]
sub ebp, ebx
sar ebp, 2
cmp edx, ebp
jae 0x1009007d
mov eax, dword [ebx + edx*4]
inc edx
mov dword [eax + 0xc], esi
mov ecx, dword [0x1011dd40]
mov esi, eax
mov eax, dword [0x1011dd3c]
mov dword [0x1011de98], esi
jmp 0x10090048
xor edx, edx
cmp eax, edi
je 0x10090487
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x10090487
mov eax, dword [eax + edx*4]
inc edx
mov dword [eax + 0xc], esi
mov ecx, dword [0x1011dd40]
mov esi, eax
mov eax, dword [0x1011dd3c]
mov dword [0x1011de98], esi
jmp 0x1009007f
xor edi, edi
xor ebx, ebx
test eax, eax
je 0x10090113
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x10090113
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x18], eax
cmp dword [eax], 0
je 0x100900fa
mov edx, dword [0x1011dea8]
lea ecx, [esp + 0x18]
push ecx
push 1
push edx
mov ecx, 0x1011dea0
call fcn.100918f0
mov esi, dword [0x1011de98]
mov eax, dword [0x1011dd3c]
mov ecx, dword [0x1011dd40]
inc edi
inc ebx
jmp 0x100900b4
mov dword [eax + 0xc], esi
mov ecx, dword [0x1011dd40]
mov esi, eax
mov eax, dword [0x1011dd3c]
mov dword [0x1011de98], esi
inc ebx
jmp 0x100900b4
mov al, byte [ebp + 0x28]
test al, al
je 0x10090196
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
je 0x10090196
mov esi, dword [0x1011dcfc]
cmp eax, esi
jle 0x1009013b
mov eax, esi
mov dword [esp + 0x18], eax
fld dword [0x100f73b8]
fild dword [esp + 0x18]
mov edx, esi
sub edx, eax
fdivr dword [0x100f73d8]
cmp edx, esi
fstp dword [esp + 0x18]
jge 0x10090187
lea ecx, [edx + edx*4]
shl ecx, 2
mov esi, dword [0x1011dd18]
inc edx
fld dword [ecx + esi + 0x10]
fsub dword [ecx + esi + 8]
lea eax, [ecx + esi + 8]
add ecx, 0x14
fmul st(1)
fadd dword [eax]
fstp dword [eax]
mov esi, dword [0x1011dcfc]
fadd dword [esp + 0x18]
cmp edx, esi
jl 0x1009015d
fstp st(0)
mov eax, dword [0x1011dea4]
test eax, eax
jne 0x1009019e
xor ebx, ebx
jmp 0x100901a9
mov esi, dword [0x1011dcfc]
jmp 0x10090189
mov ebx, dword [0x1011dea8]
sub ebx, eax
sar ebx, 2
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], ebx
cmp esi, eax
jg 0x100901b9
cmp ebx, dword [ebp + 0x24]
jle 0x100901fb
add esi, 0x20
cmp esi, eax
jle 0x100901c3
mov dword [ebp + 0x20], esi
mov ecx, dword [ebp + 0x24]
lea eax, [ebx + 0x20]
cmp eax, ecx
jle 0x100901d0
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100901e3
mov ecx, dword [0x10116788]
push eax
call fcn.1004c740
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push 0
push eax
push ecx
mov ecx, dword [0x10116788]
call fcn.1004c640
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push 1
call fcn.100554c0
mov al, byte [ebp + 0x29]
xor edi, edi
test al, al
mov eax, dword [0x1011dcfc]
mov dword [esp + 0x18], edi
jne 0x100902cb
cmp eax, edi
jle 0x100903aa
xor ecx, ecx
xor edx, edx
jmp 0x1009022d
mov ecx, dword [esp + 0x14]
mov eax, dword [0x1011dd18]
inc edi
fild dword [ebp + 0xc]
mov esi, dword [ecx + eax + 4]
lea eax, [ecx + eax + 4]
add ecx, 0x14
mov dword [esp + 0x50], esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [esp + 0x58], esi
mov ecx, dword [ecx + 0x18]
mov esi, edx
fsub dword [eax + 8]
add ecx, esi
add edx, 0x2c
mov esi, ecx
mov dword [esi], ebx
mov ebx, dword [eax + 4]
fst dword [esp + 0x54]
mov dword [esi + 4], ebx
mov eax, dword [eax + 8]
fstp dword [esp + 0x5c]
mov dword [esi + 8], eax
mov esi, dword [0x1011dd28]
lea eax, [ecx + 0xc]
add ecx, 0x1c
mov dword [eax], esi
mov esi, dword [0x1011dd2c]
mov dword [eax + 4], esi
mov esi, dword [0x1011dd30]
mov dword [ecx - 4], 0xffffffff
mov dword [eax + 8], esi
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1011dcfc]
cmp edi, eax
jl 0x10090229
jmp 0x100903a6
cmp eax, edi
jle 0x100903aa
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [0x1011dd18]
mov edx, dword [esp + 0x14]
fild dword [ebp + 0xc]
lea esi, [edx + ecx + 4]
fsub dword [esi + 8]
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
fst dword [esp + 0x40]
fstp dword [esp + 0x48]
fld dword [esi + 8]
call fcn.100dde6c
fld dword [esi]
push eax
call fcn.100dde6c
lea edx, [esp + 0x54]
push eax
push edx
mov ecx, ebp
call fcn.1008e640
mov ecx, dword [eax]
inc edi
mov dword [esp + 0x28], ecx
mov ecx, ebx
mov edx, dword [eax + 4]
add ebx, 0x2c
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
add eax, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x18]
mov edx, dword [esi]
add eax, ecx
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 0x18], 0xffffffff
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x28]
lea ecx, [eax + 0xc]
add eax, 0x1c
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [0x1011dcfc]
cmp edi, eax
jl 0x100902d9
mov ebx, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x14], ecx
jle 0x10090430
xor edx, edx
mov eax, dword [0x1011dea4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x10090419
movsx ecx, word [eax + 8]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x1c], ecx
mov ecx, edx
inc ebx
add edx, 6
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], ebx
mov bx, word [eax + 6]
mov esi, dword [edx + 8]
mov word [ecx + esi], bx
mov esi, dword [edx + 8]
mov bx, word [esp + 0x1c]
mov word [ecx + esi + 2], bx
mov edx, dword [edx + 8]
mov si, word [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov word [ecx + edx + 4], si
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov esi, dword [0x1011de98]
inc ecx
mov dword [eax + 0xc], esi
cmp ecx, ebx
mov dword [0x1011de98], eax
mov dword [esp + 0x14], ecx
jl 0x100903b6
mov ecx, dword [ebp + 8]
call fcn.10055550
cmp edi, dword [0x1011dd00]
jle 0x10090446
mov dword [0x1011dd00], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [0x1011de90]
cmp eax, ecx
jle 0x10090459
mov dword [0x1011de90], eax
fild dword [0x1011dd00]
mov ecx, dword [esp + 0x98]
push eax
push 0
push edi
fstp dword [0x1011af28]
fild dword [0x1011de90]
push 0
fstp dword [0x1011af2c]
mov eax, dword [ebp + 8]
push eax
call fcn.10081dc0
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8