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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ab360
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov esi, dword [edi + 0x60]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], 0
cmp esi, dword [edi + 0x64]
jbe 0x557e7e
call fcn.00588c45
mov ebx, dword [edi + 0x54]
mov ebp, esi
mov esi, dword [edi + 0x64]
cmp dword [edi + 0x60], esi
jbe 0x557e90
call fcn.00588c45
mov eax, dword [edi + 0x54]
test ebx, ebx
je 0x557e9b
cmp ebx, eax
je 0x557ea0
call fcn.00588c45
cmp ebp, esi
je 0x557ef0
test ebx, ebx
jne 0x557ee8
call fcn.00588c45
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x557eb9
call fcn.00588c45
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 0xac]
call edx
test eax, eax
je 0x557ece
inc dword [esp + 0x18]
test ebx, ebx
jne 0x557eec
call fcn.00588c45
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x557ee3
call fcn.00588c45
add ebp, 4
jmp 0x557e83
mov eax, dword [ebx]
jmp 0x557eaf
mov eax, dword [ebx]
jmp 0x557ed9
mov ecx, dword [edi + 0x1dc]
mov esi, dword [edi + 0x1d4]
mov eax, ecx
sub eax, dword [edi + 0x1c4]
add esi, ecx
add eax, dword [esp + 0x44]
xor ebp, ebp
cdq
idiv esi
mov esi, eax
mov dword [esp + 0x30], esi
cmp esi, ebp
jne 0x557f32
mov eax, 0x80004005
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cdq
idiv esi
mov ebx, eax
mov dword [esp + 0x34], eax
cmp edx, ebp
je 0x557f48
inc ebx
mov dword [esp + 0x34], ebx
mov eax, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x1c8]
mov edx, dword [edi]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov dword [esp + 0x14], ebp
call eax
cmp ebx, ebp
mov dword [esp + 0x28], ebp
jle 0x558128
mov dword [esp + 0x2c], ebp
jmp 0x557f82
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x20], ebp
jle 0x55810d
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x24], edx
jge 0x55810d
mov ecx, dword [edi + 0x1d8]
mov eax, dword [edi + 0x1d4]
mov ebx, dword [edi + 0x1e0]
mov ebp, dword [edi + 0x1dc]
add ebx, ecx
imul ebx, dword [esp + 0x28]
add ebx, dword [esp + 0x3c]
add ebp, eax
imul ebp, dword [esp + 0x20]
add ebp, dword [esp + 0x38]
add ecx, ebx
add eax, ebp
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ecx
mov ecx, edi
call edx
mov esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x557ffe
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
inc dword [esp + 0x14]
mov dword [esp + 0x78], 0
test esi, esi
je 0x55806c
mov edi, edi
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
mov ecx, esi
call eax
test eax, eax
jne 0x55806c
mov ecx, dword [edi + 0x64]
sub ecx, dword [edi + 0x60]
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x558034
call fcn.00588c45
mov edx, dword [edi + 0x60]
mov eax, dword [esp + 0x14]
lea eax, [edx + eax*4]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
cmp esi, eax
je 0x558064
test eax, eax
je 0x558054
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], esi
inc dword [esp + 0x14]
test esi, esi
jne 0x558010
xor eax, eax
mov dword [esp + 0x1c], eax
test esi, esi
je 0x55808b
mov edx, dword [esi]
mov ecx, dword [edx]
lea eax, [esp + 0x1c]
push eax
push 0x5cd4d0
push esi
call ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], 1
mov ecx, 1
test eax, eax
je 0x5580a4
cmp dword [eax + 0x158], 0
je 0x5580a4
xor ecx, ecx
test esi, esi
je 0x5580d1
test ecx, ecx
je 0x5580d1
mov ecx, dword [esp + 0x54]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], 0
test eax, eax
je 0x5580e2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], 0xffffffff
test esi, esi
je 0x5580f6
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x20]
inc dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jl 0x557f96
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add dword [esp + 0x2c], esi
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
jl 0x557f80
mov ecx, edi
call fcn.00554480
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
test eax, eax
je 0x55816a
mov ecx, dword [edi + 0x70]
mov esi, dword [ecx]
lea eax, [edi + 0x84]
mov edi, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
mov edx, dword [esi + 0x2c]
call edx
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret