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

Disassembly:
push 0xffffffffffffffff
push 0x515ad2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov eax, dword [0x5580c0]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
push ebp
push ebp
push 0x1004
push ecx
mov dword [esp + 0x194], ebp
call edi
push 1
mov ecx, ebx
mov esi, eax
call fcn.004db795
sub esi, eax
mov dword [esp + 0x58], esi
call fcn.004ddcd1
cmp eax, ebp
je 0x4929f9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4929fb
xor eax, eax
push 1
push ebp
lea ecx, [eax + 0x81c]
call fcn.004e6e12
mov ecx, eax
call fcn.00460c00
mov eax, dword [ebx + 0x1c]
push ebp
push ebp
push 0xb
push eax
mov dword [ebx + 0xbc], ebp
mov dword [ebx + 0xc0], ebp
mov dword [ebx + 0xc4], ebp
mov dword [ebx + 0xc8], ebp
call edi
mov ecx, dword [ebx + 0x1c]
push ebp
push ebp
push 0x1009
push ecx
call edi
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.004ddcd1
cmp eax, ebp
je 0x492a57
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x492a59
xor eax, eax
push 1
push ebp
lea ecx, [eax + 0x81c]
call fcn.004e6e12
cmp esi, dword [eax + 0x424]
jge 0x492f15
call fcn.004ddcd1
cmp eax, ebp
je 0x492a85
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x492a87
xor eax, eax
push 1
push ebp
lea ecx, [eax + 0x81c]
call fcn.004e6e12
mov eax, dword [eax + 0x420]
mov edx, 2
mov ebp, dword [eax + esi*4]
mov eax, dword [ebp + 0x18]
cmp eax, edx
mov eax, dword [ebp + 0x1c]
jne 0x492ad9
cmp eax, 0xffffffff
je 0x492ad1
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x492ad1
cmp ecx, 1
je 0x492ad1
mov ecx, dword [ebx + 0xbc]
shr eax, 0xa
add ecx, eax
mov dword [ebx + 0xbc], ecx
jmp 0x492b03
inc dword [ebx + 0xc4]
jmp 0x492b03
cmp eax, 0xffffffff
je 0x492afd
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x492afd
cmp ecx, 1
je 0x492afd
mov ecx, dword [ebx + 0xc0]
shr eax, 0xa
add ecx, eax
mov dword [ebx + 0xc0], ecx
jmp 0x492b03
inc dword [ebx + 0xc8]
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], esi
cmp dword [ebp + 0x18], edx
jne 0x492b29
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
jmp 0x492b91
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd586
lea edx, [esp + 0x54]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.004d3d01
mov eax, dword [eax]
push 0x552bd8
push eax
call fcn.004c2aee
add esp, 8
lea ecx, [esp + 0x54]
test eax, eax
setne byte [esp + 0x17]
call fcn.004dd44d
mov al, byte [esp + 0x17]
test al, al
je 0x492b7c
push 0x552bd8
lea ecx, [esp + 0x14]
call fcn.004dd829
lea eax, [ebp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.004dd865
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x1007
push eax
call edi
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x492bf7
lea ecx, [esp + 0x64]
push 0x124
push ecx
call fcn.0042e2e0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x64]
jmp 0x492c38
call fcn.004f80f4
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, eax
call fcn.004464e0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x7c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call fcn.004dd44d
mov eax, dword [ebx + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1006
push eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 2
mov edi, 0x5575c0
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
je 0x492c78
mov edi, 0x5575bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x7c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x44]
mov edi, 0x5575b8
test eax, eax
jge 0x492caa
mov edi, 0x5575b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x7c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebx + 0x1c]
and ecx, 3
lea eax, [esp + 0x7c]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x1006
push edx
mov dword [esp + 0x40], eax
call esi
mov dword [esp + 0x24], 3
mov eax, dword [ebp + 0x18]
cmp eax, 2
jne 0x492d69
lea eax, [ebp + 0x10]
lea ecx, [esp + 0x10]
push eax
call fcn.004dd586
lea ecx, [esp + 0x60]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004d3d01
mov eax, dword [eax]
push 0x5525ac
push eax
call fcn.004c2aee
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
setne byte [esp + 0x17]
call fcn.004dd44d
mov al, byte [esp + 0x17]
test al, al
je 0x492d56
push 0x5525ac
lea ecx, [esp + 0x14]
call fcn.004dd829
lea edx, [ebp + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004dd865
mov eax, dword [esp + 0x10]
jmp 0x492d6c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x1006
push edx
mov dword [esp + 0x40], eax
call esi
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x24], 4
mov eax, dword [ebp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
push 0
mov eax, dword [eax + 8]
push 0x1006
push edx
mov dword [esp + 0x40], eax
call esi
mov eax, dword [0x5580c0]
mov dword [esp + 0x24], 5
mov dword [esp + 0x50], eax
mov ebp, dword [ebp + 0x34]
mov byte [esp + 0x184], 1
cmp ebp, 4
ja case.default.0x492dcb
jmp dword [ebp*4 + 0x492fb0]
mov dword [esp + 0x30], 0x55cde0
jmp case.default.0x492dcb
lea ecx, [esp + 0x44]
push 0xe872
push ecx
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 2
call fcn.004dd586
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x44]
jmp 0x492ec0
lea eax, [esp + 0x68]
push 0xc3
push eax
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 3
call fcn.004dd586
lea ecx, [esp + 0x68]
mov byte [esp + 0x184], 1
call fcn.004dd44d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
jmp 0x492ecc
lea edx, [esp + 0x5c]
push 0xe873
push edx
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 4
call fcn.004dd586
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 1
call fcn.004dd44d
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
jmp 0x492ecc
lea ecx, [esp + 0x48]
push 0xe874
push ecx
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 5
call fcn.004dd586
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x48]
call fcn.004dd44d
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
push eax
lea ecx, [esp + 0x14]
call fcn.004dd87d
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1006
push ecx
call esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x184], 0
call fcn.004dd44d
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
inc eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x492a45
mov edx, dword [ebx + 0x1c]
push ebp
push 1
push 0xb
push edx
call edi
mov esi, dword [esp + 0x58]
cmp esi, ebp
je 0x492f5f
lea eax, [esp + 0x6c]
push ebp
push eax
push ebp
mov ecx, ebx
call fcn.004d5ad4
mov ecx, dword [ebx + 0x1c]
push ebp
push ebp
push 0x1004
push ecx
call edi
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
sub ecx, edx
sub eax, esi
imul ecx, eax
mov edx, dword [ebx + 0x1c]
push ecx
push ebp
push 0x1014
push edx
call edi
push ebp
mov ecx, ebx
call fcn.004dcd5d
test eax, eax
je 0x492f82
call fcn.004f80f4
mov eax, dword [eax + 4]
cmp dword [eax + 0x708], ebp
je 0x492f82
mov ecx, ebx
call fcn.00492fd0
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 0xffffffff
call fcn.004dd44d
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret