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

Disassembly:
push 0xffffffffffffffff
push 0x556008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
push 0
push 9
mov eax, dword [edi + 0x314]
push 0x110a
push eax
call ebx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00477cf0
mov dword [esp + 0x6c], 0
lea ebp, [edi + 0x2f8]
push esi
mov ecx, ebp
call fcn.00525a77
lea ecx, [esp + 0x20]
push 4
push ecx
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.00478510
mov edx, dword [edi + 0x314]
push esi
push 3
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x496b7f
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, ecx
neg eax
sbb eax, eax
and eax, edx
lea ebp, [eax + 4]
mov eax, ecx
neg eax
sbb eax, eax
and eax, edx
lea esi, [eax + ecx]
cmp ebp, esi
mov dword [esp + 0x1c], esi
jae 0x496fbf
mov edx, dword [ebp]
mov eax, dword [edi + 0x794]
add ebp, 4
test eax, eax
mov dword [esp + 0x18], ebp
je 0x496fbf
mov ecx, dword [edi + 0x78c]
test ecx, ecx
je 0x496fbf
shr eax, 2
push edx
push eax
push ecx
call fcn.00478d00
add esp, 0xc
cmp eax, 0xffffffff
je 0x496fbf
mov ecx, dword [edi + 0x7a0]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edi + 0x7b4]
mov dword [esp + 0x14], edx
mov ecx, dword [ecx + eax*4]
cmp ecx, 0xffffffff
je 0x496c50
mov edx, dword [edi + 0x7e4]
test edx, edx
jne 0x496c46
xor ebx, ebx
mov ebx, ecx
jmp 0x496c52
mov ebx, dword [edi + 0x7dc]
add ebx, ecx
jmp 0x496c52
xor ebx, ebx
mov edx, dword [edi + 0x7c8]
cmp ebp, esi
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
jae 0x496f2b
mov edx, dword [esp + 0x10]
mov eax, dword [0x5b16bc]
push 0
lea ecx, [esp + 0x14]
push 4
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x496fb5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x496fb5
push ebx
call fcn.004ce440
mov esi, dword [ebp]
add esp, 4
test eax, eax
je 0x496cd1
mov ecx, dword [esp + 0x14]
dec esi
push ecx
mov ecx, 0x5b12d0
call fcn.004126b0
imul eax, esi
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [ebx]
add eax, ecx
xor ebx, ebx
lea eax, [eax + edx*4 + 4]
mov dword [esp + 0x10], eax
jmp 0x496f18
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
push ecx
call fcn.004e5810
add esp, 4
cmp eax, 2
jne 0x496e7b
lea ecx, [esp + 0x4c]
call fcn.00477cf0
xor esi, esi
mov dword [esp + 0x60], 0x5b12d0
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 0x55fab8
mov edx, dword [esp + 0x14]
mov byte [esp + 0x6c], 1
push edx
call fcn.004e49d0
add esp, 4
cmp eax, 1
jne 0x496d47
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push esi
push eax
push ecx
mov ecx, 0x5b1484
call fcn.004d7c30
test eax, eax
je 0x496f5f
mov edx, dword [esp + 0x24]
lea ebp, [edx + 0xc]
jmp 0x496d8b
cmp eax, 3
jne 0x496fda
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push esi
push eax
push ecx
mov ecx, 0x5b14dc
call fcn.004d7c30
test eax, eax
je 0x496f6e
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x44]
push esi
push edx
call fcn.004d36b0
mov eax, dword [esp + 0x10]
lea ebp, [esp + 0x44]
add eax, 4
mov dword [esp + 0x10], eax
xor edi, edi
push 0
push edi
mov ecx, ebp
call fcn.004d73d0
mov esi, eax
test esi, esi
je 0x496f7d
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x14]
push eax
call fcn.00478b40
add esp, 4
test eax, eax
je 0x496dba
inc edi
jmp 0x496d8d
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x496dce
mov dword [esp + 0x14], 0x80000301
jmp 0x496de1
push 1
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, 0x5b12d0
call fcn.0044c0b0
push edi
mov ecx, ebp
lea ebx, [esi + 6]
call fcn.004d7420
mov ecx, dword [esp + 0x2c]
push ebx
cmp eax, ecx
je 0x496e14
mov edx, dword [esp + 0x18]
mov ecx, 0x5b12d0
push edx
call fcn.00412680
mov ecx, dword [esp + 0x10]
add ecx, eax
inc edi
mov dword [esp + 0x10], ecx
jmp 0x496d8d
call fcn.004ce440
add esp, 4
test eax, eax
je 0x496e40
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, 0x5b1210
call fcn.0046bbb0
mov ebx, eax
test ebx, ebx
je 0x496f7d
jmp 0x496e42
xor ebx, ebx
mov dword [esp + 0x44], fcn.004d7a60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 6
mov dword [esp + 0x48], 0
call fcn.00477ef0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ef0
jmp 0x496f14
mov edx, dword [esp + 0x14]
push 0
push edx
mov ecx, 0x5b12d0
call fcn.004543c0
test eax, eax
je 0x496fb5
lea ebp, [esi - 1]
test ebp, ebp
jl 0x496fb1
cmp ebp, dword [eax + 0x30]
jge 0x496fb1
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
jne 0x496ec7
mov edx, dword [esp + 0x14]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ebp
je 0x496eea
mov ecx, dword [esi + 4]
push ecx
push eax
mov ecx, 0x5b12d0
call fcn.00412680
mov edx, dword [esp + 0x10]
add esi, 0x1c
add edx, eax
inc edi
mov dword [esp + 0x10], edx
jmp 0x496ead
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 4]
push ebx
call fcn.004ce440
add esp, 4
test eax, eax
je 0x496f14
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, 0x5b1210
call fcn.0046bbb0
mov ebx, eax
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ebp, 4
cmp ebp, eax
mov dword [esp + 0x18], ebp
jb 0x496c67
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
mov dword [ecx], edx
lea ecx, [esp + 0x30]
mov dword [eax], ebx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x30], 0x55f890
call fcn.00477ef0
mov eax, esi
jmp 0x49700e
mov dword [esp + 0x44], fcn.004d7a60
mov byte [esp + 0x6c], 2
jmp 0x496fe7
mov dword [esp + 0x44], fcn.004d7a60
mov byte [esp + 0x6c], 3
jmp 0x496fe7
mov dword [esp + 0x44], fcn.004d7a60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 5
mov dword [esp + 0x48], 0
call fcn.00477ef0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ef0
mov ebp, dword [esp + 0x18]
cmp ebp, dword [esp + 0x1c]
jae 0x496f2b
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x30], 0x55f890
call fcn.00477ef0
jmp 0x49700c
mov dword [esp + 0x44], fcn.004d7a60
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esi
call fcn.00477ef0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ef0
jmp 0x496fb5
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc