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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x150
mov esi, esp
mov dword [esi + 0x138], ebp
mov dword [esi + 0x13c], esp
mov dword [esi + 0x148], 0xffffffff
mov dword [esi + 0x144], 0x7036a0
mov ebx, ecx
lea eax, [esi + 0x140]
mov dword [esi + 0xa4], edx
mov ecx, dword fs:[0]
mov dword [esi + 0x140], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov eax, dword [edx]
lea edi, [eax + 8]
mov dword [esi + 0x54], eax
mov edx, edi
call fcn.0068dc50
mov eax, dword [esi + 0x20]
cmp eax, 0x2c
jne 0x4958a3
mov ecx, edi
mov edx, 0x8f6e64
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x4958d3
lea ecx, [esi + 0x20]
mov edx, edi
mov dword [esi + 0x58], edi
call fcn.0068dc50
mov eax, dword [esi + 0x20]
cmp eax, 0x2c
jne 0x4958a3
mov edi, dword [esi + 0x54]
cmp dword [edi], 0
je 0x4957f9
mov eax, dword [edi + 4]
test eax, eax
je 0x4958e9
dec eax
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x58]
mov byte [edi + 0x24], 0
mov edx, 0x8f6520
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x4958df
cmp dword [edi], 0
je 0x49582b
mov eax, dword [edi + 4]
test eax, eax
je 0x495ded
dec eax
mov dword [edi + 4], eax
mov dword [esi + 0xf0], edi
mov dword [esi + 8], ebx
mov word [esi + 0xf4], 0x15d
call fcn.004ff0b0
mov ecx, dword [eax + 4]
push dword [eax]
call dword [ecx + 0xc]
add esp, 4
lea ecx, [esi + 0x30]
lea edi, [0x89c390]
mov edx, 0x85a308d3
push eax
push edi
push 0x13198a2e
push 0x3707344
push 0x243f6a88
call fcn.00410e80
add esp, 0x14
mov dword [esi + 0x20], 0x8cdfe0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0xc], 0x8cdfe0
mov dword [esi + 0x2c], 0
mov dword [esi + 4], 0
jmp 0x49593a
movsd xmm0, qword [esi + 0x3c]
movsd xmm1, qword [esi + 0x34]
movsd xmm2, qword [esi + 0x24]
movsd qword [ebx + 0x20], xmm0
movsd qword [ebx + 0x18], xmm1
movsd xmm1, qword [esi + 0x2c]
movsd qword [ebx + 0x10], xmm1
movsd qword [ebx + 8], xmm2
mov dword [ebx + 4], eax
jmp 0x495ed2
mov dword [ebx + 4], 0x11
jmp 0x495ed2
mov edi, 4
jmp 0x495e5b
mov dword [ebx + 4], 0x2b
jmp 0x495ed2
movzx eax, byte [ecx + edx]
and eax, 1
sub dword [esi + 0x28], eax
lea eax, [edx - 0x10]
and eax, edi
mov edi, edx
mov edx, dword [esi + 0x50]
mov byte [ecx + edi], dl
mov byte [eax + ecx + 0x10], dl
mov edx, dword [esi + 0x5c]
shl edi, 4
mov eax, ecx
inc dword [esi + 0x2c]
sub eax, edi
neg edi
mov dword [eax - 0xc], edx
mov edx, dword [esi + 0x18]
mov dword [eax - 0x10], edx
movzx edx, byte [esi + 0x1c]
mov byte [ecx + edi - 8], dl
mov dword [esi + 0x148], 0
lea ecx, [esi + 0xa8]
lea edx, [esi + 0xf0]
mov dword [esi + 0x148], 0
call fcn.0048ec70
cmp dword [esi + 0xa8], 0
mov edx, dword [esi + 4]
jne 0x495bb4
movzx eax, byte [esi + 0xb8]
cmp al, 6
je 0x495c2d
movzx edi, al
mov byte [esi + 0x1c], al
mov ecx, 0x2df45158
xor edi, dword [esi + 0x30]
mov eax, edi
mul ecx
mov ecx, dword [esi + 0x34]
mov dword [esi], eax
imul eax, edi, 0x2d7f954c
bswap edi
add eax, edx
imul edx, ecx, 0x2df45158
bswap ecx
add edx, eax
mov eax, ecx
imul ecx, ecx, 0xa7ae0bd2
mov dword [esi + 0x18], edx
mov edx, 0xb36a80d2
mul edx
mov ebx, eax
imul eax, edi, 0xb36a80d2
add ecx, edx
mov edi, dword [esi]
add eax, ecx
mov ecx, dword [esi + 0xb4]
bswap ebx
bswap eax
xor ebx, ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0xb0]
xor ebx, dword [esi + 0x18]
xor edi, ecx
mov dword [esi + 0x18], ecx
mov ecx, 0x2df45158
xor edi, eax
mov eax, edi
mul ecx
mov ecx, edi
mov dword [esi], eax
imul eax, edi, 0x2d7f954c
imul edi, ebx, 0x2df45158
bswap ebx
bswap ecx
add eax, edx
mov edx, 0xb36a80d2
add edi, eax
mov eax, ebx
mul edx
mov dword [esi + 0x10], eax
imul eax, ebx, 0xa7ae0bd2
imul ebx, ecx, 0xb36a80d2
add eax, edx
add ebx, eax
mov eax, dword [esi + 0x10]
bswap ebx
xor ebx, dword [esi]
bswap eax
xor eax, edi
mov edi, dword [esi + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x3c]
mov ecx, edi
not edi
mov dword [esi + 0x50], eax
bswap eax
bswap ecx
mov dword [esi], eax
mov eax, ebx
imul ecx, ebx
mul dword [esi]
mov dword [esi + 0x14], eax
add edx, ecx
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
imul eax, ecx
bswap ecx
add eax, edx
mov edx, dword [esi + 0x50]
mov dword [esi], eax
mov eax, ecx
not edx
imul edx, ecx
mov ecx, edx
mul edi
add edx, ecx
mov ecx, ebx
bswap eax
bswap ecx
xor eax, dword [esi]
imul edi, ecx
mov ecx, ebx
add edi, edx
bswap edi
xor edi, dword [esi + 0x14]
test bl, 0x20
mov edx, edi
cmove edi, eax
cmovne edx, eax
shld edx, edi, cl
mov edi, dword [esi + 4]
cmp dword [esi + 0x28], 0
mov ecx, dword [esi + 0xc]
jne 0x495aab
mov dword [esi + 4], edx
lea ecx, [esi + 0x20]
lea edx, [esi + 0x30]
call fcn.0070b540
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov edx, dword [esi + 4]
mov eax, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], ecx
mov dword [esi + 4], edi
shr eax, 0x19
movd xmm0, eax
mov dword [esi + 0x50], eax
lea eax, [ecx - 0x10]
punpcklbw xmm0, xmm0
mov dword [esi], eax
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
and edx, edi
movdqa xmm2, xmm0
movdqu xmm1, xmmword [ecx + edx]
mov eax, edx
pcmpeqb xmm2, xmm1
pmovmskb ecx, xmm2
nop word cs:[eax + eax]
nop dword [eax]
test cx, cx
je 0x495b40
mov edx, ecx
movzx ebx, byte [esi + 0x1c]
tzcnt edi, edx
lea ecx, [edx - 1]
add edi, eax
and ecx, edx
mov edx, dword [esi]
and edi, dword [esi + 4]
shl edi, 4
sub edx, edi
cmp bl, byte [edx + 8]
jne 0x495b00
mov edi, dword [edx]
mov edx, dword [edx + 4]
xor edi, dword [esi + 0x18]
xor edx, dword [esi + 0x5c]
or edx, edi
jne 0x495b00
jmp 0x495930
cmp dword [esi + 0x10], 1
mov edi, dword [esi + 4]
mov edx, eax
mov dword [esi + 0x10], 1
je 0x495b6e
pmovmskb ecx, xmm1
xor eax, eax
test ecx, ecx
setne al
tzcnt ecx, ecx
add ecx, edx
mov dword [esi + 0x10], eax
and ecx, edi
mov dword [esi + 0xa0], ecx
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb ecx, xmm1
test ecx, ecx
mov ecx, dword [esi + 0xc]
jne 0x495b93
mov eax, dword [esi + 0x14]
lea edx, [edx + eax + 0x10]
add eax, 0x10
mov dword [esi + 0x14], eax
jmp 0x495ade
mov edx, dword [esi + 0xa0]
cmp byte [ecx + edx], 0
js 0x4958f5
movdqa xmm0, xmmword [ecx]
pmovmskb eax, xmm0
tzcnt edx, eax
jmp 0x4958f5
movsd xmm1, qword [esi + 0xb8]
movsd xmm0, qword [esi + 0xb0]
movsd xmm2, qword [esi + 0xc0]
mov edi, dword [esi + 0xac]
mov ecx, dword [esi + 0xc]
test edx, edx
movsd qword [esi + 0x88], xmm1
movsd xmm1, qword [esi + 0xc8]
movsd qword [esi + 0x80], xmm0
movsd qword [esi + 0x90], xmm2
movsd qword [esi + 0x98], xmm1
je 0x495da0
mov eax, edx
shl eax, 4
add edx, eax
cmp edx, 0xffffffdf
je 0x495da0
sub ecx, eax
push dword [ecx - 0x14]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x495da0
movsd xmm1, qword [esi + 0x30]
movq xmm0, qword [esi + 0x28]
movq xmm2, qword [esi + 0x38]
mov edi, dword [esi + 0x24]
cmp dword [esi + 0xc], 0
movsd qword [esi + 0x88], xmm1
movq xmm1, qword [esi + 0x40]
movq qword [esi + 0x80], xmm0
movq qword [esi + 0x90], xmm2
movq qword [esi + 0x98], xmm1
je 0x495da0
movsd xmm0, qword [esi + 0x98]
movsd xmm1, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x80]
movsd xmm3, qword [esi + 0x88]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov dword [esi + 4], edi
movsd qword [esi + 0x60], xmm2
movsd qword [esi + 0x68], xmm3
movsd qword [esi + 0x70], xmm1
movsd qword [esi + 0x78], xmm0
mov dword [esi], eax
mov dword [esi + 0x1c], ecx
cmp dword [edx], 0
je 0x495cc7
mov eax, dword [edx + 4]
mov ecx, 0xffffffff
inc eax
cmovne ecx, eax
mov dword [edx + 4], ecx
mov ebx, dword [esi + 0x58]
lea ecx, [esi + 0x20]
mov edx, ebx
call fcn.0068dc50
mov edi, dword [esi + 0x20]
cmp edi, 0x2c
jne 0x495df4
mov ecx, ebx
mov edx, 0x8f6521
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x495e2a
movsd xmm2, qword [esi + 0x60]
movsd xmm0, qword [esi + 0x78]
movsd xmm1, qword [esi + 0x70]
movsd xmm3, qword [esi + 0x68]
mov edx, dword [esi + 0x54]
movsd qword [esi + 0xf8], xmm2
movsd qword [esi + 0xa8], xmm2
movsd qword [esi + 0xb0], xmm3
movsd qword [esi + 0xb8], xmm1
movsd qword [esi + 0xc0], xmm0
cmp dword [edx], 0
je 0x495d4c
mov eax, dword [edx + 4]
mov ecx, 0xffffffff
inc eax
cmovne ecx, eax
mov dword [edx + 4], ecx
lea ecx, [esi + 0x20]
mov edx, ebx
call fcn.0068dc50
mov eax, dword [esi + 0x20]
mov edi, ebx
mov ebx, dword [esi + 0xa4]
cmp eax, 0x2c
jne 0x495eec
mov ecx, edi
mov edx, str._____
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x495f85
lea ecx, [esi + 0x20]
mov edx, edi
call fcn.0068dc50
mov eax, dword [esi + 0x20]
cmp eax, 0x2c
jne 0x495eec
mov al, 1
jmp 0x495f87
movsd xmm0, qword [esi + 0x98]
movsd xmm1, qword [esi + 0x90]
movsd xmm2, qword [esi + 0x80]
movsd xmm3, qword [esi + 0x88]
mov ebx, dword [esi + 8]
movsd qword [esi + 0x130], xmm0
movsd qword [esi + 0xd0], xmm2
movsd qword [esi + 0xd8], xmm3
movsd qword [esi + 0xe0], xmm1
movsd qword [esi + 0xe8], xmm0
jmp 0x495e5b
mov edi, 0x2b
jmp 0x495e5b
movsd xmm1, qword [esi + 0x34]
movsd xmm0, qword [esi + 0x3c]
movsd xmm2, qword [esi + 0x24]
movsd qword [esi + 0xe0], xmm1
movsd xmm1, qword [esi + 0x2c]
movsd qword [esi + 0xe8], xmm0
movsd qword [esi + 0xd0], xmm2
movsd qword [esi + 0xd8], xmm1
jmp 0x495e2f
mov edi, 5
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x495e58
mov eax, ecx
shl eax, 4
add ecx, eax
cmp ecx, 0xffffffdf
je 0x495e58
mov ecx, dword [esi + 0xc]
sub ecx, eax
push dword [ecx - 0x14]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esi + 8]
movsd xmm0, qword [esi + 0xe8]
movsd xmm1, qword [esi + 0xd8]
mov dword [ebx + 4], edi
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [esi + 0xe0]
movsd qword [esi + 0x100], xmm1
movsd xmm1, qword [esi + 0x100]
movsd qword [esi + 0x108], xmm0
movsd xmm0, qword [esi + 0xd0]
movsd qword [ebx + 0x10], xmm1
movsd xmm2, qword [esi + 0x108]
movsd xmm1, qword [esi + 0x110]
movsd qword [esi + 0xf8], xmm0
movsd xmm0, qword [esi + 0xf8]
movsd qword [ebx + 0x18], xmm2
movsd qword [ebx + 0x20], xmm1
movsd qword [ebx + 8], xmm0
mov dword [ebx], 0
mov eax, dword [esi + 0x140]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 0x25]
mov edx, dword [esi + 8]
movzx ecx, byte [esi + 0x24]
movsd qword [esi + 0x60], xmm0
movsd xmm0, qword [esi + 0x2d]
movsd xmm2, qword [esi + 0x60]
movsd qword [esi + 0x68], xmm0
movsd xmm0, qword [esi + 0x35]
movsd qword [edx + 9], xmm2
movsd qword [esi + 0x70], xmm0
movsd xmm0, qword [esi + 0x3c]
movsd qword [esi + 0x77], xmm0
movsd xmm0, qword [esi + 0x77]
movsd xmm1, qword [esi + 0x70]
movsd qword [edx + 0x20], xmm0
movsd qword [edx + 0x19], xmm1
movsd xmm1, qword [esi + 0x68]
movsd qword [edx + 0x11], xmm1
mov dword [edx + 4], eax
mov byte [edx + 8], cl
mov dword [edx], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
test edx, edx
je 0x495ed8
mov eax, edx
shl eax, 4
add edx, eax
cmp edx, 0xffffffdf
je 0x495ed8
sub ecx, eax
push dword [ecx - 0x14]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x495ed8
xor eax, eax
mov byte [ebx + 5], al
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
movsd xmm1, qword [esi + 0xb0]
movsd xmm0, qword [esi + 0xa8]
movsd xmm2, qword [esi + 0xb8]
mov edx, dword [esi + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0xc0]
mov ecx, dword [esi]
movsd qword [eax + 8], xmm0
movsd qword [eax + 0x18], xmm2
movsd qword [eax + 0x20], xmm1
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x28], edx
jmp 0x495ed8