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

Disassembly:
sub esp, 0x3c
mov edx, dword [esp + 0x40]
push ebx
push ebp
push esi
mov ecx, dword [edx + 0xd0]
mov esi, dword [esp + 0x5c]
mov eax, ecx
push edi
imul eax, dword [esp + 0x64]
add eax, esi
mov esi, dword [esp + 0x68]
shl eax, 4
mov edi, dword [esi]
add edi, eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x6c]
add edi, eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x70]
add edi, eax
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x74]
add edi, eax
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x78]
shr ecx, 1
mov ebx, dword [edi]
imul ecx, dword [esp + 0x64]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x7c]
add ebx, eax
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x80]
add ebx, eax
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x84]
add ebx, eax
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx]
add ebp, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x60]
add ecx, ebp
shl ecx, 3
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
add eax, ecx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
add eax, ecx
mov ebp, esi
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
add eax, ecx
lea edi, [edx + 0xe4]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
add eax, ecx
add ebx, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + 0xf0]
mov ebx, edx
mov ecx, dword [eax*4 + 0x6795b0]
mov eax, dword [esp + 0x54]
sub ebx, eax
sub ebp, eax
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x58]
sub ebx, eax
mov dword [esp + 0x70], ecx
lea ecx, [eax + 0xa0]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], ebx
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x68], ebx
xor ebx, ebx
mov dword [esp + 0x64], ebx
jmp 0x49595a
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + ebx + 0x1c]
add edi, 4
mov dword [ecx + ebp], ebx
mov ebp, dword [esp + 0x50]
mov dword [ecx], ebx
mov dword [ecx + ebp], ebx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
add ecx, 4
mov ebx, dword [esp + ebx + 0x34]
mov dword [edi + ebp - 4], ebx
mov ebp, dword [esp + 0x6c]
mov dword [ecx + ebp - 4], ebx
mov dword [edi - 4], ebx
mov ebx, dword [esp + 0x64]
add ebx, 4
cmp ebx, 0x18
mov dword [esp + 0x64], ebx
jl 0x495956
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x58]
mov dword [esi + 0xb8], ecx
mov dword [edi + 0xb8], ecx
mov dword [eax + 0xb8], ecx
mov dword [edx + 0xb8], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xbc], ecx
mov dword [edi + 0xbc], ecx
mov dword [eax + 0xbc], ecx
mov dword [edx + 0xbc], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc0], ecx
mov dword [edi + 0xc0], ecx
mov dword [eax + 0xc0], ecx
mov dword [edx + 0xc0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0xc8], ecx
mov dword [edi + 0xc8], ecx
mov dword [eax + 0xc8], ecx
mov dword [edx + 0xc8], ecx
mov ecx, 0x100000
mov dword [edx + 0x90], ecx
mov dword [edx + 0x8c], ecx
mov dword [edx + 0x88], ecx
mov dword [edx + 0x10c], ecx
mov dword [edx + 0x108], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x10c], ecx
mov dword [esi + 0x108], ecx
mov dword [eax + 0x90], ecx
mov dword [eax + 0x8c], ecx
mov dword [eax + 0x88], ecx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x88], ecx
mov dword [esi + 0x10], ecx
mov dword [eax + 0x10], ecx
mov dword [edi + 0x10], ecx
pop edi
pop esi
pop ebp
mov dword [edx + 0x10], ecx
pop ebx
add esp, 0x3c
ret