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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, ecx
mov ecx, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
mov dword [eax], 0
mov dword [edi], 0
cmp dword [esi + 0x18], 0
mov dword [esp + 0x20], edx
je 0x55b81c
mov eax, dword [esi + 0x1c]
pop edi
pop esi
add esp, 0x24
ret 0x18
cmp dword [esi + 0xc], 0
lea eax, [esi + 0x20]
push ebx
push ebp
mov dword [eax], 2
je 0x55b908
mov ebx, dword [esp + 0x48]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
push ebx
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x78]
xor edx, edx
push eax
mov eax, dword [esi + 0x88]
call eax
mov edx, dword [esi + 0x20]
mov ebp, eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x1c], ebp
mov dword [edi], ecx
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], edx
mov dword [esi + 0x14], eax
test ebp, ebp
jne 0x55b88d
test ebx, ebx
jne 0x55b88d
cmp edx, 1
jne 0x55b894
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x55b8ae
mov eax, dword [esp + 0x38]
mov dword [eax], edi
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x18
cmp dword [esi + 0x18], 0
je 0x55b8fc
mov ebx, 1
cmp ecx, ebx
jbe 0x55b8f6
mov ebp, dword [esp + 0x3c]
lea edi, [esi + 0x90]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 0x14]
call eax
cmp dword [esp + 0x4c], 1
je 0x55b8e6
test ebp, ebp
je 0x55b8e9
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x14], ecx
jne 0x55b8e9
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x18
cmp ebx, dword [esi + 8]
jb 0x55b8c7
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x18
cmp dword [esi + 8], 1
je 0x55b944
cmp dword [esi + 4], 0
jne 0x55b93a
mov eax, dword [esi]
mov edx, 0x60000
mov ecx, eax
mov eax, dword [eax]
call eax
mov dword [esi + 4], eax
test eax, eax
jne 0x55b937
pop ebp
pop ebx
pop edi
mov eax, 2
pop esi
add esp, 0x24
ret 0x18
lea eax, [esi + 0x20]
mov dword [esp + 0x1c], 0
jmp 0x55b94c
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 8]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], 1
mov dword [eax], 2
test edx, edx
je 0x55baed
nop dword [eax]
lea eax, [edi + 5]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x55b9a7
mov eax, dword [esp + 0x48]
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
sub ecx, dword [eax]
jmp 0x55b9ca
mov eax, dword [esi + edi*4 + 0x2c]
lea ebp, [edi - 1]
mov ecx, dword [esi + edi*4 + 0x38]
shl ebp, 0x11
add ebp, eax
mov dword [esp + 0x3c], eax
add ebp, dword [esi + 4]
mov eax, dword [esi + edi*4 + 0x20]
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [edx - 1]
mov dword [esp + 0x3c], ecx
cmp edi, eax
jne 0x55b9e5
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, dword [ecx]
jmp 0x55ba00
mov eax, dword [esi + edi*4 + 0x30]
cmp eax, dword [esi + edi*4 + 0x3c]
jne 0x55bac7
mov edx, edi
mov eax, 0x20000
shl edx, 0x11
add edx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + edi*4 + 0x68]
test eax, eax
je 0x55ba1f
mov ebp, dword [esp + 0x4c]
test ebx, ebx
jne 0x55bacb
mov ebx, eax
jmp 0x55bacb
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push dword [esp + 0x28]
push eax
push ebp
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x55ba51
test ebx, ebx
mov dword [esi + edi*4 + 0x68], ecx
cmove ebx, ecx
mov eax, dword [esp + 0x30]
xor edx, edx
cmp eax, 1
sete dl
je 0x55ba74
cmp dword [esi + 8], 1
mov dword [esp + 0x24], 0
jne 0x55ba74
test ecx, ecx
jne 0x55ba74
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x3c]
test edi, edi
jne 0x55ba88
mov eax, dword [esp + 0x44]
add dword [eax], ecx
add dword [esp + 0x40], ecx
jmp 0x55ba8c
add dword [esi + edi*4 + 0x2c], ecx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x14]
jne 0x55baa4
mov edx, dword [esp + 0x38]
add dword [edx], eax
add dword [esp + 0x10], eax
jmp 0x55bab4
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], 0
mov dword [esi + edi*4 + 0x24], edx
test eax, eax
jne 0x55babc
test ecx, ecx
je 0x55bac7
mov ebp, 1
mov dword [esp + 0x4c], ebp
jmp 0x55bacb
mov ebp, dword [esp + 0x4c]
mov edx, dword [esi + 8]
inc edi
mov ecx, dword [esp + 0x40]
cmp edi, edx
jb 0x55b980
lea eax, [esi + 0x20]
test ebp, ebp
jne 0x55b954
cmp dword [esp + 0x24], 0
je 0x55baf4
mov dword [esi + 0x20], 1
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x18