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

Disassembly:
sub esp, 0x1a4
mov eax, 0xcf67c0
mov ecx, 7
mov dword [eax - 0x10], 0
mov word [eax], 0
mov byte [eax - 0xc], 0
mov byte [eax - 0xb], 0
add eax, 0x24
dec ecx
jne 0x54e1b0
cmp eax, 0xcf6bb0
jl 0x54e1ab
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 0xcf84e0
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
push esi
push ebx
mov ecx, 0x68d9e0
call fcn.004042e0
push esi
push ebx
mov ecx, 0x68d9e0
mov dword [esp + 0x18], eax
call fcn.00404300
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x2c], edi
jle 0x54e407
mov ebp, dword [0xcf8538]
lea eax, [esp + 0x10]
push eax
mov ecx, 0xcf8534
call fcn.0054f480
mov ecx, dword [0xcf8538]
mov edx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x1c], eax
je 0x54e255
cmp edx, dword [eax + 0xc]
jl 0x54e255
lea eax, [esp + 0x1c]
jmp 0x54e25d
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x3c]
cmp dword [eax], ebp
je 0x54e407
push edi
push edx
mov ecx, 0xcf65c0
call fcn.0054a1e0
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x58]
mov dword [esp + 0xcc], ecx
mov ecx, 0x1c
lea edi, [esp + 0xd0]
mov ebx, eax
lea edx, [esp + 0xcc]
lea eax, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xcf8534
call fcn.0054e980
mov ecx, eax
lea esi, [esp + 0x58]
lea edi, [esp + 0x5c]
xor ebp, ebp
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], edx
mov ecx, 0x1c
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x40]
push edx
push eax
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 + 0x38], edx
jle 0x54e3b3
mov ecx, dword [esp + 0x14]
mov edi, ecx
jmp 0x54e30c
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
test edi, edi
jge 0x54e315
cmp edi, 7
jge 0x54e31c
cmp dword [esp + 0x1c], 7
jle 0x54e320
inc ebp
inc edi
jmp 0x54e36c
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x2c]
add eax, ebp
push ebx
add eax, ecx
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x14]
shl esi, 2
push eax
mov dword [esi + 0xcf67b0], eax
mov word [esi + 0xcf67c0], dx
mov dl, byte [esp + 0x28]
mov byte [esi + 0xcf67b4], dl
mov byte [esi + 0xcf67b5], cl
mov ecx, 0xcf65c0
mov dword [esi + 0xcf67b8], ebx
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 + 0x58]
lea edi, [esp + 0x5c]
mov dword [esp + 0x58], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x40]
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 + 0x38], edx
jl 0x54e304
mov eax, dword [esp + 0x10]
mov ecx, 0x1c
lea esi, [esp + 0x58]
lea edi, [esp + 0x144]
mov dword [esp + 0x140], eax
lea edx, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x140]
push ecx
push edx
mov ecx, 0xcf8534
call fcn.0054e980
mov ecx, eax
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
add ecx, eax
mov dword [esp + 0x14], ecx
inc esi
cmp esi, 7
mov dword [esp + 0x24], esi
jl 0x54e1f5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc ebx
mov dword [eax], ecx
add eax, 4
add esi, 7
cmp eax, 0xcf84f0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
jl 0x54e1eb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a4
ret