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

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x50
add eax, 0xfffffffc
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
push edi
mov edi, dword [ebx + 0x5c]
mov esi, dword [ebx + 0xc0]
cmp eax, 4
ja case.0x105516d4.4
jmp dword [eax*4 + 0x10551bd4]
mov eax, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbb000000
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov ecx, 0x40
sub ecx, esi
call fcn.10512520
mov edx, dword [esp + 0x68]
jmp 0x10551799
mov eax, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov ecx, 0x40
sub ecx, esi
call fcn.10512520
mov edx, dword [esp + 0x68]
jmp 0x10551799
mov eax, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbfa56300
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov ecx, 0x40
sub ecx, esi
call fcn.10512520
mov edx, dword [esp + 0x68]
jmp 0x10551799
mov eax, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xb7a56463
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov ecx, 0x40
sub ecx, esi
call fcn.10512520
mov edx, dword [esp + 0x68]
jmp 0x10551799
mov edx, dword [esp + 0x68]
mov ecx, 0x20
sub ecx, esi
imul eax, dword [edx], 0x9e3779b1
shr eax, cl
mov ecx, dword [ebx + 0xb8]
lea ebp, [edi + eax*4]
mov eax, dword [ebx + 4]
mov edi, 1
mov esi, dword [ebp]
sub edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
mov edx, edi
mov eax, dword [esp + 0x20]
shl edx, cl
mov ecx, dword [ebx + 0x10]
sub eax, ecx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
sub dword [esp + 0x18], edx
cmp eax, edx
mov eax, dword [esp + 0x18]
mov edx, edi
cmovbe eax, ecx
cmp dword [ebx + 0x18], 0
cmovne eax, ecx
mov ecx, dword [ebx + 0xbc]
dec ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x64]
xor ebx, ebx
shl edx, cl
mov dword [esp + 0x24], eax
dec edx
mov ecx, dword [esp + 0x24]
mov eax, ebp
sub eax, edx
mov dword [esp + 0x14], edx
cmp edx, ebp
mov ebp, dword [esp + 0x2c]
cmovae eax, ebx
mov ebx, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x50], eax
cmova ebx, eax
mov eax, edx
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 0xc4]
shl edi, cl
xor ecx, ecx
mov dword [esp + 0x1c], edi
cmp esi, ebx
jbe 0x1055188b
nop dword [eax]
mov edx, dword [eax + 4]
cmp edx, 1
jne 0x10551887
cmp edi, edx
jbe 0x10551871
mov edx, dword [esp + 0x14]
dec edi
mov ebp, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, esi
mov esi, dword [eax]
mov eax, edx
and eax, esi
lea eax, [eax*8]
add eax, dword [esp + 0x24]
cmp esi, ebx
ja 0x10551840
jmp 0x1055188b
cmp esi, ebx
jbe 0x10551887
cmp edx, 1
jne 0x10551887
mov dword [eax + 4], 0
mov dword [eax], 0
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x105518c2
mov ebp, dword [esp + 0x6c]
push dword [esp + 0x78]
mov eax, edx
mov edx, dword [esp + 0x28]
push ebx
push edi
push ebp
and eax, ecx
push ecx
push dword [esp + 0x78]
mov esi, dword [edx + eax*8 + 4]
call fcn.10573570
mov edx, dword [esp + 0x2c]
add esp, 0x18
inc edi
mov ecx, esi
test esi, esi
jne 0x10551893
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
xor edx, edx
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ecx
add ecx, eax
add eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, edi
mov dword [ebp], edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], edx
lea eax, [esi + eax*8]
mov dword [esp + 0x10], eax
add eax, 4
mov dword [esp + 0x28], eax
lea eax, [edi + 9]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
test edi, edi
je 0x10551bc6
nop
cmp ebx, dword [esp + 0x18]
jbe 0x10551bc6
and ecx, ebx
lea eax, [esi + ecx*8]
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x48], ecx
mov edi, ecx
mov dword [esp + 0x54], eax
cmovb edi, dword [esp + 0x48]
cmp dword [esp + 0x78], 1
jne 0x105519d6
lea eax, [edi + ebx]
cmp eax, dword [esp + 0x40]
jae 0x105519d6
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
add eax, ebx
mov ecx, dword [esp + 0x6c]
add edx, edi
mov dword [esp + 0x34], eax
lea esi, [eax + edi]
mov eax, edx
sub eax, esi
add eax, dword [esp + 0x3c]
cmp eax, ecx
cmovb ecx, eax
push ecx
push esi
push edx
call fcn.1054a920
mov ebp, eax
add esp, 0xc
lea ecx, [esi + ebp]
cmp ecx, dword [esp + 0x3c]
jne 0x105519b7
push dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x60]
add eax, edi
add eax, ebp
push eax
call fcn.1054a920
add esp, 0xc
add ebp, eax
add edi, ebp
mov ebp, dword [esp + 0x6c]
lea eax, [edi + ebx]
cmp eax, dword [esp + 0x40]
jb 0x10551a4a
mov eax, dword [esp + 0x30]
add eax, ebx
mov dword [esp + 0x34], eax
jmp 0x10551a4a
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x6c]
add eax, ebx
mov dword [esp + 0x34], eax
lea edx, [eax + edi]
mov eax, dword [esp + 0x68]
add eax, edi
lea esi, [ebp - 3]
mov dword [esp + 0x44], eax
cmp eax, esi
jae 0x10551a24
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x10551a06
bsf eax, ecx
shr eax, 3
jmp 0x10551a48
add eax, 4
add edx, 4
cmp eax, esi
jae 0x10551a24
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x10551aaa
add eax, 4
add edx, 4
cmp eax, esi
jb 0x10551a10
lea ecx, [ebp - 1]
cmp eax, ecx
jae 0x10551a39
mov cx, word [edx]
cmp cx, word [eax]
jne 0x10551a39
add eax, 2
add edx, 2
cmp eax, ebp
jae 0x10551a44
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10551a44
inc eax
sub eax, dword [esp + 0x44]
add edi, eax
mov edx, dword [esp + 0x2c]
cmp edi, edx
jbe 0x10551ae3
mov eax, dword [esp + 0x38]
sub eax, ebx
cmp edi, eax
jbe 0x10551a67
lea eax, [edi + ebx]
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x20]
mov ecx, 0x1f
sub esi, ebx
mov edx, 0x1f
lea eax, [esi + 1]
bsr eax, eax
sub ecx, eax
mov eax, dword [esp + 0x70]
sub edx, ecx
mov eax, dword [eax]
bsr ecx, eax
mov eax, edi
sub eax, dword [esp + 0x2c]
sub edx, ecx
shl eax, 2
cmp eax, edx
jle 0x10551ab4
mov ecx, dword [esp + 0x70]
lea eax, [esi + 3]
mov edx, edi
mov dword [esp + 0x2c], edx
mov dword [ecx], eax
jmp 0x10551ab8
bsf ecx, ecx
shr ecx, 3
add eax, ecx
jmp 0x10551a44
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
lea ecx, [edi + eax]
cmp ecx, ebp
jne 0x10551ae9
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
cmp ebx, 2
jne 0x10551b59
mov esi, dword [esp + 0x28]
xor edi, edi
mov dword [esi], edi
mov dword [ecx], edi
jmp 0x10551b76
mov ecx, dword [esp + 0x68]
add ecx, edi
mov eax, dword [esp + 0x34]
mov al, byte [eax + edi]
cmp al, byte [ecx]
jae 0x10551b11
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], edi
mov dword [ecx], ebx
cmp ebx, dword [esp + 0x50]
jbe 0x10551b4d
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x10551b2d
mov esi, dword [esp + 0x28]
mov dword [esp + 0x4c], edi
mov dword [esi], ebx
cmp ebx, dword [esp + 0x50]
jbe 0x10551bb4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x1c]
mov ebx, dword [eax]
sub edi, 1
mov dword [esp + 0x1c], edi
je 0x10551bc6
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
jmp 0x10551930
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x5c]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esi], 0
mov dword [ecx], 0
cmp ebx, 2
jne 0x10551b9c
mov ebp, dword [esp + 0x6c]
test edi, edi
je 0x10551b9c
push 2
push dword [esp + 0x78]
push edi
push edx
push dword [esp + 0x80]
push ebp
push eax
push dword [esp + 0x80]
call fcn.10551bf0
add esp, 0x20
mov edx, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
add ecx, 0xfffffff8
pop ebp
mov dword [eax + 0x1c], ecx
mov eax, edx
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
jmp 0x10551b55
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x78]
jmp 0x10551b5d