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

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x8c
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], edx
mov ebx, dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x4c], eax
cmp byte [esi + 0x2b], 2
je 0x54adc7
mov eax, dword [esi + 4]
call fcn.0054abe1
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x50]
lea edi, [esp + 0x20]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 0x50]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x30
mov dword [esp], edi
mov dword [esp + 0x78], ecx
call fcn.0086e9f9
mov edx, eax
mov eax, 1
test edx, edx
jne 0x54ae86
cmp byte [esp + 0x2c], 0
je 0x54ae86
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
lea ebp, [esp + 0x48]
add ecx, edx
lea esi, [esi]
mov ebx, dword [eax]
add eax, 8
add ebx, ecx
add edx, ebx
mov ebx, dword [eax - 4]
add ebx, edx
add ecx, ebx
cmp eax, ebp
jne 0x54ae61
mov eax, 1
cmp dword [esp + 0x48], edx
jne 0x54ae86
cmp dword [esp + 0x4c], ecx
je 0x54ae91
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esi + 0x34]
mov dword [esp + 8], 0x30
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0086e9f9
test eax, eax
je 0x54ae86
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov eax, dword [edi]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x10]
movzx edx, word [esi + 0x42]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x60], eax
mov eax, edx
and edx, 0xfe00
shl eax, 0x10
and eax, 0x10000
or eax, edx
mov dword [esi + 0x24], eax
xor eax, eax
jmp 0x54ae86