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

Disassembly:
push 0xffffffffffffffff
push 0x4885e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
mov esi, ecx
cmp eax, ebx
push edi
mov dword [esp + 0x10], esi
jg 0x54cd54
mov ebp, dword [esp + 0x74]
xor edi, edi
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x54ca05
mov eax, dword [eax]
cmp eax, edi
jne 0x54c9ff
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], edi
mov dword [ebp + 4], edi
call fcn.005418fa
mov eax, dword [esp + 0x78]
lea ecx, [esi + 0x15c]
sub ebx, eax
mov dword [ebp + 0x14], edi
push ebx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.005418ee
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edi
mov eax, dword [ecx - 8]
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x54cd29
jmp 0x54ca56
xor edi, edi
mov edx, dword [esp + 0x7c]
mov esi, dword [esi + 0x2f8]
test esi, esi
mov ebx, dword [edx - 8]
je 0x54cd43
lea eax, [esi + 0xc]
lea ecx, [esp + 0x30]
push eax
call fcn.005414c2
lea ecx, [esi + 0x10]
mov byte [esp + 0x6c], 1
push ecx
lea ecx, [esp + 0x38]
call fcn.005414c2
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], 0x492918
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x6c], 2
test ecx, ecx
je 0x54cad2
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax]
test al, al
je 0x54cad2
mov byte [esp + 0x6c], 3
jmp 0x54cb0f
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x54cae4
mov byte [esp + 0x6c], 4
jmp 0x54cb0f
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea ecx, [esp + 0x84]
call fcn.00541f6c
cmp eax, 0xffffffff
jne 0x54cb02
mov byte [esp + 0x6c], 5
jmp 0x54cb0f
cmp eax, ebx
jge 0x54cb0a
mov ebx, eax
mov edi, esi
mov byte [esp + 0x6c], 6
lea ecx, [esp + 0x34]
call fcn.00541342
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 0
call fcn.00541342
mov esi, dword [esi]
test esi, esi
jne 0x54ca6b
test edi, edi
je 0x54cd43
lea edx, [edi + 0xc]
lea ecx, [esp + 0x4c]
push edx
call fcn.005414c2
lea eax, [edi + 0x10]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 7
call fcn.005414c2
mov eax, dword [edi + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0x20]
mov dword [esp + 0x60], edx
mov dword [esp + 0x48], 0x492918
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov edi, ebx
mov ecx, dword [eax - 8]
or esi, 0xffffffff
test ecx, ecx
mov byte [esp + 0x6c], 8
mov dword [esp + 0x1c], edi
je 0x54cc0d
lea edi, [ebx + 1]
lea ecx, [esp + 0x7c]
push edi
push eax
call fcn.00541f6c
mov esi, eax
cmp esi, 0xffffffff
je 0x54cc09
mov eax, dword [esp + 0x7c]
mov cl, byte [esi + eax - 1]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
lea ecx, [eax + 0xc4]
push edx
call fcn.005414ec
test eax, eax
jl 0x54cc09
mov ecx, dword [esp + 0x50]
inc ebx
inc edi
push edi
push ecx
lea ecx, [esp + 0x84]
call fcn.00541f6c
mov esi, eax
cmp esi, 0xffffffff
je 0x54cc09
mov edx, dword [esp + 0x50]
push edi
push edx
lea ecx, [esp + 0x84]
call fcn.00541f6c
mov esi, eax
cmp esi, 0xffffffff
jne 0x54cbb1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x54cc39
mov eax, dword [0x4a9938]
inc ebx
push ebx
push eax
lea ecx, [esp + 0x84]
call fcn.00541f6c
cmp esi, 0xffffffff
je 0x54cc37
cmp esi, eax
jle 0x54cc39
cmp eax, 0xffffffff
je 0x54cc39
mov esi, eax
cmp esi, 0xffffffff
jne 0x54cc45
mov ecx, dword [esp + 0x14]
lea esi, [ecx - 1]
mov edx, dword [esp + 0x50]
mov ecx, 1
mov eax, dword [edx - 8]
cmp eax, 1
jl 0x54cc58
mov ecx, eax
add ecx, esi
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x78]
add edi, ecx
test eax, eax
jle 0x54cc70
add eax, ecx
lea esi, [esi + eax - 1]
jmp 0x54cc72
add esi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x54cca9
mov eax, dword [ebp + 0x18]
push 0x18
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00541900
mov ecx, dword [ebp + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x54cca9
inc ecx
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x54cc9b
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [ebp + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [ebp + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x54ccf1
mov dword [ecx], eax
jmp 0x54ccf4
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 9
call fcn.00541342
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
call fcn.00541342
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
cmp ecx, eax
jl 0x54ca54
xor edi, edi
cmp dword [esp + 0x84], edi
je 0x54cd43
mov ecx, dword [esi + 0x20]
push 0x105
push edi
push edi
push ecx
call dword [fcn.0048af00]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00541342
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14