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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], esp
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xbc], 0x4acb60
mov dword [esi + 8], ecx
lea eax, [esi + 0xb8]
mov dword [esi + 4], edx
mov ecx, dword fs:[0]
mov dword [esi + 0xb8], ecx
mov dword fs:[0], eax
mov dword [esi + 0xc0], 0
call fcn.004927c0
test eax, eax
je 0x4962a8
lock dec byte [eax + 0x18]
je 0x496288
mov edx, dword [0x530ae8]
mov ecx, eax
mov dword [esi + 0x28], eax
add ecx, 0x18
mov dword [esi + 0x38], ecx
test edx, edx
je 0x495eb3
mov eax, dword [esi + 4]
mov edi, 0x3e8
mov dword [esi + 0xc], edx
mul edi
mov ebx, eax
mov eax, dword [esi + 8]
seto cl
mul edi
mov edi, edx
mov dword [esi + 4], eax
add edi, ebx
mov ebx, 0xffffffff
setb al
or al, cl
jne 0x495e9b
mov ecx, dword [ebp + 8]
mov edx, 0x431bde83
mov eax, ecx
mul edx
mov eax, dword [esi + 4]
shr edx, 0x12
add eax, edx
adc edi, 0
jb 0x495e9b
mov dword [esi + 4], eax
imul eax, edx, 0xf4240
xor edx, edx
sub ecx, eax
mov eax, dword [esi + 4]
setne dl
add eax, edx
adc edi, 0
jb 0x495e9b
xor ebx, ebx
neg edi
sbb ebx, ebx
or ebx, eax
push ebx
push 1
push 0x4fbcd0
mov edi, dword [esi + 0x38]
push edi
call dword [esi + 0xc]
xor eax, eax
xchg byte [edi], al
jmp 0x496285
mov ecx, dword [0x530024]
cmp ecx, 0xffffffff
jne 0x495efe
mov dword [esi + 0x44], 0xffffffff
lea ecx, [esi + 0x44]
mov eax, dword [0x53002c]
push 0
push 0
push 0xc0000000
push ecx
call eax
test eax, eax
jne 0x4962c1
mov ecx, dword [esi + 0x44]
mov eax, 0xffffffff
lock cmpxchg dword [0x530024], ecx
je 0x495efe
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
mov eax, dword [esi + 8]
mov edi, 0x3b9aca00
mov dword [esi + 0x34], ecx
mov dword [esi + 0xc], 0
mul edi
mov ebx, eax
mov eax, dword [esi + 4]
mov ecx, edx
mul edi
mov edi, edx
mov edx, ebx
mov ebx, eax
add ebx, ecx
mov ecx, 0xffffff9c
adc edi, 0
add edx, dword [ebp + 8]
adc ebx, 0
adc edi, 0
setb al
cmp ecx, edx
mov ecx, 0xffffffff
sbb ecx, ebx
mov ecx, 0x31
sbb ecx, edi
movzx ecx, al
mov eax, 0
sbb eax, ecx
mov eax, 0x80000000
jb 0x49624c
add edx, 0x63
adc ebx, 0
mov dword [esi + 4], edx
adc edi, 0
mov eax, ebx
adc ecx, 0
mov dword [esi + 0x10], edi
mov dword [esi + 8], ecx
or eax, ecx
mov ecx, edx
or ecx, edi
or ecx, eax
mov eax, dword [esi + 8]
sete byte [esi + 0xc]
bsr ecx, edi
xor ecx, 0x1f
add ecx, 0x20
bsr edx, eax
xor edx, 0x1f
test eax, eax
cmovne ecx, edx
bsr edx, dword [esi + 4]
bsr eax, ebx
xor eax, 0x1f
xor edx, 0x1f
add edx, 0x20
test ebx, ebx
cmovne edx, eax
mov eax, 0x79
add edx, 0x40
or edi, dword [esi + 8]
mov edi, 0
cmovne edx, ecx
mov ecx, 0x7f
sub eax, edx
mov edx, 0
mov dword [esi + 0x14], eax
sbb edi, edi
mov eax, 0
sbb eax, eax
mov dword [esi + 0x20], edi
sbb edx, edx
cmp ecx, dword [esi + 0x14]
mov ecx, 0
mov dword [esi + 0x1c], eax
sbb ecx, edi
mov ecx, 0
mov edi, dword [esi + 4]
sbb ecx, eax
mov ecx, 0
mov eax, ebx
sbb ecx, edx
setb cl
or cl, byte [esi + 0xc]
mov ecx, 0
cmovne eax, ecx
cmovne edi, ecx
jne 0x49623e
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x20]
xor eax, 0x7f
or ecx, edx
or eax, dword [esi + 0x1c]
or ecx, eax
mov eax, dword [esi + 0x24]
je 0x49623e
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [esi + 0xa4], ebx
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xac], eax
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14]
xor al, 0x7f
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
neg al
mov cl, ch
movsx eax, al
mov edi, dword [esi + eax + 0xa8]
mov ebx, dword [esi + eax + 0xac]
shld ebx, edi, cl
shl edi, cl
not cl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov edi, dword [esi + eax + 0xa4]
mov ebx, dword [esi + eax + 0xa0]
mov eax, edi
shr eax, 1
shr eax, cl
mov cl, ch
shld edi, ebx, cl
shl ebx, cl
mov ecx, dword [esi + 0x20]
mov dword [esi + 0xc], ebx
mov ebx, dword [esi + 0x14]
mov dword [esi + 0x24], edi
mov edi, dword [esi + 0x1c]
add ebx, 1
adc ecx, 0
adc edi, 0
adc edx, 0
jae 0x4960d8
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
jmp 0x49622a
or dword [esi + 0x30], eax
movups xmmword [esi + 0x80], xmm0
mov eax, dword [esi + 4]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x7c], eax
mov eax, ebx
mov dword [esi + 0x20], ecx
mov ch, bl
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x3c], edx
shr al, 3
and ch, 7
and al, 0xf
mov cl, ch
movzx ebx, al
mov edx, dword [esi + ebx + 0x7c]
mov dword [esi + 4], edx
mov edi, dword [esi + ebx + 0x78]
mov eax, edi
add edi, edi
shrd eax, edx, cl
mov edx, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, dword [esi + ebx + 0x74]
mov dword [esi + 0x10], eax
shr eax, cl
not cl
shl edi, cl
mov cl, ch
or edi, eax
mov eax, dword [esi + ebx + 0x70]
mov ebx, dword [esi + 0x10]
shr edx, cl
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
shrd eax, ebx, cl
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x10], 0
shld edx, ecx, 1
shld ecx, edi, 1
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x30]
shld edi, edx, 1
shld edx, eax, 1
shld eax, ecx, 1
or eax, ebx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x24]
shld ecx, eax, 1
or ecx, ebx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0xc]
shld eax, ecx, 1
add ecx, ecx
or ecx, dword [esi + 0x18]
or eax, ebx
mov dword [esi + 0x24], eax
mov eax, 0x63
cmp eax, edx
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xc], ecx
mov ecx, 0
sbb ecx, edi
mov ecx, 0
sbb ecx, dword [esi + 8]
mov ecx, 0
sbb ecx, dword [esi + 4]
sar ecx, 0x1f
mov ebx, ecx
and ecx, 0x64
and ebx, 1
sub edx, ecx
mov ecx, dword [esi + 0x20]
sbb edi, 0
mov dword [esi + 0x40], edx
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x18], ebx
mov ebx, dword [esi + 0x3c]
sbb dword [esi + 8], 0
mov dword [esi + 0x48], edi
mov edi, dword [esi + 0x14]
sbb dword [esi + 4], 0
add edi, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x14], edi
adc edx, 0xffffffff
mov dword [esi + 0x20], ecx
adc ebx, 0xffffffff
or edi, edx
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 4]
or ecx, ebx
mov dword [esi + 0x3c], ebx
or edi, ecx
mov edi, dword [esi + 0x48]
jne 0x496160
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
shld ecx, edi, 1
add edi, edi
or ecx, dword [esi + 0x10]
or edi, dword [esi + 0x18]
mov eax, ecx
neg edi
mov ecx, 0
sbb ecx, eax
mov dword [esi + 0xc], edi
mov eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ecx
lea ecx, [esi + 0x50]
mov eax, dword [0x530034]
push ecx
push 0
mov edi, dword [esi + 0x38]
push edi
push dword [esi + 0x34]
call eax
xor ecx, ecx
test eax, eax
xchg byte [edi], cl
je 0x496285
cmp cl, 1
jne 0x496285
mov eax, dword [0x530034]
push 0
push 0
push edi
push dword [esi + 0x34]
call eax
mov eax, dword [esi + 0x28]
lock dec dword [eax]
jne 0x496294
mov ecx, eax
call fcn.00492600
mov eax, dword [esi + 0xb8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x4fa534
mov edx, 0x5e
push 0x4fa594
call fcn.004cbd20
add esp, 4
jmp 0x49630a
lea edx, [esi + 0x4c]
lea ecx, [esi + 0x68]
mov dword [esi + 0x50], 0x4fbcfc
mov dword [esi + 0x54], 1
mov dword [esi + 0x60], 0
mov dword [esi + 0x4c], eax
mov dword [esi + 0xc0], 1
mov dword [esi + 0x68], edx
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x50]
mov edx, 0x4fbd38
mov dword [esi + 0x6c], fcn.0040f8d0
mov dword [esi + 0x5c], 1
call fcn.004cb8c0
ud2