Function at 0x100815c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb8
mov al, byte [0x101391f8]
test al, 1
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
jne 0x10081607
or al, 1
mov byte [0x101391f8], al
mov eax, 0x10138fc0
mov ecx, 0x30
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax], edx
add eax, 0xc
dec ecx
jne 0x100815ea
push 0x10082090
call fcn.1009d0d4
add esp, 4
mov cl, byte [0x101391f8]
mov al, 2
test al, cl
jne 0x10081642
or cl, al
mov byte [0x101391f8], cl
mov eax, 0x10138f80
mov ecx, 3
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax], edx
add eax, 0xc
dec ecx
jne 0x10081625
push 0x10082080
call fcn.1009d0d4
add esp, 4
mov edi, dword [ebx + 0x20]
push 0
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.10011570
mov ebp, dword [esp + 0xd0]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call fcn.10010d90
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x28], edx
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov esi, 1
push esi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.10011570
push eax
lea edx, [esp + 0x84]
push edx
mov ecx, ebp
call fcn.10010d90
push eax
lea ecx, [esp + 0x24]
call fcn.10080a50
inc esi
cmp esi, 8
jl 0x10081696
mov esi, dword [esp + 0xcc]
fld dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 1
je 0x100816e1
fld dword [esp + 0x2c]
jmp 0x100816e4
fld dword [ecx + 0xc]
fld dword [esp + 0x20]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x100816f7
fld dword [esp + 0x20]
jmp 0x100816f9
fld dword [ecx]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x10081b74
fld dword [esp + 0x30]
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 1
je 0x1008171e
fld dword [esp + 0x30]
jmp 0x10081721
fld dword [ecx + 0x10]
fld dword [esp + 0x24]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 0x41
jne 0x10081735
fld dword [esp + 0x24]
jmp 0x10081738
fld dword [ecx + 4]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x10081b74
fld dword [esp + 0x34]
fcomp dword [ecx + 0x14]
fnstsw ax
test ah, 1
je 0x1008175d
fld dword [esp + 0x34]
jmp 0x10081760
fld dword [ecx + 0x14]
fld dword [esp + 0x28]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x10081774
fld dword [esp + 0x28]
jmp 0x10081777
fld dword [ecx + 8]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x10081b74
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10081b74
mov edx, dword [ebx + 0x2c]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x10081b74
mov edi, dword [eax + ecx*4]
push 0
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
mov dword [esp + 0x60], edi
call fcn.10011570
push eax
lea edx, [esp + 0xc0]
push edx
mov ecx, ebp
call fcn.10010d90
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov ebx, 1
push ebx
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.10011570
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebp
call fcn.10010d90
push eax
lea ecx, [esp + 0x3c]
call fcn.10080a50
inc ebx
cmp ebx, 8
jl 0x10081800
mov byte [esp + 0x13], 0
xor ecx, ecx
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esp + 0x54], ecx
je 0x10081b51
mov edx, dword [esi + 0x2c]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x10081b51
mov edx, dword [eax + ecx*4]
fld dword [esp + 0x44]
fcomp dword [edx + 0xc]
mov dword [esp + 0x50], edx
fnstsw ax
test ah, 1
je 0x10081871
fld dword [esp + 0x44]
jmp 0x10081874
fld dword [edx + 0xc]
fld dword [esp + 0x38]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jne 0x10081887
fld dword [esp + 0x38]
jmp 0x10081889
fld dword [edx]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x10081b4b
fld dword [esp + 0x48]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 1
je 0x100818ae
fld dword [esp + 0x48]
jmp 0x100818b1
fld dword [edx + 0x10]
fld dword [esp + 0x3c]
fcomp dword [edx + 4]
fnstsw ax
test ah, 0x41
jne 0x100818c5
fld dword [esp + 0x3c]
jmp 0x100818c8
fld dword [edx + 4]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x10081b4b
fld dword [esp + 0x4c]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 1
je 0x100818ed
fld dword [esp + 0x4c]
jmp 0x100818f0
fld dword [edx + 0x14]
fld dword [esp + 0x40]
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x41
jne 0x10081904
fld dword [esp + 0x40]
jmp 0x10081907
fld dword [edx + 8]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x10081b4b
mov al, byte [esp + 0x13]
test al, al
jne 0x10081a52
xor ebx, ebx
mov ebp, 0x10138fc4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10081a4d
mov ecx, dword [edi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x10081a4d
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [edx + ebx*4]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0xd0]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
lea edi, [edx + 0x24]
push edi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0xd8]
push eax
lea edx, [esp + 0xbc]
push edx
call fcn.10010920
mov ecx, eax
call fcn.10010d60
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
lea eax, [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esi + 8]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea eax, [ecx + edx*4]
mov ecx, dword [esp + 0xd0]
push edi
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.10010920
mov ecx, eax
call fcn.10010d60
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov esi, dword [esi + 0xc]
push edi
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0xd8]
lea eax, [esi + esi*2]
lea eax, [edx + eax*4]
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.10010920
mov ecx, eax
call fcn.10010d60
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0x58]
lea eax, [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
inc ebx
mov dword [eax + 8], ecx
add ebp, 0x24
jmp 0x1008192b
mov byte [esp + 0x13], 1
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x10081b40
mov ebx, dword [edx + 0x28]
sub ebx, ecx
sar ebx, 2
cmp eax, ebx
jae 0x10081b40
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx*2]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx]
mov dword [0x10138f78], ebx
mov ebx, dword [ecx + 4]
mov dword [0x10138f7c], ebx
mov ecx, dword [ecx + 8]
mov dword [0x10138f80], ecx
mov ecx, dword [eax + 8]
mov ebx, dword [esi + 4]
lea ecx, [ecx + ecx*2]
lea ecx, [ebx + ecx*4]
mov ebx, dword [ecx]
mov dword [0x10138f84], ebx
mov ebx, dword [ecx + 4]
mov dword [0x10138f88], ebx
mov ecx, dword [ecx + 8]
mov dword [0x10138f8c], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov dword [0x10138f90], ecx
mov ecx, dword [eax + 4]
mov dword [0x10138f94], ecx
mov eax, dword [eax + 8]
mov dword [0x10138f98], eax
xor ebx, ebx
mov ebp, 0x10138fb8
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10081b32
mov ecx, dword [edi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x10081b32
push 0x10138f78
push ebp
call fcn.10081b90
test al, al
jne 0x10081b65
push ebp
push 0x10138f78
call fcn.10081b90
test al, al
jne 0x10081b65
mov edx, dword [esp + 0x50]
inc ebx
add ebp, 0x24
jmp 0x10081af7
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x10081a58
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0xd0]
inc ecx
jmp 0x10081837
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x1c], eax
mov ecx, eax
jmp 0x1008178e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xb8
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb8
ret 8