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

Disassembly:
push 0xffffffffffffffff
push 0x5e02b3
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [edi + 4], eax
je 0x4959b2
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
movzx eax, byte [esi + 0xc]
mov byte [edi + 0xc], al
movzx ecx, byte [esi + 0xd]
mov byte [edi + 0xd], cl
movzx edx, byte [esi + 0xe]
mov byte [edi + 0xe], dl
movzx eax, byte [esi + 0xf]
mov byte [edi + 0xf], al
movzx ecx, byte [esi + 0x10]
mov byte [edi + 0x10], cl
movzx edx, byte [esi + 0x11]
mov byte [edi + 0x11], dl
push 0xffffffffffffffff
fld dword [esi + 0x14]
lea ecx, [edi + 0x1c]
fstp dword [edi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
lea eax, [esi + 0x1c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0040b390
mov byte [esp + 0x14], 1
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [edi + 0x3c], edx
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x44], ecx
push 0xffffffffffffffff
lea ecx, [edi + 0x48]
lea eax, [esi + 0x48]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0040b390
mov edx, dword [esi + 0x68]
mov dword [edi + 0x68], edx
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov ecx, dword [esi + 0x70]
mov dword [edi + 0x70], ecx
mov edx, dword [esi + 0x74]
mov dword [edi + 0x74], edx
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov ecx, dword [esi + 0x7c]
mov dword [edi + 0x7c], ecx
mov edx, dword [esi + 0x80]
mov dword [edi + 0x80], edx
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov ecx, dword [esi + 0x88]
mov dword [edi + 0x88], ecx
mov edx, dword [esi + 0x8c]
mov dword [edi + 0x8c], edx
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov ecx, dword [esi + 0x94]
mov dword [edi + 0x94], ecx
mov edx, dword [esi + 0x98]
mov dword [edi + 0x98], edx
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov ecx, dword [esi + 0xa0]
mov dword [edi + 0xa0], ecx
mov edx, dword [esi + 0xa4]
mov dword [edi + 0xa4], edx
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
mov ecx, dword [esi + 0xac]
mov dword [edi + 0xac], ecx
mov edx, dword [esi + 0xb0]
mov dword [edi + 0xb0], edx
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xb4], eax
mov ecx, dword [esi + 0xb8]
mov dword [edi + 0xb8], ecx
mov edx, dword [esi + 0xbc]
mov dword [edi + 0xbc], edx
mov eax, dword [esi + 0xc0]
mov dword [edi + 0xc0], eax
and dword [edi + 0xc8], 0x80000000
and byte [edi + 0xcc], 0xfe
lea ecx, [edi + 0xc4]
mov dword [ecx], ebx
mov eax, dword [esi + 0xc8]
mov edx, dword [esi + 0xc4]
add eax, eax
sar eax, 1
push edx
call fcn.004897a0
and dword [edi + 0xd4], 0x80000000
and byte [edi + 0xd8], 0xfe
lea ecx, [edi + 0xd0]
mov dword [ecx], ebx
mov eax, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
add eax, eax
sar eax, 1
push edx
call fcn.004897a0
mov eax, dword [esi + 0xdc]
mov dword [edi + 0xdc], eax
mov ecx, dword [esi + 0xe0]
mov dword [edi + 0xe0], ecx
mov edx, dword [esi + 0xe4]
mov dword [edi + 0xe4], edx
mov eax, dword [esi + 0xe8]
mov dword [edi + 0xe8], eax
mov ecx, dword [esi + 0xec]
mov dword [edi + 0xec], ecx
mov edx, dword [esi + 0xf0]
mov dword [edi + 0xf0], edx
mov eax, dword [esi + 0xf4]
mov dword [edi + 0xf4], eax
mov ecx, dword [esi + 0xf8]
mov dword [edi + 0xf8], ecx
mov edx, dword [esi + 0xfc]
mov dword [edi + 0xfc], edx
fld dword [esi + 0x100]
fstp dword [edi + 0x100]
mov eax, dword [esi + 0x104]
mov dword [edi + 0x104], eax
mov ecx, dword [esi + 0x108]
mov dword [edi + 0x108], ecx
mov edx, dword [esi + 0x10c]
mov dword [edi + 0x10c], edx
mov eax, dword [esi + 0x110]
mov dword [edi + 0x110], eax
mov ecx, dword [esi + 0x114]
mov dword [edi + 0x114], ecx
mov edx, dword [esi + 0x118]
mov dword [edi + 0x118], edx
mov eax, dword [esi + 0x11c]
mov dword [edi + 0x11c], eax
mov ecx, dword [esi + 0x120]
mov dword [edi + 0x120], ecx
mov edx, dword [esi + 0x128]
mov dword [edi + 0x128], edx
mov eax, dword [esi + 0x12c]
mov dword [edi + 0x12c], eax
mov ecx, dword [esi + 0x130]
mov dword [edi + 0x130], ecx
mov edx, dword [esi + 0x134]
mov dword [edi + 0x134], edx
mov eax, dword [esi + 0x138]
mov dword [edi + 0x138], eax
mov ecx, dword [esi + 0x13c]
mov dword [edi + 0x13c], ecx
mov edx, dword [esi + 0x140]
mov dword [edi + 0x140], edx
mov eax, dword [esi + 0x144]
mov dword [edi + 0x144], eax
mov ecx, dword [esi + 0x148]
mov dword [edi + 0x148], ecx
movzx edx, byte [esi + 0x14c]
mov byte [edi + 0x14c], dl
mov eax, dword [esi + 0x150]
mov dword [edi + 0x150], eax
movzx ecx, byte [esi + 0x154]
mov byte [edi + 0x154], cl
movzx edx, byte [esi + 0x155]
mov byte [edi + 0x155], dl
movzx eax, byte [esi + 0x156]
mov byte [edi + 0x156], al
movzx ecx, byte [esi + 0x157]
mov byte [edi + 0x157], cl
mov edx, dword [esi + 0x158]
mov dword [edi + 0x158], edx
mov eax, dword [esi + 0x160]
mov dword [edi + 0x160], eax
mov ecx, dword [esi + 0x164]
mov dword [edi + 0x164], ecx
mov edx, dword [esi + 0x168]
mov dword [edi + 0x168], edx
mov eax, dword [esi + 0x16c]
mov dword [edi + 0x16c], eax
mov ecx, dword [esi + 0x170]
mov dword [edi + 0x170], ecx
mov edx, dword [esi + 0x174]
mov dword [edi + 0x174], edx
mov eax, dword [esi + 0x178]
mov dword [edi + 0x178], eax
mov ecx, dword [esi + 0x17c]
mov dword [edi + 0x17c], ecx
mov edx, dword [esi + 0x180]
mov dword [edi + 0x180], edx
mov eax, dword [esi + 0x184]
mov dword [edi + 0x184], eax
mov ecx, dword [esi + 0x188]
mov dword [edi + 0x188], ecx
movzx edx, byte [esi + 0x18c]
mov byte [edi + 0x18c], dl
movzx eax, byte [esi + 0x18d]
mov byte [edi + 0x18d], al
mov ecx, dword [esi + 0x18e]
mov dword [edi + 0x18e], ecx
mov edx, dword [esi + 0x192]
mov dword [edi + 0x192], edx
mov eax, dword [esi + 0x196]
mov dword [edi + 0x196], eax
mov ecx, dword [esi + 0x19a]
mov dword [edi + 0x19a], ecx
mov edx, dword [esi + 0x19e]
mov dword [edi + 0x19e], edx
mov eax, dword [esi + 0x1a4]
mov dword [edi + 0x1a4], eax
mov ecx, dword [esi + 0x1a8]
mov dword [edi + 0x1a8], ecx
mov edx, dword [esi + 0x1ac]
mov dword [edi + 0x1ac], edx
mov eax, dword [esi + 0x1b0]
mov dword [edi + 0x1b0], eax
mov ecx, dword [esi + 0x1b4]
mov dword [edi + 0x1b4], ecx
mov edx, dword [esi + 0x1b8]
mov dword [edi + 0x1b8], edx
mov eax, dword [esi + 0x1bc]
mov dword [edi + 0x1bc], eax
mov ecx, dword [esi + 0x1c0]
mov dword [edi + 0x1c0], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xc
ret 4