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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54bb14
sub esp, 0x60
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x54b8c7
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x54b7bb
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x78]
test edx, edx
je 0x54b784
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx + 0x140]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x54b772
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.005388f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x54b760
mov eax, dword [esp + 0x64]
mov byte [eax + 0x148], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00466cc0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x54b640
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0054b3e0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.0054b3e0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00538840
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00466da0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x54b6ee
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0054b3e0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.0054b3e0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00538840
jmp 0x54b626
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0054b3e0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x745840]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.00407960
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00538840
jmp 0x54b626
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00538730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x54b7a9
mov eax, dword [esp + 0x64]
xor ebx, ebx
xor edx, edx
jmp 0x54b575
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x140]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x54b8b5
test ebx, ebx
jne 0x54b7fa
mov eax, ebx
mov ecx, edx
jmp 0x54b4d8
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00466be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x54b82f
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
jmp 0x54b7f1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
lea eax, [0x74d380]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x54b8a8
lea ecx, [0x78ff7c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x54b892
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
lea eax, [0x7fe8e0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x60
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044c9e0
mov edi, edx
jmp 0x54b87a
lea eax, [0x78ff7c]
call fcn.0044c9e0
jmp 0x54b862
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
lea eax, [0x743d40]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x54baff
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x54bad6
mov ebx, dword [esp + 0x70]
test ebx, ebx
jne 0x54baad
xor edx, edx
xor ebp, ebp
mov esi, dword [eax + 0x14c]
mov ecx, dword [eax + 0x150]
cmp ecx, 4
jne 0x54b97e
mov ebx, dword [esi]
cmp ebx, 0x78696e75
jne 0x54b97e
mov ecx, dword [eax + 0x150]
mov ebx, dword [eax + 0x14c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x8005e0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x54b4c8
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
cmp ecx, 8
jne 0x54b998
mov ebx, dword [esi]
cmp ebx, 0x78696e75
jne 0x54b998
mov ebx, dword [esi + 4]
cmp ebx, 0x6d617267
je 0x54b928
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ebp
cmp ecx, 0xa
je 0x54ba64
mov ecx, dword [eax + 0x150]
mov ebx, dword [eax + 0x14c]
lea esi, [ecx - 1]
cmp esi, ecx
jae 0x54bb0d
movzx esi, byte [ecx + ebx - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x54b934
xchg esi, eax
cmp al, 0x36
xchg esi, eax
je 0x54b934
mov esi, dword [eax + 0x140]
cmp esi, 2
jne 0x54ba25
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], 0
lea eax, [0x78f674]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043bce0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x54b934
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], 0
lea eax, [0x78f676]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043bce0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x54b934
mov dword [esp], esi
lea eax, [0x79493c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004021c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x54ba98
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x54b928
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x54b9a9
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
jmp 0x54b90d
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
jmp 0x54b90d
mov eax, dword [esp + 0x64]
call fcn.0044c9e0
jmp 0x54b8ed
call fcn.004266e0
ud2
call fcn.0044b280
jmp fcn.0054b4a0