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

Disassembly:
push 0xffffffffffffffff
push 0x556128
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.00477df0
mov dword [esp + 0x6c], 0
lea ebp, [edi + 0x2f8]
push esi
mov ecx, ebp
call fcn.00525bc2
lea ecx, [esp + 0x20]
push 4
push ecx
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.00478610
mov edx, dword [edi + 0x314]
push esi
push 3
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x496c6f
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 0x4970af
mov edx, dword [ebp]
mov eax, dword [edi + 0x794]
add ebp, 4
test eax, eax
mov dword [esp + 0x18], ebp
je 0x4970af
mov ecx, dword [edi + 0x78c]
test ecx, ecx
je 0x4970af
shr eax, 2
push edx
push eax
push ecx
call fcn.00478e00
add esp, 0xc
cmp eax, 0xffffffff
je 0x4970af
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 0x496d40
mov edx, dword [edi + 0x7e4]
test edx, edx
jne 0x496d36
xor ebx, ebx
mov ebx, ecx
jmp 0x496d42
mov ebx, dword [edi + 0x7dc]
add ebx, ecx
jmp 0x496d42
xor ebx, ebx
mov edx, dword [edi + 0x7c8]
cmp ebp, esi
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
jae 0x49701b
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 0x4970a5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4970a5
push ebx
call fcn.004ce550
mov esi, dword [ebp]
add esp, 4
test eax, eax
je 0x496dc1
mov ecx, dword [esp + 0x14]
dec esi
push ecx
mov ecx, 0x5b12d0
call fcn.004127d0
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 0x497008
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
push ecx
call fcn.004e5910
add esp, 4
cmp eax, 2
jne 0x496f6b
lea ecx, [esp + 0x4c]
call fcn.00477df0
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.004e4ad0
add esp, 4
cmp eax, 1
jne 0x496e37
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push esi
push eax
push ecx
mov ecx, 0x5b1484
call fcn.004d7d40
test eax, eax
je 0x49704f
mov edx, dword [esp + 0x24]
lea ebp, [edx + 0xc]
jmp 0x496e7b
cmp eax, 3
jne 0x4970ca
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push esi
push eax
push ecx
mov ecx, 0x5b14dc
call fcn.004d7d40
test eax, eax
je 0x49705e
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x44]
push esi
push edx
call fcn.004d37c0
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.004d74e0
mov esi, eax
test esi, esi
je 0x49706d
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x14]
push eax
call fcn.00478c40
add esp, 4
test eax, eax
je 0x496eaa
inc edi
jmp 0x496e7d
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x496ebe
mov dword [esp + 0x14], 0x80000301
jmp 0x496ed1
push 1
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, 0x5b12d0
call fcn.0044c1b0
push edi
mov ecx, ebp
lea ebx, [esi + 6]
call fcn.004d7530
mov ecx, dword [esp + 0x2c]
push ebx
cmp eax, ecx
je 0x496f04
mov edx, dword [esp + 0x18]
mov ecx, 0x5b12d0
push edx
call fcn.004127a0
mov ecx, dword [esp + 0x10]
add ecx, eax
inc edi
mov dword [esp + 0x10], ecx
jmp 0x496e7d
call fcn.004ce550
add esp, 4
test eax, eax
je 0x496f30
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, 0x5b1210
call fcn.0046bcb0
mov ebx, eax
test ebx, ebx
je 0x49706d
jmp 0x496f32
xor ebx, ebx
mov dword [esp + 0x44], fcn.004d7b70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 6
mov dword [esp + 0x48], 0
call fcn.00477ff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ff0
jmp 0x497004
mov edx, dword [esp + 0x14]
push 0
push edx
mov ecx, 0x5b12d0
call fcn.004544c0
test eax, eax
je 0x4970a5
lea ebp, [esi - 1]
test ebp, ebp
jl 0x4970a1
cmp ebp, dword [eax + 0x30]
jge 0x4970a1
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
jne 0x496fb7
mov edx, dword [esp + 0x14]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ebp
je 0x496fda
mov ecx, dword [esi + 4]
push ecx
push eax
mov ecx, 0x5b12d0
call fcn.004127a0
mov edx, dword [esp + 0x10]
add esi, 0x1c
add edx, eax
inc edi
mov dword [esp + 0x10], edx
jmp 0x496f9d
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 4]
push ebx
call fcn.004ce550
add esp, 4
test eax, eax
je 0x497004
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, 0x5b1210
call fcn.0046bcb0
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 0x496d57
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.00477ff0
mov eax, esi
jmp 0x4970fe
mov dword [esp + 0x44], fcn.004d7b70
mov byte [esp + 0x6c], 2
jmp 0x4970d7
mov dword [esp + 0x44], fcn.004d7b70
mov byte [esp + 0x6c], 3
jmp 0x4970d7
mov dword [esp + 0x44], fcn.004d7b70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 5
mov dword [esp + 0x48], 0
call fcn.00477ff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ff0
mov ebp, dword [esp + 0x18]
cmp ebp, dword [esp + 0x1c]
jae 0x49701b
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x30], 0x55f890
call fcn.00477ff0
jmp 0x4970fc
mov dword [esp + 0x44], fcn.004d7b70
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esi
call fcn.00477ff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ff0
jmp 0x4970a5
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