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

Disassembly:
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x10102670
push eax
call dword [ecx]
test eax, eax
jl 0x1005895a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10058950
mov eax, dword [esp + 0x3c]
mov ecx, 4
mov edi, 0x10102700
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10058904
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x74]
push edx
lea edx, [esp + 0xb8]
add byte [edx + 0x6a], dl
add byte [eax - 1], dl
push ecx
adc al, 0x85
ror byte [edi], 0x8c
invalid
add eax, dword [eax]
invalid
mov eax, dword [esp + 0x74]
fld dword [eax + 0x30]
lea esi, [esp + 0x90]
fstp dword [esp + 0x20]
fld dword [eax + 0x34]
lea edi, [esp + 0xc4]
fstp dword [esp + 0x24]
fld dword [eax + 0x38]
fstp dword [esp + 0x28]
fld dword [eax + 0x20]
fstp dword [esp + 0x5c]
fld dword [eax + 0x24]
fstp dword [esp + 0x60]
fld dword [eax + 0x28]
fstp dword [esp + 0x64]
fld dword [eax + 0x10]
fstp dword [esp + 0x48]
fld dword [eax + 0x14]
fstp dword [esp + 0x4c]
and al, 0x4c
fld dword [eax + 0x18]
fstp dword [esp + 0x50]
fld dword [eax]
fstp dword [esp + 0x30]
fld dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x48]
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa4], edx
add byte [eax], al
add byte [ebx - 0x769bdbac], cl
mov word [esp + ebp*4], fs
add byte [eax], al
add byte [ecx + 0xa82484], cl
add byte [eax], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x28]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xe8], eax
mov al, byte [0x1012be01]
test al, al
mov dword [esp + 0xec], ecx
in al, dx
add byte [eax], al
add byte [ecx + 0xf02494], cl
xchg esp, eax
and al, 0xf0
add byte [eax], al
invalid
je 0x100588f3
mov eax, dword [0x1012b68c]
mov ebp, eax
and ebp, 0x3f
lea ebp, [ebp + ebp*2]
shl ebp, 4
add ebp, 0x101301a8
inc eax
mov ecx, 0x1012bdd0
mov dword [0x1012b68c], eax
call fcn.10068b57
mov esi, eax
mov ecx, 9
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
fld dword [0x1012bdfc]
fchs
push ecx
fstp dword [esp]
push ecx
fadd dword [eax]
fstp dword [esp]
call fcn.10065925
mov ecx, dword [esp + 0x78]
dec esp
and al, 0x78
lea eax, [ebx + 0x24]
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
or byte [ebx + 0x12b68c0d], cl
adc byte [ebx + 0x3fe083c1], cl
lea edi, [eax + eax*2]
shl edi, 4
add edi, 0x101301a8
inc ecx
mov dword [0x1012b68c], ecx
or eax, 0x1012b68c
push ebp
mov ecx, ebx
mov dword [esp + 0x58], edi
and al, 0x58
call fcn.100659dd
mov edx, dword [esp + 0x44]
mov esi, eax
mov ecx, 9
push edx
lea eax, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.10068dca
mov ecx, dword [esp + 0x70]
push ecx
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp]
push ecx
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp]
push ecx
fld dword [eax]
fadd dword [ecx]
lea ecx, [esp + 0x90]
fstp dword [esp]
call fcn.100659b6
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x18]
sbb byte [ebp + 0x1189244e], cl
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, 0xc
add byte [eax], al
lea edi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc4]
push eax
mov ecx, ebp
call fcn.100c2b92
jmp 0x10058950
mov ecx, 4
mov edi, 0x10102730
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1005892c
mov al, byte [0x1012bdc8]
test al, al
jne 0x10058950
mov eax, dword [esp + 0x14]
push ebp
push eax
call fcn.100b01ba
jmp 0x10058950
mov ecx, 4
mov edi, 0x10102710
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10058950
mov eax, dword [esp + 0x14]
push eax
call fcn.100b0d58
push ebp
mov ecx, eax
call fcn.100c2510
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [eax + 0x1c]
test eax, eax
jge 0x100585a6
mov ecx, dword [esp + 0x168]
pop edi
pop esi
mov eax, ebp
pop ebp