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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xf8
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x108]
mov dword [esp + 0x30], esi
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], 3
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 3
mov dword [esp + 0xac], 1
mov eax, esi
add eax, 0x14
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0049ed80
mov edx, dword [esp + 0x40]
mov byte [esp + 0x37], al
and al, 1
mov byte [esp + 0xb2], al
mov ecx, esi
add ecx, 0x3c
mov eax, esi
add eax, 0x28
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ed80
mov cl, byte [esp + 0x37]
mov edx, dword [esp + 0x40]
mov bl, al
mov al, bl
and al, 1
mov byte [esp + 0xb3], al
mov al, cl
and al, 1
movzx eax, al
mov dword [esp + 0xb4], eax
imul edi, eax, 0x14
mov eax, esi
add eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0xb8], eax
xor cl, 0xff
and cl, 1
movzx ecx, cl
mov dword [esp + 0xbc], ecx
imul edi, ecx, 0x14
mov ecx, esi
add ecx, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc0], ecx
mov cl, bl
and cl, 1
movzx ecx, cl
add ecx, 2
mov dword [esp + 0xc4], ecx
imul edi, ecx, 0x14
mov ecx, esi
add ecx, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc8], ecx
xor bl, 0xff
and bl, 1
movzx edi, bl
add edi, 2
mov dword [esp + 0xcc], edi
imul edi, edi, 0x14
add esi, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0xd0], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ed80
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov bl, al
mov eax, dword [esp + 0x48]
mov byte [esp + 0x4e], bl
and bl, 1
mov byte [esp + 0xd5], bl
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ed80
mov cl, al
mov al, byte [esp + 0x4e]
mov byte [esp + 0x4f], cl
and cl, 1
mov byte [esp + 0xd6], cl
test al, 1
jne 0x51b5a4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
jmp 0x51b5ac
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x4f]
test al, 1
jne 0x51b5c0
jmp 0x51b5b6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
jmp 0x51b5c8
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x4f]
test al, 1
jne 0x51b5dc
jmp 0x51b5d2
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
jmp 0x51b5e4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov al, byte [esp + 0x4e]
test al, 1
jne 0x51b5f8
jmp 0x51b5ee
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
jmp 0x51b600
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x4e]
test al, 1
jne 0x51b614
jmp 0x51b60a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
jmp 0x51b61c
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x4f]
test al, 1
jne 0x51b630
jmp 0x51b626
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], eax
jmp 0x51b638
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ed80
mov byte [esp + 0x23], al
mov cl, al
and cl, 1
mov byte [esp + 0xd7], cl
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xdc], ecx
test al, 1
jne 0x51b690
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
jmp 0x51b698
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xe4], ecx
test al, 1
jne 0x51b6c8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
jmp 0x51b6d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xec], eax
add eax, 0x14
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0xf0], eax
add eax, 0x28
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x80], ecx
mov dword [esp + 0xf4], eax
add eax, 0x3c
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xf8
pop esi
pop edi
pop ebx
ret