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

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0xa4
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x454140
mov ecx, dword [esp + 0xb8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push eax
push edx
push ecx
call fcn.004543f0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov eax, dword [0x4dd188]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x30], eax
mov dword [0x4dd188], esi
mov eax, dword [edi]
mov ebx, dword [esp + 0xc4]
mov ecx, dword [eax + 4]
imul ecx, dword [eax]
imul ecx, ebx
push ecx
call fcn.00481541
mov dword [esp + 0x1c], eax
mov eax, 4
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov ecx, 2
mov ebp, 1
mov edx, 8
xor eax, eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x10], eax
jmp 0x45422c
mov eax, dword [esp + 0x10]
mov ebp, dword [edi]
mov ecx, dword [esp + eax + 0x7c]
mov eax, dword [esp + eax + 0x60]
mov dword [esp + 0x38], ecx
mov edx, dword [ebp]
mov dword [esp + 0x34], eax
sub edx, eax
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
mov edx, dword [ebp + 4]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov ecx, dword [esp + eax + 0x98]
mov eax, dword [esp + eax + 0x44]
sub edx, eax
mov dword [esp + 0x2c], ecx
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
test esi, esi
mov ebp, eax
mov dword [esp + 0x40], ebp
je 0x454393
test ebp, ebp
je 0x454393
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push ebp
push esi
push ebx
push eax
push ecx
push edi
call fcn.004543f0
add esp, 0x18
test eax, eax
je 0x4543c8
test ebp, ebp
jle 0x454360
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], ebp
mov eax, dword [esp + edx + 0x44]
mov dword [esp + 0x1c], eax
mov eax, esi
imul eax, ebx
mov dword [esp + 0x3c], eax
test esi, esi
jle 0x454339
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x20], esi
mov ebp, dword [edi + 0xc]
mov edi, dword [edi]
mov esi, eax
mov ecx, ebx
mov edi, dword [edi]
add esi, ebp
imul edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
add eax, ebx
add edi, ebp
mov ebp, dword [esp + 0x18]
add edi, edx
imul edi, ebx
add edi, ebp
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0xb8]
add edx, esi
dec ecx
mov dword [esp + 0x20], ecx
jne 0x4542e2
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
add edx, eax
dec ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
jne 0x4542d4
mov edx, dword [edi + 0xc]
push edx
call fcn.00481458
imul esi, ebx
add esp, 4
inc esi
imul esi, ebp
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
add ecx, esi
sub eax, esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x10]
add eax, 4
cmp eax, 0x1c
mov dword [esp + 0x10], eax
jl 0x454228
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov dword [edi + 0xc], ecx
pop edi
pop esi
pop ebp
mov dword [0x4dd188], edx
mov eax, 1
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x18]
push eax
call fcn.00481458
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret