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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x555f88
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x780], ebp
je 0x496155
mov edi, dword [esp + 0xec]
mov eax, dword [0x5b189c]
mov ecx, dword [0x5b18c4]
push ebp
mov ebx, dword [eax + edi*4]
lea eax, [esp + 0x3c]
mov edx, dword [ecx + edi*4]
push eax
push ebx
mov ecx, 0x5b14c0
mov dword [esp + 0x2c], edx
call fcn.004d7c30
test eax, eax
je 0x496155
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push ebp
push ecx
mov eax, dword [edx + 0xc]
mov ecx, 0x5b14dc
push eax
call fcn.004d7c30
test eax, eax
je 0x496155
push ebx
mov ecx, 0x5b1210
call fcn.00463f70
cmp eax, ebp
je 0x496155
cmp dword [esp + 0x20], ebp
je 0x496155
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x7f0], ecx
lea ecx, [esi + 0x784]
mov dword [esi + 0x77c], 1
mov dword [esi + 0x7f8], edx
mov dword [esi + 0x7f4], eax
call fcn.00477ef0
lea ecx, [esi + 0x798]
call fcn.00477ef0
lea ecx, [esi + 0x7ac]
call fcn.00477ef0
lea ecx, [esi + 0x7c0]
call fcn.00477ef0
lea ecx, [esi + 0x7d4]
call fcn.00477ef0
mov dword [esi + 0x7e8], ebp
mov dword [esi + 0x770], ebp
mov eax, dword [esi + 0x350]
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x14e
push eax
call edi
mov ecx, dword [esi + 0x314]
push 0xffff0000
push ebp
push 0x1101
push ecx
call edi
lea ecx, [esp + 0xc8]
mov dword [esp + 0x5c], 0x27
mov dword [esp + 0x58], 0xffff0002
mov dword [esp + 0x2c], ebp
call fcn.00477cf0
mov edx, dword [esi + 0x7f8]
mov dword [esi + 0x7ec], ebp
xor eax, eax
mov dword [esp + 0xe4], ebp
mov ecx, dword [edx + 0x44]
cmp ecx, ebp
lea ecx, [esp + 0xb0]
setne al
mov dword [esp + 0x44], eax
call fcn.00477cf0
mov dword [esp + 0xc4], 0x5b12d0
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], 0x55fab8
mov edi, 1
mov byte [esp + 0xe4], 1
mov dword [esp + 0x1c], edi
jmp 0x495c21
xor ebp, ebp
lea ecx, [edi - 1]
mov dword [esp + 0x24], ebp
cmp ecx, 3
ja case.default.0x495c34
lea edx, [edi - 1]
jmp dword [edx*4 + 0x496174]
mov ebp, dword [esi + 0x7f0]
mov dword [esp + 0x6c], 0x5a63dc
add ebp, 0x18
mov dword [esp + 0x10], ebp
jmp 0x495ccb
mov eax, dword [esi + 0x7f0]
mov dword [esp + 0x6c], 0x5a63cc
add eax, 0x38
mov dword [esp + 0x10], eax
jmp case.default.0x495c34
cmp dword [esp + 0x44], ebp
je 0x495ca0
mov ecx, dword [esi + 0x7f8]
lea eax, [esp + 0xa8]
push ebp
push eax
call fcn.004d36b0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x6c], 0x5a63c4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], 1
jmp case.default.0x495c34
mov eax, dword [esi + 0x7f8]
mov dword [esp + 0x6c], 0x5a63b8
add eax, 0xc
mov dword [esp + 0x10], eax
jmp case.default.0x495c34
mov dword [esp + 0x10], 0x5b14a0
mov dword [esp + 0x6c], 0x59f8a4
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x4960b1
mov eax, 1
lea edx, [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x314]
push edx
push ebx
push 0x1100
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x90], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x7ec]
mov dword [esp + 0x30], eax
cmp ecx, ebx
jne 0x495d1c
mov dword [esi + 0x7ec], eax
cmp dword [esp + 0x24], ebx
je 0x495d81
mov edx, dword [esp + 0x20]
mov eax, dword [0x5b16bc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push ebx
lea ecx, [esp + 0x18]
push 4
add edx, 8
push ecx
push edx
push eax
call edi
test eax, eax
je 0x4960ad
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4960ad
mov edx, dword [0x5b16bc]
push ebx
lea ecx, [esp + 0x18]
push 4
push ecx
push eax
push edx
call edi
test eax, eax
je 0x4960ad
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4960ad
add eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
jmp 0x495d8b
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
push 0
mov eax, ebx
inc ebx
push eax
mov ecx, ebp
mov dword [esp + 0x3c], ebx
call fcn.004d73d0
mov edi, eax
test edi, edi
mov dword [esp + 0x50], edi
je 0x496094
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 0x14]
push eax
mov dword [esp + 0x40], eax
call fcn.00478b40
add esp, 4
test eax, eax
jne 0x495d8b
dec ebx
mov ecx, ebp
push ebx
call fcn.004d7420
mov ebx, eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x28], ebx
je 0x495e4b
mov ecx, dword [esp + 0x14]
push edi
lea eax, [edi + 6]
push ebx
push ecx
push eax
mov dword [esp + 0x58], eax
call fcn.004ce440
add esp, 4
mov ecx, esi
push eax
call fcn.00495910
test eax, eax
je 0x495d8b
mov edi, dword [edi]
mov ebp, 0x80000301
test edi, edi
je 0x495e0f
mov ebp, edi
mov edi, dword [esp + 0x48]
push edi
call fcn.004ce440
add esp, 4
test eax, eax
je 0x495e39
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc8]
push edx
push eax
mov ecx, 0x5b1210
call fcn.0046bbb0
mov edi, eax
push edi
push ebp
mov ecx, 0x5b12d0
call fcn.00412680
add dword [esp + 0x14], eax
jmp 0x495e6a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00495760
test eax, eax
je 0x495d8b
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00495700
mov ebp, eax
push ebp
call fcn.004ce440
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x80], eax
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
neg eax
sbb eax, eax
lea edx, [esp + 0x54]
and eax, 3
push edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x314]
push 0
push 0x1100
push eax
mov dword [esp + 0x7c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5b1140]
mov dword [esp + 0x54], eax
cmp ebx, ecx
jne 0x495eda
mov dword [esp + 0x2c], eax
cmp edi, 1
jne 0x495f2b
push ebp
call fcn.004ce400
add esp, 4
xor ecx, ecx
test eax, eax
setg cl
mov edi, ecx
cmp edi, 1
jne 0x495d87
mov ecx, dword [esi + 0x314]
lea eax, [esp + 0x54]
push eax
push 0
push 0x1100
push ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x7c], 0x59f04c
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x495d87
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x495f43
mov dword [esp + 0x18], 0x80000301
jmp 0x495f56
push 1
lea eax, [esp + 0x1c]
push 1
push eax
mov ecx, 0x5b12d0
call fcn.0044c0b0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e5810
add esp, 4
cmp eax, 2
jne 0x496055
mov edx, dword [esp + 0x18]
push edx
call fcn.004e49d0
add esp, 4
cmp eax, 1
je 0x495efa
mov eax, dword [esp + 0x18]
push eax
call fcn.004e49d0
add esp, 4
cmp eax, 3
jne 0x495d87
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
mov ecx, 0x5b14dc
call fcn.004d7c30
test eax, eax
je 0x495d87
lea ecx, [esp + 0x90]
call fcn.00477cf0
xor ebx, ebx
mov dword [esp + 0xa4], 0x5b12d0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], 0x55fab8
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x88]
push ebx
push eax
mov byte [esp + 0xec], 2
call fcn.004d36b0
mov eax, dword [esp + 0x8c]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x88], 0x55f894
setg cl
mov edi, ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 3
mov dword [esp + 0x8c], ebx
call fcn.00477ef0
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 1
mov dword [esp + 0x90], 0x55f890
call fcn.00477ef0
jmp 0x495ef1
cmp eax, 3
jne 0x495d87
mov edx, dword [esp + 0x18]
push 0
push edx
mov ecx, 0x5b12d0
call fcn.004543c0
test eax, eax
je 0x495d87
mov ecx, dword [eax + 0x30]
test ecx, ecx
jle 0x495d87
test dword [eax + 0x14], 0x800000
jne 0x495d87
jmp 0x495efa
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x314]
push edx
push 2
push 0x1102
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x1c]
inc edi
cmp edi, 4
mov dword [esp + 0x1c], edi
jle 0x495c1f
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
jne 0x4960cf
mov eax, dword [esi + 0x7ec]
mov ecx, dword [esi + 0x314]
push eax
push 9
push 0x110b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x77c], edi
mov dword [esp + 0xa8], 0x55f894
lea ecx, [esp + 0xb0]
mov byte [esp + 0xe4], 4
mov dword [esp + 0xac], edi
call fcn.00477ef0
mov esi, 0x55f890
lea ecx, [esp + 0xb0]
mov byte [esp + 0xe4], 0
mov dword [esp + 0xb0], esi
call fcn.00477ef0
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xc8], esi
call fcn.00477ef0
mov eax, 1
jmp 0x496157
xor eax, eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 4