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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54e2e8
sub esp, 0x68
call fcn.0054dac0
lea eax, [0x63f100]
mov dword [esp], eax
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [0x618400]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
call fcn.0040ab70
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x54e1dd
mov eax, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [0x77c810]
lea ebx, [eax + 4]
test edx, edx
jne 0x54e1c8
mov dword [eax + 4], ecx
lea ecx, [0x605a60]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [0x77c810]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x20]
lea ebx, [edx + 0x1040]
test eax, eax
jne 0x54e1b3
mov dword [edx + 0x1040], ecx
lea eax, [0x6040e0]
mov dword [esp], eax
call fcn.0040cd50
mov eax, dword [esp + 4]
mov ecx, dword [0x77c810]
mov edx, dword [esp + 0x20]
lea ebx, [edx + 0x1044]
test ecx, ecx
jne 0x54e19e
mov dword [edx + 0x1044], eax
mov ecx, dword [0x77c810]
lea ebx, [edx + 0x1064]
test ecx, ecx
jne 0x54e183
lea ecx, [0x65c1d8]
mov dword [edx + 0x1064], ecx
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0044a0ca
lea edi, [edx + 0x1048]
test byte [edi], al
mov ecx, dword [edx + 0x104c]
mov ebx, dword [edx + 0x1050]
mov ebp, dword [edx + 0x1048]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
test byte [edi], al
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x54e160
lea esi, [esp + 0x24]
call fcn.0044a5a4
mov eax, dword [edx + 0x1050]
cmp eax, 0x8000
jl 0x54e0f7
mov eax, dword [edx + 0x1050]
cmp eax, 0x8000
jb 0x54e0f0
mov dword [edx + 0x104c], 0x8000
mov eax, dword [edx + 0x1048]
mov dword [esp], eax
mov dword [esp + 4], 0
xor eax, eax
mov dword [esp + 8], eax
call fcn.0044a7d0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x1054], eax
mov edx, dword [ecx + 0x104c]
cmp eax, edx
jne 0x54e0d2
mov dword [ecx + 0x1054], 0
mov byte [ecx + 0x105c], 1
mov eax, dword [ecx + 0x1054]
mov dword [ecx + 0x1058], eax
lea eax, [0x742f00]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call fcn.004246c0
ud2
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], 0x8000
mov dword [esp + 8], 0x8000
call fcn.00437130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x104c], eax
mov dword [ebx + 0x1050], ecx
mov eax, dword [0x77c810]
lea ecx, [ebx + 0x1048]
test eax, eax
jne 0x54e14e
mov dword [ebx + 0x1048], edx
mov edx, ebx
jmp 0x54e078
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d580
mov ebx, dword [esp + 0x20]
jmp 0x54e147
lea eax, [0x627fc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0040d690
mov edx, dword [esp + 0x20]
jmp 0x54e06b
mov dword [esp], ebx
lea eax, [0x65c1d8]
mov dword [esp + 4], eax
call fcn.0040d580
mov edx, dword [esp + 0x20]
jmp 0x54e021
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov edx, dword [esp + 0x20]
jmp 0x54e001
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d580
mov edx, dword [esp + 0x20]
jmp 0x54dfd1
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x20]
jmp 0x54dfa1
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x54e2e1
mov ecx, dword [eax + 4]
lea edx, [0x640800]
cmp edx, ecx
jne 0x54e2d7
mov ecx, dword [esp + 0x70]
jne 0x54e216
mov edx, dword [ecx + 4]
cmp edx, 0x1000
jl 0x54e216
lea edx, [0x742ee0]
jmp 0x54df87
lea ecx, [0x632ba0]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
lea ecx, [0x60ce40]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00437130
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x3c]
mov ebx, eax
xor eax, eax
call fcn.0044a0c5
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov edi, dword [esp + 0x1c]
test byte [edi], al
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x54e2b9
lea esi, [esp + 0x3c]
call fcn.0044a572
mov ecx, dword [esp + 0x1c]
jmp 0x54e20b
lea ecx, [0x632ba0]
mov dword [esp], ecx
mov dword [esp + 4], edi
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0040d690
xor eax, eax
jmp 0x54e2b0
mov ecx, 0
jmp 0x54e1fe
mov ecx, eax
jmp 0x54e1ec
call fcn.00448420
jmp fcn.0054df20