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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, ecx
mov dword [esp + 0xc], 1
lea eax, [ebx + 0xa8]
mov dword [esp + 8], 0
mov dword [eax], 0
push ebp
mov dword [eax + 4], 0
lea ebp, [ebx + 8]
mov ecx, dword [ebp + 0x7c]
push esi
mov esi, dword [ebp + 0x78]
mov dword [esp + 0x30], eax
mov eax, esi
push edi
and eax, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ecx
mov edi, edx
mov dword [esp + 0x1c], edi
cmp eax, 0xffffffff
je 0x55f4a3
mov eax, dword [ebp + 0x90]
mov edx, dword [ebp + 0x94]
and eax, edx
cmp eax, 0xffffffff
je 0x55f4a3
push ecx
push esi
push edx
push dword [ebp + 0x90]
call fcn.005667c0
mov ecx, edx
mov dword [esp + 0x18], eax
push ecx
push eax
push dword [esp + 0x18]
mov dword [esp + 0x20], ecx
push esi
call fcn.00566700
cmp eax, dword [ebp + 0x90]
jne 0x55f497
cmp edx, dword [ebp + 0x94]
je 0x55f4b1
add dword [esp + 0x18], 1
adc dword [esp + 0x14], 0
jmp 0x55f4b1
xor esi, esi
mov dword [esp + 0x10], 0x40000000
mov dword [esp + 0x20], esi
mov eax, dword [ebx]
mov ecx, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
shrd ecx, eax, 0xa
shr eax, 0xa
add ecx, esi
adc eax, dword [esp + 0x10]
add ecx, 0x450
adc eax, 0
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0055b6c0
push dword [esp + 0x10]
mov esi, eax
lea ecx, [esp + 0x54]
push dword [esp + 0x24]
add ecx, esi
call fcn.0055b6c0
lea ecx, [esi + eax]
mov eax, dword [esp + 0x14]
mul ecx
mov esi, eax
mov eax, dword [esp + 0x18]
mul ecx
add esi, edx
mov ecx, eax
mov eax, dword [ebx + 0xb0]
mov dword [esp + 0x20], esi
mov esi, dword [ebx + 0xac]
sub eax, esi
mov edx, dword [esp + 0x20]
test edx, edx
jb 0x55f5a8
ja 0x55f52c
cmp ecx, eax
jbe 0x55f5a8
xor eax, eax
add esi, ecx
adc eax, edx
xor ecx, ecx
cmp ecx, eax
jne 0x55f5ff
mov eax, dword [esp + 0x24]
mov edx, esi
mov ecx, eax
mov eax, dword [eax]
call eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x55f557
mov eax, 2
jmp 0x55f5a0
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x55f571
push ecx
push dword [ebx + 0xb4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [ebx + 0xb4]
lea eax, [ebx + 0xb4]
test edx, edx
je 0x55f592
mov eax, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
lea eax, [ebx + 0xb4]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
xor eax, eax
mov dword [ebx + 0xb0], esi
test eax, eax
jne 0x55f9a3
mov eax, dword [0x58d160]
mov edx, 2
movzx ecx, word [ebp + 0x70]
mov dword [esp + 0x28], eax
mov ax, word [0x58d164]
mov word [esp + 0x2c], ax
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2f], cl
lea ecx, [esp + 0x2e]
mov byte [esp + 0x2e], al
call fcn.00564340
mov dword [esp + 0x30], eax
lea edx, [esp + 0x28]
mov eax, dword [edi]
mov ecx, edi
push 0xc
call eax
cmp eax, 0xc
je 0x55f60e
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x60
ret 8
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x60
ret 8
cmp dword [ebp + 0x80], 1
jle 0x55f75c
cmp dword [ebx + 0xef4], 0
jne 0x55f639
lea ecx, [ebx + 0xef8]
mov dword [ebx + 0xef4], 1
call fcn.00554270
mov eax, dword [ebp + 0x70]
lea edi, [ebx + 8]
mov dword [ebx + 0xeec], eax
lea edx, [ebx + 0xef8]
mov eax, dword [ebx + 4]
mov ecx, 0x26
mov esi, ebp
mov dword [esp + 0x28], 0x55f9f0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [ebx + 0xf18], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0xf14], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0xf08], eax
lea eax, [esp + 0x28]
mov dword [ebx + 0xf1c], eax
mov dword [ebx + 0xef0], esi
mov dword [ebx + 0xf0c], 0
mov dword [ebx + 0xf10], 0
mov dword [ebx + 0xf20], ebx
mov ecx, dword [ebp + 0x78]
mov eax, ecx
mov edi, dword [ebp + 0x7c]
and eax, edi
mov dword [esp + 0x2c], 0x55fb10
cmp eax, 0xffffffff
je 0x55f74d
mov eax, ecx
or eax, edi
je 0x55f74d
mov dword [edx], ecx
xor eax, eax
cmp ecx, dword [ebp + 0x78]
jne 0x55f878
cmp eax, dword [ebp + 0x7c]
jne 0x55f878
mov edi, ecx
shr edi, 0xa
add edi, 0x450
add edi, ecx
cmp edi, ecx
jb 0x55f878
cmp dword [ebx + 0xdb8], edi
je 0x55f706
mov ecx, ebx
call fcn.0055f9b0
mov edx, dword [ebx + 0xa4]
lea ecx, [ebx + 0xef8]
mov dword [ebx + 0xdb8], edi
mov eax, dword [ebp + 0x84]
mov dword [ebx + 0xefc], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebx + 0xf00], eax
mov dword [ebx + 0xf04], edx
call fcn.00554070
test eax, eax
je 0x55f995
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x60
ret 8
mov eax, dword [esp + 0x78]
xor esi, esi
mov edx, dword [ebp + 0x78]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x10], esi
and eax, dword [ebp + 0x7c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], 0x55ec30
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x14], ecx
cmp eax, 0xffffffff
je 0x55f84a
mov eax, dword [ebp + 0x8c]
test eax, eax
setg cl
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x55f84a
mov esi, dword [ebp + 0x7c]
xor eax, eax
cmp eax, esi
jne 0x55f878
mov eax, edx
mov dword [esp + 0x24], 0
shr eax, 0xa
add eax, 0x50
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], esi
jb 0x55f878
ja 0x55f7ea
cmp eax, edx
jb 0x55f878
add eax, 0x400
cmp dword [ebx + 0xdbc], 0
je 0x55f800
cmp eax, dword [ebx + 0xdb8]
je 0x55f83a
mov ecx, ebx
call fcn.0055f9b0
mov esi, dword [ebx]
mov ecx, esi
mov edx, dword [esp + 0x18]
mov esi, dword [esi]
lea edx, [edx + 0x400]
call esi
mov dword [ebx + 0xdbc], eax
test eax, eax
je 0x55f5ff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0x400
mov dword [ebx + 0xdb8], eax
mov esi, dword [ebx + 0xdbc]
add esi, 0x400
mov dword [esp + 0x10], esi
xor eax, eax
lea edx, [esp + 0x38]
cmp dword [esp + 0x78], eax
cmove edx, eax
test ecx, ecx
mov dword [esp + 0x20], edx
cmovne edi, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x55f887
mov eax, dword [ebx + 0xdbc]
jmp 0x55f889
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x60
ret 8
xor eax, eax
push dword [ebx + 4]
lea ecx, [esp + 0x54]
push dword [ebx]
push ecx
lea ecx, [esp + 0x30]
push ecx
push edx
push ebp
push 0
push 0
push dword [esp + 0x94]
mov edx, edi
lea ecx, [ebx + 0xb8]
push dword [esp + 0x3c]
push esi
push eax
call fcn.0055ff90
test eax, eax
jne 0x55f9a3
mov eax, dword [esp + 0x58]
xor esi, esi
mov ecx, dword [esp + 0x5c]
mov edi, eax
neg edi
and edi, 3
add edi, eax
adc esi, ecx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x78], esi
je 0x55f936
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov esi, dword [esp + 0x60]
mov edx, dword [ebx + 0xdbc]
push esi
mov eax, dword [eax]
call eax
xor edx, edx
mov ecx, 9
cmp eax, esi
cmove ecx, edx
jne 0x55f985
mov eax, dword [esp + 0x1c]
mov esi, edi
sub esi, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x10]
push esi
mov eax, dword [eax]
call eax
xor edx, edx
mov ecx, 9
cmp eax, esi
cmove ecx, edx
jne 0x55f985
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx]
push ecx
push eax
push dword [esp + 0x5c]
lea ecx, [ebx + 0xa8]
push dword [esp + 0x5c]
call fcn.0055efe0
test eax, eax
jne 0x55f9a3
mov eax, dword [esp + 0x50]
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
adc dword [esp + 0x44], eax
add dword [esp + 0x48], edi
adc dword [esp + 0x4c], esi
cmp dword [esp + 0x24], 0
jne 0x55f991
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
jmp 0x55f864
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x60
ret 8
mov esi, dword [esp + 0x1c]
mov dx, word [ebp + 0x70]
mov ecx, dword [esp + 0x34]
push esi
call fcn.0055f0d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8