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

Disassembly:
sub esp, 0x1a0
push ebx
push ebp
mov ebp, dword [esp + 0x1ac]
xor ebx, ebx
push esi
push edi
mov bx, word [ebp]
xor edi, edi
mov eax, ebx
mov dword [esp + 0x14], edi
shl eax, 6
sub eax, ebx
mov ecx, 7
lea eax, [eax*4 + 0xcf67c0]
mov dword [eax - 0x10], edi
mov word [eax], di
mov byte [eax - 0xc], 0
mov byte [eax - 0xb], 0
mov dword [eax - 8], edi
mov dword [eax - 4], edi
add eax, 0x24
dec ecx
jne 0x54c7e0
mov edx, dword [0xcf8538]
add ebp, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 7
xor eax, eax
xor esi, esi
mov ax, word [ebp - 2]
mov si, word [ebp]
cmp eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], esi
jle 0x54ca16
lea ecx, [esp + 0x10]
mov edi, edx
push ecx
mov ecx, 0xcf8534
call fcn.0054f480
mov edx, dword [0xcf8538]
mov ecx, dword [esp + 0x10]
cmp eax, edx
mov dword [esp + 0x18], eax
je 0x54c859
cmp ecx, dword [eax + 0xc]
jl 0x54c859
lea eax, [esp + 0x18]
jmp 0x54c861
mov dword [esp + 0x38], edx
lea eax, [esp + 0x38]
cmp dword [eax], edi
je 0x54ca14
push esi
push ecx
mov ecx, 0xcf65c0
call fcn.0054a1e0
mov edx, dword [esp + 0x10]
mov ecx, 0x1c
lea esi, [esp + 0x54]
lea edi, [esp + 0xcc]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x24], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, 0xcf8534
call fcn.0054e980
mov edx, eax
lea esi, [esp + 0x54]
lea edi, [esp + 0x58]
xor ebp, ebp
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0x78]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, 0x1c
mov dword [esp + 0x54], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x54]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0xcf8534
call fcn.0054e980
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
mov dword [esp + 0x2c], edx
jle 0x54c9be
mov ecx, dword [esp + 0x14]
mov edi, ecx
jmp 0x54c912
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
test edi, edi
jge 0x54c91b
cmp edi, 7
jge 0x54c922
cmp dword [esp + 0x18], 7
jle 0x54c926
inc ebp
inc edi
jmp 0x54c977
lea eax, [ebx*8]
mov dx, word [esp + 0x34]
sub eax, ebx
add eax, ebp
add eax, ecx
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x10]
shl esi, 2
mov dword [esi + 0xcf67b0], eax
mov word [esi + 0xcf67c0], dx
mov byte [esi + 0xcf67b4], bl
mov byte [esi + 0xcf67b5], cl
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xcf67b8], ecx
push ecx
push eax
mov ecx, 0xcf65c0
call fcn.0054a2a0
mov dword [esi + 0xcf67bc], eax
mov eax, dword [esp + 0x10]
inc ebp
inc edi
mov ecx, 0x1c
mov dword [esp + 0x30], edi
lea esi, [esp + 0x54]
lea edi, [esp + 0x58]
mov dword [esp + 0x54], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0xcf8534
call fcn.0054e980
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
cmp ebp, ecx
mov dword [esp + 0x2c], edx
jl 0x54c90a
mov eax, dword [esp + 0x10]
mov ecx, 0x1c
lea esi, [esp + 0x54]
lea edi, [esp + 0x140]
mov dword [esp + 0x13c], eax
lea edx, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x13c]
push ecx
push edx
mov ecx, 0xcf8534
call fcn.0054e980
mov ecx, eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [0xcf8538]
add ecx, eax
mov dword [esp + 0x14], ecx
xor edi, edi
mov eax, dword [esp + 0x20]
add ebp, 4
dec eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jne 0x54c80f
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx*4 + 0xcf84e0], ecx
pop ebp
pop ebx
add esp, 0x1a0
ret 4