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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
push dword [esp + 0x74]
mov esi, dword [ebp + 0x198]
push dword [ebp + 0x64]
push eax
call fcn.02055708
mov ecx, dword [ebp + 0x60]
mov edx, eax
mov eax, dword [ebp + 0x1a0]
add esp, 0xc
mov ebx, dword [ebp + 8]
dec ecx
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
xor eax, eax
inc eax
mov edi, dword [esi + edx*4]
shl eax, cl
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x44], ebx
add ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x64]
sub ebx, eax
mov dword [esp + 0x28], ecx
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, ebx
mov dword [esp + 0x48], ecx
sub eax, dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
sbb ecx, ecx
and dword [esp + 0x1c], 0
and ecx, eax
mov eax, dword [ebp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, ebx
and eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + edx*4], ebp
mov edx, dword [esp + 0x70]
lea eax, [ecx + eax*8]
mov dword [esp + 0x10], eax
lea ebx, [eax + 4]
mov dword [esp + 0x18], ebx
lea ecx, [ebp + 8]
mov dword [esp + 0x54], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x64]
test edx, edx
je 0x20561fb
dec edx
mov dword [esp + 0x70], edx
cmp edi, dword [esp + 0x40]
jbe 0x20561f7
mov edx, dword [esp + 0x24]
mov eax, edi
and eax, dword [esp + 0x14]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x30], edx
mov esi, edx
mov dword [esp + 0x3c], eax
cmovb esi, dword [esp + 0x30]
cmp dword [esp + 0x78], 0
je 0x2056101
lea eax, [esi + edi]
cmp eax, dword [esp + 0x28]
jae 0x2056101
push dword [esp + 0x48]
mov ebp, dword [esp + 0x48]
push dword [esp + 0x50]
add ebp, edi
push dword [esp + 0x70]
lea eax, [esi + ebp]
push eax
lea eax, [esi + ecx]
push eax
call fcn.0205482c
mov ecx, dword [esp + 0x78]
add esi, eax
add esp, 0x14
lea eax, [esi + edi]
cmp eax, dword [esp + 0x28]
jb 0x205612e
mov ebp, dword [esp + 0x2c]
add ebp, edi
jmp 0x205612e
mov ebp, dword [esp + 0x2c]
add ebp, edi
mov al, byte [esi + ebp]
cmp al, byte [esi + ecx]
jne 0x205612e
push dword [esp + 0x68]
lea eax, [esi + 1]
add eax, ebp
push eax
lea eax, [esi + 1]
add eax, ecx
push eax
call fcn.02054784
mov ecx, dword [esp + 0x70]
inc esi
add esp, 0xc
add esi, eax
cmp esi, dword [esp + 0x1c]
jbe 0x2056192
mov eax, ebx
lea ecx, [esi + edi]
sub eax, edi
cmp esi, eax
mov eax, dword [esp + 0x20]
cmovbe ecx, ebx
and dword [esp + 0x50], 0
and dword [esp + 0x58], 0
sub eax, edi
mov dword [esp + 0x50], eax
mov ebx, ecx
inc eax
bsr edx, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
inc eax
bsr ecx, eax
mov eax, esi
sub eax, dword [esp + 0x1c]
sub edx, ecx
shl eax, 2
cmp eax, edx
jle 0x2056184
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x1c], esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x64]
add ecx, esi
cmp ecx, dword [esp + 0x68]
je 0x20561f7
jmp 0x2056194
add ecx, esi
mov al, byte [esi + ebp]
cmp al, byte [ecx]
jae 0x20561ba
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x38]
jbe 0x20561e9
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0x10], eax
mov edi, dword [eax]
jmp 0x20561d8
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x38]
jbe 0x20561ef
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
test edx, edx
je 0x20561fb
mov ecx, dword [esp + 0x64]
jmp 0x2056089
lea eax, [esp + 0x64]
jmp 0x20561fb
lea eax, [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc edx
pop edi
and dword [ecx], 0
lea ecx, [ebx - 8]
and dword [eax], 0
cmp ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
cmova edx, ecx
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
mov dword [ecx + 0x14], edx
add esp, 0x4c
ret