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

Disassembly:
sub esp, 0x1a0
push esi
mov esi, dword [esp + 0x1a8]
cmp dword [esi + 0x58], 2
jge 0x55b711
mov eax, 0xffffff7d
pop esi
add esp, 0x1a0
ret
mov eax, dword [esi + 4]
test eax, eax
jne 0x55b725
mov eax, 0xffffff76
pop esi
add esp, 0x1a0
ret
push ebx
mov ebx, dword [esp + 0x1b4]
test ebx, ebx
push edi
jl 0x55b9ca
mov edi, dword [esp + 0x1b4]
jg 0x55b747
test edi, edi
jb 0x55b9ca
cmp ebx, dword [esi + 0x14]
jg 0x55b9ca
jl 0x55b75b
cmp edi, dword [esi + 0x10]
ja 0x55b9ca
or eax, 0xffffffff
push ebp
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.0055b230
push ebx
push edi
mov eax, esi
call fcn.0055a830
lea eax, [esp + 0x50]
push 0xffffffffffffffff
xor ebp, ebp
push eax
mov dword [esp + 0x20], ebp
call fcn.0055d2c0
mov ebx, dword [esp + 0x24]
add esp, 0x10
lea esp, [esp]
mov eax, dword [esi + 0x58]
mov edi, 3
cmp eax, edi
jne 0x55b823
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0055db90
add esp, 8
test eax, eax
jle 0x55b823
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x48]
shl eax, 5
add eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x55b7da
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0055e5d0
add esp, 8
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x55b7ee
lea eax, [esi + 0x78]
push 0
push eax
call fcn.0055db90
add esp, 8
jmp 0x55b805
test ebp, ebp
je 0x55b805
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, ebp
sar ecx, 2
add eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, edi
and edx, ecx
cmp edx, 0xffffffff
jne 0x55b90d
mov ebp, dword [esp + 0x14]
jmp 0x55b790
test ebp, ebp
jne 0x55b9a7
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.0055a870
add esp, 0xc
test edx, edx
jl 0x55b96c
jg 0x55b84e
test eax, eax
jb 0x55b96c
cmp dword [esi + 0x58], edi
jne 0x55b87c
lea ecx, [esp + 0x18]
push ecx
call fcn.0055d290
mov ecx, dword [esi + 0x5c]
add esp, 4
cmp ecx, eax
je 0x55b879
call fcn.0055b230
lea edx, [esp + 0x48]
push edx
call fcn.0055d330
add esp, 4
cmp dword [esi + 0x58], edi
jge 0x55b8dc
lea eax, [esp + 0x18]
push eax
call fcn.0055d290
mov edi, dword [esi + 0x34]
add esp, 4
xor ecx, ecx
test edi, edi
mov dword [esi + 0x5c], eax
jle 0x55b8af
mov edx, dword [esi + 0x40]
lea ebx, [ebx]
cmp dword [edx], eax
je 0x55b8af
mov ebx, dword [esi + 0x34]
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x55b8a0
cmp ecx, edi
je 0x55b97c
mov dword [esi + 0x60], ecx
push eax
lea ecx, [esi + 0x78]
push ecx
call fcn.0055d9f0
mov edx, dword [esi + 0x5c]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0055d9f0
add esp, 0x10
mov dword [esi + 0x58], 3
lea ecx, [esp + 0x18]
push ecx
lea edx, [esi + 0x78]
push edx
call fcn.0055d6c0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0055d6c0
lea edx, [esp + 0x28]
push edx
call fcn.0055d1f0
add esp, 0x14
mov ebx, eax
jmp 0x55b790
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x44]
mov ebx, edx
shl ebx, 4
sub edi, dword [ebx + eax]
sbb ecx, dword [ebx + eax + 4]
test ecx, ecx
jg 0x55b92d
jl 0x55b929
test edi, edi
jae 0x55b92d
xor edi, edi
xor ecx, ecx
test edx, edx
jle 0x55b943
add eax, 8
mov ebx, dword [eax]
add edi, ebx
mov ebx, dword [eax + 4]
adc ecx, ebx
add eax, 0x10
dec edx
jne 0x55b934
mov eax, dword [esp + 0x10]
cdq
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x54], ecx
lea ecx, [esp + 0x48]
push ecx
mov dword [esi + 0x50], edi
call fcn.0055d330
add esp, 4
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x1a0
ret
push 0xffffffffffffffff
push esi
call fcn.0055b680
add esp, 8
mov dword [esi + 0x54], edx
jmp 0x55b9ad
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea eax, [esp + 0x48]
push eax
call fcn.0055d330
add esp, 4
call fcn.0055b230
pop ebp
pop edi
pop ebx
mov eax, 0xffffff77
pop esi
add esp, 0x1a0
ret
or eax, 0xffffffff
mov dword [esi + 0x54], eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esi + 0x50], eax
call fcn.0055d330
add esp, 4
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x1a0
ret
pop edi
pop ebx
mov eax, 0xffffff7d
pop esi
add esp, 0x1a0
ret