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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
xor eax, eax
cmp esi, ebx
mov word [ebp - 0x1c], bx
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
stosw word es:[edi], ax
jne 0x54c918
mov dword [ebp - 4], 0xc0000008
jmp 0x54cc29
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, ebx
je 0x54c98d
mov di, word [eax + 0x88]
add di, word [eax + 0x70]
add di, word [eax + 0x58]
add di, word [eax + 0x48]
add di, word [eax + 0x40]
add di, word [eax + 0x30]
add di, word [eax + 0x28]
add di, word [eax + 0x20]
add di, word [eax + 0x18]
add edi, 0xa8
test byte [eax + 5], 2
je 0x54c9bf
add eax, 0xc8
cmp word [eax], bx
je 0x54c96f
lea ecx, [ebp - 0x1c]
push ecx
push 0xfde9
push eax
call fcn.00551033
jmp 0x54c97d
push 0x7eac1380
lea eax, [ebp - 0x1c]
push eax
call fcn.00550fa5
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x54cc29
add edi, dword [ebp - 0x1c]
jmp 0x54c9bf
mov di, word [esi + 0xd0]
add di, word [esi + 0xb8]
add di, word [esi + 0x90]
add di, word [esi + 0x88]
add di, word [esi + 0x78]
add di, word [esi + 0x70]
add di, word [esi + 0x68]
add di, word [esi + 0x60]
add edi, 0xa8
xor eax, eax
mov ax, word [esi + 0x140]
add ax, word [esi + 0x50]
add edi, eax
mov eax, dword [0x7eace194]
movzx edi, di
push edi
mov dword [ebp - 0x14], edi
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
jne 0x54c9f4
mov eax, dword [ebp + 0x10]
and dword [eax], ebx
mov dword [ebp - 4], 0x80090300
jmp 0x54cc29
xor eax, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x158]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x15c]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12c]
mov dword [ebx + 0x14], eax
cmp dword [0x7eace184], 1
jne 0x54ca69
call fcn.0055215a
test eax, eax
je 0x54ca69
or byte [ebx + 1], 0x10
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x54cab7
movzx eax, word [edi + 0x18]
mov dword [ebx + 0x40], eax
movzx eax, word [edi + 0x20]
mov dword [ebx + 0x44], eax
movzx eax, word [edi + 0x28]
mov dword [ebx + 0x48], eax
movzx eax, word [edi + 0x30]
mov dword [ebx + 0x4c], eax
movzx eax, word [edi + 0x40]
mov dword [ebx + 0x54], eax
movzx eax, word [edi + 0x48]
mov dword [ebx + 0x58], eax
movzx eax, word [edi + 0x70]
mov dword [ebx + 0x6c], eax
movzx eax, word [edi + 0x88]
mov dword [ebx + 0x78], eax
movzx eax, word [ebp - 0x1c]
mov dword [ebx + 0x98], eax
jmp 0x54cafb
movzx eax, word [esi + 0x60]
mov dword [ebx + 0x40], eax
movzx eax, word [esi + 0x68]
mov dword [ebx + 0x44], eax
movzx eax, word [esi + 0x70]
mov dword [ebx + 0x48], eax
movzx eax, word [esi + 0x78]
mov dword [ebx + 0x4c], eax
movzx eax, word [esi + 0x88]
mov dword [ebx + 0x54], eax
movzx eax, word [esi + 0x90]
mov dword [ebx + 0x58], eax
movzx eax, word [esi + 0xb8]
mov dword [ebx + 0x6c], eax
movzx eax, word [esi + 0xd0]
mov dword [ebx + 0x78], eax
movzx eax, word [esi + 0x50]
mov dword [ebx + 0x38], eax
movzx eax, word [esi + 0x140]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x120]
test eax, eax
je 0x54cb41
lea ecx, [ebp - 0xc]
push ecx
push eax
mov eax, dword [0x7eace194]
call dword [eax + 0x34]
test eax, eax
mov dword [ebp - 4], eax
jge 0x54cb3b
push ebx
call fcn.00550945
mov eax, dword [ebp + 0x10]
and dword [eax], 0
jmp 0x54cc29
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x34], eax
test edi, edi
lea eax, [ebx + 0xa0]
je 0x54cb94
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebx + edx*4 + 0x40]
test ecx, ecx
je 0x54cb89
cmp edx, 0x16
jne 0x54cb68
mov ecx, dword [ebx + 0x98]
mov esi, dword [ebp - 0x18]
jmp 0x54cb6c
mov esi, dword [edi + edx*8 + 0x1c]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [ebx + edx*4 + 0x40]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
inc edx
cmp edx, 0x18
mov dword [ebp - 8], edx
jl 0x54cb50
jmp 0x54cbda
lea ecx, [ebx + 0x40]
mov dword [ebp + 0xc], ecx
lea ecx, [esi + 0x64]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x18
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x54cbcd
mov edx, dword [ebp - 8]
mov esi, dword [edx]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
mov esi, dword [ebp + 8]
add dword [ebp + 0xc], 4
add dword [ebp - 8], 8
dec dword [ebp - 0x10]
jne 0x54cba7
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x54cbfa
mov esi, dword [esi + 0x54]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, dword [ebx + 0x38]
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x54cc17
mov esi, dword [esi + 0x144]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ebx
mov dword [eax], ecx
mov dword [eax + 4], 2
lea eax, [ebp - 0x1c]
push eax
call fcn.005510cb
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc