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

Disassembly:
sub esp, 0x19c
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov edx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x7c], eax
push ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x84], eax
push ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x8c], eax
push esi
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov ecx, 0x40
lea edi, [esp + 0xac]
rep stosd dword es:[edi], eax
lea edi, [edx + 0x9c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0x20], edi
call dword [edx + 0x2c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x55ab27
lea ebp, [esp + 0xac]
jmp 0x55a9e0
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x55ab18
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, eax
cmp esi, ebx
je 0x55ab18
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x40]
call dword [eax + 0x18]
cmp word [esi + 0x9e], bx
jne 0x55aa28
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
jmp 0x55ab18
cmp word [esi + 0x64], bx
jne 0x55ab18
lea edi, [esi + 0x98]
mov ecx, edi
call fcn.0068d3c0
mov ebx, eax
lea ecx, [ebx + 1]
cmp ecx, 0xa
jge 0x55aa5f
lea esp, [esp]
cmp dword [esp + ebx*4 + 0x54], 6
jb 0x55aa5f
add ebx, 1
cmp ebx, 9
jl 0x55aa50
cmp ebx, 0xa
mov dword [ebp], ebx
jl 0x55aa6c
mov ebx, 9
push 0
mov ecx, edi
call fcn.0068d2a0
mov edx, dword [eax + 0x8f0]
push edx
mov ecx, esi
call fcn.0069b930
push 0
mov ecx, esi
call fcn.0069e1b0
push 0
mov ecx, esi
call fcn.0069da20
mov eax, dword [esi + 0x120]
push 0
push 0x861230
push 0x861214
push 0
push eax
call fcn.0071f44c
mov edi, eax
add esp, 0x14
test edi, edi
je 0x55ab14
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
movzx eax, ax
mov dword [esi + 0xe0], eax
mov edx, dword [edi]
sub ax, 1
mov ecx, edi
push eax
call dword [edx + 0x2c]
movzx ecx, ax
mov dword [esi + 0xe4], ecx
movzx edx, word [edi + 0xe]
imul edx, dword [esi + 0xe0]
mov dword [esi + 0xe0], edx
movzx eax, word [edi + 0xe]
imul eax, ecx
add dword [esp + ebx*4 + 0x2c], eax
mov dword [esi + 0xe4], eax
mov esi, edx
cmp esi, dword [esp + ebx*4 + 0x7c]
jle 0x55ab0b
mov dword [esp + ebx*4 + 0x7c], esi
add dword [esp + ebx*4 + 0x54], 1
lea ebx, [esp + ebx*4 + 0x54]
mov edi, dword [esp + 0x20]
xor ebx, ebx
add ebp, 4
cmp dword [esp + 0x1c], ebx
jne 0x55a9e0
xor esi, esi
xor ebp, ebp
jmp 0x55ab30
mov eax, dword [esp + ebp*4 + 0x54]
test eax, eax
je 0x55abef
cmp eax, 1
jbe 0x55ab4b
add eax, 0xffffffff
shl eax, 6
add dword [esp + ebp*4 + 0x2c], eax
mov eax, dword [esp + ebp*4 + 0x2c]
mov edx, dword [edi]
shr eax, 1
neg eax
mov ebx, eax
mov eax, 0xffffffc0
sub eax, dword [esp + ebp*4 + 0x7c]
mov dword [esp + 0x24], esi
add esi, eax
mov ecx, edi
mov dword [esp + 0x14], esi
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x55abef
lea eax, [esp + 0xac]
mov dword [esp + 0x10], eax
mov edx, dword [edi]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [eax]
test ecx, ecx
je 0x55abdf
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, eax
test ecx, ecx
je 0x55abdf
cmp word [ecx + 0x9e], 0
je 0x55abdf
cmp word [ecx + 0x64], 0
jne 0x55abdf
mov eax, dword [esp + 0x10]
cmp dword [eax], ebp
jne 0x55abdf
mov esi, dword [ecx + 0xe4]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0xe0], edx
mov eax, esi
cdq
sub eax, edx
mov dword [ecx + 0xe4], ebx
sar eax, 1
add dword [ecx + 0xe4], eax
lea ebx, [ebx + esi + 0x40]
add dword [esp + 0x10], 4
cmp dword [esp + 0x1c], 0
jne 0x55ab82
mov esi, dword [esp + 0x14]
add ebp, 1
cmp ebp, 0xa
jl 0x55ab30
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x55ad63
mov ebp, dword [esp + 0x1b0]
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [eax]
test ecx, ecx
je 0x55ad58
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x55ad58
cmp word [esi + 0x64], 0
jne 0x55ad58
mov eax, dword [esi + 0xe4]
fld dword [esp + 0x1b8]
mov edx, dword [esi + 0xe0]
fchs
mov ecx, dword [esp + 0x1b4]
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
sub esp, 0xc
add edx, ebp
fstp dword [esp + 8]
mov dword [esp + 0x24], edx
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
call fcn.005de050
add esp, 0x18
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esi + 0x24]
call fcn.00611d80
mov ebx, dword [eax]
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
cdq
and edx, 7
add eax, edx
mov ecx, eax
push 0x80
push 0
mov eax, ebx
cdq
push 0x30
and edx, 7
add eax, edx
sub esp, 8
mov edi, esp
sar eax, 3
sar ecx, 3
mov dword [edi], eax
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00623390
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
add ecx, ecx
add eax, eax
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x34], ecx
add eax, eax
add eax, eax
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x1c], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
mov eax, dword [esp + 0x1b8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x1c0]
push 1
mov ecx, esi
call fcn.0069e1b0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x110]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x10], 0
jne 0x55ac15
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret 0xc