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

Disassembly:
push 0xffffffffffffffff
push 0x545038
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.004733a0
mov dword [esp + 0x6c], 0
lea ebp, [edi + 0x2f8]
push esi
mov ecx, ebp
call fcn.0051774d
lea ecx, [esp + 0x20]
push 4
push ecx
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.00473bc0
mov edx, dword [edi + 0x314]
push esi
push 3
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x49226f
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 0x4926af
mov edx, dword [ebp]
mov eax, dword [edi + 0x794]
add ebp, 4
test eax, eax
mov dword [esp + 0x18], ebp
je 0x4926af
mov ecx, dword [edi + 0x78c]
test ecx, ecx
je 0x4926af
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4926af
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 0x492340
mov edx, dword [edi + 0x7e4]
test edx, edx
jne 0x492336
xor ebx, ebx
mov ebx, ecx
jmp 0x492342
mov ebx, dword [edi + 0x7dc]
add ebx, ecx
jmp 0x492342
xor ebx, ebx
mov edx, dword [edi + 0x7c8]
cmp ebp, esi
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
jae 0x49261b
mov edx, dword [esp + 0x10]
mov eax, dword [0x599fdc]
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 0x4926a5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4926a5
push ebx
call fcn.004c9c50
mov esi, dword [ebp]
add esp, 4
test eax, eax
je 0x4923c1
mov ecx, dword [esp + 0x14]
dec esi
push ecx
mov ecx, 0x599bf0
call fcn.004109a0
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 0x492608
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
push ecx
call fcn.004ded00
add esp, 4
cmp eax, 2
jne 0x49256b
lea ecx, [esp + 0x4c]
call fcn.004733a0
xor esi, esi
mov dword [esp + 0x60], 0x599bf0
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 0x54d958
mov edx, dword [esp + 0x14]
mov byte [esp + 0x6c], 1
push edx
call fcn.004ddec0
add esp, 4
cmp eax, 1
jne 0x492437
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push esi
push eax
push ecx
mov ecx, 0x599da4
call fcn.004d2e80
test eax, eax
je 0x49264f
mov edx, dword [esp + 0x24]
lea ebp, [edx + 0xc]
jmp 0x49247b
cmp eax, 3
jne 0x4926ca
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push esi
push eax
push ecx
mov ecx, 0x599dfc
call fcn.004d2e80
test eax, eax
je 0x49265e
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x44]
push esi
push edx
call fcn.004ce960
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.004d2670
mov esi, eax
test esi, esi
je 0x49266d
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x14]
push eax
call fcn.004741f0
add esp, 4
test eax, eax
je 0x4924aa
inc edi
jmp 0x49247d
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4924be
mov dword [esp + 0x14], 0x80000301
jmp 0x4924d1
push 1
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, 0x599bf0
call fcn.00448a50
push edi
mov ecx, ebp
lea ebx, [esi + 6]
call fcn.004d26c0
mov ecx, dword [esp + 0x2c]
push ebx
cmp eax, ecx
je 0x492504
mov edx, dword [esp + 0x18]
mov ecx, 0x599bf0
push edx
call fcn.00410970
mov ecx, dword [esp + 0x10]
add ecx, eax
inc edi
mov dword [esp + 0x10], ecx
jmp 0x49247d
call fcn.004c9c50
add esp, 4
test eax, eax
je 0x492530
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, 0x599b30
call fcn.00467f80
mov ebx, eax
test ebx, ebx
je 0x49266d
jmp 0x492532
xor ebx, ebx
mov dword [esp + 0x44], fcn.004d2d00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 6
mov dword [esp + 0x48], 0
call fcn.004735a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x54d7d0
call fcn.004735a0
jmp 0x492604
mov edx, dword [esp + 0x14]
push 0
push edx
mov ecx, 0x599bf0
call fcn.00450cd0
test eax, eax
je 0x4926a5
lea ebp, [esi - 1]
test ebp, ebp
jl 0x4926a1
cmp ebp, dword [eax + 0x30]
jge 0x4926a1
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
jne 0x4925b7
mov edx, dword [esp + 0x14]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ebp
je 0x4925da
mov ecx, dword [esi + 4]
push ecx
push eax
mov ecx, 0x599bf0
call fcn.00410970
mov edx, dword [esp + 0x10]
add esi, 0x1c
add edx, eax
inc edi
mov dword [esp + 0x10], edx
jmp 0x49259d
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 4]
push ebx
call fcn.004c9c50
add esp, 4
test eax, eax
je 0x492604
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, 0x599b30
call fcn.00467f80
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 0x492357
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.004735a0
mov eax, esi
jmp 0x4926fe
mov dword [esp + 0x44], fcn.004d2d00
mov byte [esp + 0x6c], 2
jmp 0x4926d7
mov dword [esp + 0x44], fcn.004d2d00
mov byte [esp + 0x6c], 3
jmp 0x4926d7
mov dword [esp + 0x44], fcn.004d2d00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 5
mov dword [esp + 0x48], 0
call fcn.004735a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x54d7d0
call fcn.004735a0
mov ebp, dword [esp + 0x18]
cmp ebp, dword [esp + 0x1c]
jae 0x49261b
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x30], 0x54d7d0
call fcn.004735a0
jmp 0x4926fc
mov dword [esp + 0x44], fcn.004d2d00
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esi
call fcn.004735a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x54d7d0
call fcn.004735a0
jmp 0x4926a5
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