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

Disassembly:
push 0xffffffffffffffff
push 0x544bc8
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.00473110
mov dword [esp + 0x6c], 0
lea ebp, [edi + 0x2f8]
push esi
mov ecx, ebp
call fcn.0051732f
lea ecx, [esp + 0x20]
push 4
push ecx
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.00473930
mov edx, dword [edi + 0x314]
push esi
push 3
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x491e9f
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 0x4922df
mov edx, dword [ebp]
mov eax, dword [edi + 0x794]
add ebp, 4
test eax, eax
mov dword [esp + 0x18], ebp
je 0x4922df
mov ecx, dword [edi + 0x78c]
test ecx, ecx
je 0x4922df
shr eax, 2
push edx
push eax
push ecx
call fcn.00474120
add esp, 0xc
cmp eax, 0xffffffff
je 0x4922df
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 0x491f70
mov edx, dword [edi + 0x7e4]
test edx, edx
jne 0x491f66
xor ebx, ebx
mov ebx, ecx
jmp 0x491f72
mov ebx, dword [edi + 0x7dc]
add ebx, ecx
jmp 0x491f72
xor ebx, ebx
mov edx, dword [edi + 0x7c8]
cmp ebp, esi
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
jae 0x49224b
mov edx, dword [esp + 0x10]
mov eax, dword [0x599ef4]
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 0x4922d5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4922d5
push ebx
call fcn.004c9830
mov esi, dword [ebp]
add esp, 4
test eax, eax
je 0x491ff1
mov ecx, dword [esp + 0x14]
dec esi
push ecx
mov ecx, 0x599b08
call fcn.00410650
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 0x492238
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
push ecx
call fcn.004de8e0
add esp, 4
cmp eax, 2
jne 0x49219b
lea ecx, [esp + 0x4c]
call fcn.00473110
xor esi, esi
mov dword [esp + 0x60], 0x599b08
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 0x54d958
mov edx, dword [esp + 0x14]
mov byte [esp + 0x6c], 1
push edx
call fcn.004ddaa0
add esp, 4
cmp eax, 1
jne 0x492067
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push esi
push eax
push ecx
mov ecx, 0x599cbc
call fcn.004d2a60
test eax, eax
je 0x49227f
mov edx, dword [esp + 0x24]
lea ebp, [edx + 0xc]
jmp 0x4920ab
cmp eax, 3
jne 0x4922fa
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push esi
push eax
push ecx
mov ecx, 0x599d14
call fcn.004d2a60
test eax, eax
je 0x49228e
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x44]
push esi
push edx
call fcn.004ce540
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.004d2250
mov esi, eax
test esi, esi
je 0x49229d
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x14]
push eax
call fcn.00473f60
add esp, 4
test eax, eax
je 0x4920da
inc edi
jmp 0x4920ad
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4920ee
mov dword [esp + 0x14], 0x80000301
jmp 0x492101
push 1
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, 0x599b08
call fcn.00448500
push edi
mov ecx, ebp
lea ebx, [esi + 6]
call fcn.004d22a0
mov ecx, dword [esp + 0x2c]
push ebx
cmp eax, ecx
je 0x492134
mov edx, dword [esp + 0x18]
mov ecx, 0x599b08
push edx
call fcn.00410620
mov ecx, dword [esp + 0x10]
add ecx, eax
inc edi
mov dword [esp + 0x10], ecx
jmp 0x4920ad
call fcn.004c9830
add esp, 4
test eax, eax
je 0x492160
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, 0x599a48
call fcn.00467a10
mov ebx, eax
test ebx, ebx
je 0x49229d
jmp 0x492162
xor ebx, ebx
mov dword [esp + 0x44], fcn.004d28e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 6
mov dword [esp + 0x48], 0
call fcn.00473310
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x54d7d0
call fcn.00473310
jmp 0x492234
mov edx, dword [esp + 0x14]
push 0
push edx
mov ecx, 0x599b08
call fcn.00450780
test eax, eax
je 0x4922d5
lea ebp, [esi - 1]
test ebp, ebp
jl 0x4922d1
cmp ebp, dword [eax + 0x30]
jge 0x4922d1
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
jne 0x4921e7
mov edx, dword [esp + 0x14]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ebp
je 0x49220a
mov ecx, dword [esi + 4]
push ecx
push eax
mov ecx, 0x599b08
call fcn.00410620
mov edx, dword [esp + 0x10]
add esi, 0x1c
add edx, eax
inc edi
mov dword [esp + 0x10], edx
jmp 0x4921cd
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 4]
push ebx
call fcn.004c9830
add esp, 4
test eax, eax
je 0x492234
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, 0x599a48
call fcn.00467a10
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 0x491f87
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], 0x54d7d0
call fcn.00473310
mov eax, esi
jmp 0x49232e
mov dword [esp + 0x44], fcn.004d28e0
mov byte [esp + 0x6c], 2
jmp 0x492307
mov dword [esp + 0x44], fcn.004d28e0
mov byte [esp + 0x6c], 3
jmp 0x492307
mov dword [esp + 0x44], fcn.004d28e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 5
mov dword [esp + 0x48], 0
call fcn.00473310
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x54d7d0
call fcn.00473310
mov ebp, dword [esp + 0x18]
cmp ebp, dword [esp + 0x1c]
jae 0x49224b
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x30], 0x54d7d0
call fcn.00473310
jmp 0x49232c
mov dword [esp + 0x44], fcn.004d28e0
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esi
call fcn.00473310
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x54d7d0
call fcn.00473310
jmp 0x4922d5
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