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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, ecx
test ebp, ebp
jne 0x55e5b8
mov ebp, 0x6dbf65
mov dword [esp + 0x2c], ebp
cmp dword [esp + 0x30], 0
jne 0x55e5c7
mov dword [esp + 0x30], 0x6dbf65
cmp dword [esp + 0x34], 0
jne 0x55e5d6
mov dword [esp + 0x34], 0x6dbf65
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x55e5fd
mov eax, dword [esp + 0x28]
mov dword [eax], 0x70f0d4
mov ecx, 0x70f0d4
mov edx, 1
lock xadd dword [ecx], edx
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
cmp dword [ebx + 0x74], 0
push esi
push edi
je 0x55e696
mov esi, dword [ebx + 0x64]
movzx eax, byte [esi]
movzx cx, byte [esi + 1]
shl ax, 8
or ax, cx
movzx eax, ax
mov edx, ebp
movzx edi, ax
call fcn.0055e0b0
xor edx, edx
div edi
lea eax, [esi + edx*2 + 2]
movzx dx, byte [eax]
movzx eax, byte [eax + 1]
shl dx, 8
or dx, ax
movzx eax, dx
test ax, ax
je 0x55e675
movzx eax, ax
add eax, edi
lea esi, [esi + eax*2 + 2]
mov al, byte [esi]
inc esi
test al, al
je 0x55e675
movzx edi, al
push ebp
mov eax, edi
mov ecx, esi
call fcn.0055e040
add esp, 4
test al, al
jne 0x55e693
mov al, byte [esi + edi]
add esi, edi
inc esi
test al, al
jne 0x55e657
mov eax, dword [esp + 0x30]
mov ecx, 0x70f0d4
mov edx, 1
mov dword [eax], ecx
lock xadd dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
mov eax, dword [ebx + 0x70]
shr eax, 3
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x55e675
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], 0
test eax, eax
jl 0x55e6c7
mov ecx, dword [ebx + 0x78]
mov edi, dword [ebx + 0x68]
push ecx
push eax
call fcn.0055e0f0
add esp, 8
mov dword [esp + 0x14], eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x28], edx
nop
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
call fcn.004fc9b0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.0055e500
mov esi, dword [esp + 0x40]
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov edx, dword [esi + 0xc]
call fcn.0055e0b0
mov dword [esp + 0x18], eax
mov ecx, esi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x55e71f
push esi
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55e739
mov edx, dword [esp + 0x40]
push edx
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55e753
mov edx, dword [esp + 0x10]
push edx
call fcn.005057e0
add esp, 4
mov edi, dword [ebx + 0x60]
mov ecx, edi
lea edx, [ecx + ebp*8 - 8]
cmp ecx, edx
ja 0x55e8b8
mov esi, edx
sub esi, ecx
sar esi, 1
and esi, 0xfffffff8
movzx eax, byte [esi + ecx]
movzx ebp, byte [esi + ecx + 1]
add esi, ecx
shl eax, 8
or eax, ebp
movzx ebp, byte [esi + 2]
shl eax, 8
or eax, ebp
movzx ebp, byte [esi + 3]
shl eax, 8
or eax, ebp
mov ebp, dword [esp + 0x18]
cmp eax, ebp
je 0x55e7aa
jae 0x55e79e
lea ecx, [esi + 8]
jmp 0x55e7a1
lea edx, [esi - 8]
cmp ecx, edx
jbe 0x55e764
jmp 0x55e8b8
cmp esi, edx
ja 0x55e8b8
cmp esi, edi
je 0x55e80a
lea eax, [esi - 6]
lea esp, [esp]
movzx ecx, byte [eax - 2]
movzx edx, byte [eax - 1]
movzx ebp, byte [esi]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 7]
shl ebp, 8
or edx, ebp
movzx ebp, byte [eax + 8]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 9]
shl edx, 8
or edx, ebp
cmp edx, ecx
jne 0x55e80a
sub esi, 8
sub eax, 8
cmp esi, edi
jne 0x55e7c0
mov eax, dword [ebx + 0x70]
add eax, edi
cmp esi, eax
jae 0x55e8b8
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
nop
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
add esi, 4
cmp eax, dword [esp + 0x18]
jne 0x55e8b8
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 3]
shl eax, 8
or eax, ecx
mov ecx, dword [ebx + 0x5c]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x3c]
push edi
push edx
push dword [esp + 0x40]
mov edx, dword [ebx + 0x6c]
add edx, ecx
push ebp
add eax, ecx
push edx
lea ecx, [esp + 0x30]
push ecx
add esi, 4
call fcn.0055e290
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp eax, 0x70f0d4
jne 0x55e8d6
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x55e8aa
push eax
call fcn.004ff160
add esp, 4
mov edx, dword [ebx + 0x70]
add edx, dword [ebx + 0x60]
cmp esi, edx
jb 0x55e820
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x55e675
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x3c], 0x6dbf65
jmp 0x55e6d0
mov esi, dword [esp + 0x30]
mov dword [esi], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x55e8f9
push eax
call fcn.004ff160
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14