Function at 0x51c1b0
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, 0x10
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0049ec20
mov edx, dword [esp + 0x40]
mov byte [esp + 0x37], al
and al, 1
mov byte [esp + 0xb2], al
mov ecx, esi
add ecx, 0x30
mov eax, esi
add eax, 0x20
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049ec20
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 edi, al
mov dword [esp + 0xb4], edi
shl edi, 4
mov eax, esi
add eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0xb8], eax
xor cl, 0xff
and cl, 1
movzx edi, cl
mov dword [esp + 0xbc], edi
shl edi, 4
mov ecx, esi
add ecx, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc0], ecx
mov cl, bl
and cl, 1
movzx edi, cl
add edi, 2
mov dword [esp + 0xc4], edi
shl edi, 4
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
shl edi, 4
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.0049ec20
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.0049ec20
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 0x51c384
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
jmp 0x51c38c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x4f]
test al, 1
jne 0x51c3a0
jmp 0x51c396
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
jmp 0x51c3a8
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x4f]
test al, 1
jne 0x51c3bc
jmp 0x51c3b2
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
jmp 0x51c3c4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov al, byte [esp + 0x4e]
test al, 1
jne 0x51c3d8
jmp 0x51c3ce
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
jmp 0x51c3e0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x4e]
test al, 1
jne 0x51c3f4
jmp 0x51c3ea
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
jmp 0x51c3fc
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x4f]
test al, 1
jne 0x51c410
jmp 0x51c406
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], eax
jmp 0x51c418
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.0049ec20
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 0x51c470
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
jmp 0x51c478
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 0x51c4a8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
jmp 0x51c4b0
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], 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xec], eax
add eax, 0x10
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], 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0xf0], eax
add eax, 0x20
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], 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x80], ecx
mov dword [esp + 0xf4], eax
add eax, 0x30
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], 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 1
call fcn.00480ae0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
add esp, 0xf8
pop esi
pop edi
pop ebx
ret