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

Disassembly:
push 0xffffffffffffffff
push 0x515762
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov eax, dword [0x5580a0]
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.004db459
sub esi, eax
mov dword [esp + 0x58], esi
call fcn.004dd995
cmp eax, ebp
je 0x492609
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x49260b
xor eax, eax
push 1
push ebp
lea ecx, [eax + 0x81c]
call fcn.004e6adb
mov ecx, eax
call fcn.00460910
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.004dd995
cmp eax, ebp
je 0x492667
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x492669
xor eax, eax
push 1
push ebp
lea ecx, [eax + 0x81c]
call fcn.004e6adb
cmp esi, dword [eax + 0x424]
jge 0x492b25
call fcn.004dd995
cmp eax, ebp
je 0x492695
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x492697
xor eax, eax
push 1
push ebp
lea ecx, [eax + 0x81c]
call fcn.004e6adb
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 0x4926e9
cmp eax, 0xffffffff
je 0x4926e1
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4926e1
cmp ecx, 1
je 0x4926e1
mov ecx, dword [ebx + 0xbc]
shr eax, 0xa
add ecx, eax
mov dword [ebx + 0xbc], ecx
jmp 0x492713
inc dword [ebx + 0xc4]
jmp 0x492713
cmp eax, 0xffffffff
je 0x49270d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x49270d
cmp ecx, 1
je 0x49270d
mov ecx, dword [ebx + 0xc0]
shr eax, 0xa
add ecx, eax
mov dword [ebx + 0xc0], ecx
jmp 0x492713
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 0x492739
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
jmp 0x4927a1
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd24a
lea edx, [esp + 0x54]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.004d39c5
mov eax, dword [eax]
push 0x552bd8
push eax
call fcn.004c27be
add esp, 8
lea ecx, [esp + 0x54]
test eax, eax
setne byte [esp + 0x17]
call fcn.004dd111
mov al, byte [esp + 0x17]
test al, al
je 0x49278c
push 0x552bd8
lea ecx, [esp + 0x14]
call fcn.004dd4ed
lea eax, [ebp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.004dd529
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 0x492807
lea ecx, [esp + 0x64]
push 0x124
push ecx
call fcn.0042e080
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 0x492848
call fcn.004f7db8
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, eax
call fcn.004461b0
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.004dd111
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, 0x5575a0
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
je 0x492888
mov edi, 0x55759c
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, 0x557598
test eax, eax
jge 0x4928ba
mov edi, 0x557594
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 0x492979
lea eax, [ebp + 0x10]
lea ecx, [esp + 0x10]
push eax
call fcn.004dd24a
lea ecx, [esp + 0x60]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004d39c5
mov eax, dword [eax]
push 0x5525ac
push eax
call fcn.004c27be
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
setne byte [esp + 0x17]
call fcn.004dd111
mov al, byte [esp + 0x17]
test al, al
je 0x492966
push 0x5525ac
lea ecx, [esp + 0x14]
call fcn.004dd4ed
lea edx, [ebp + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004dd529
mov eax, dword [esp + 0x10]
jmp 0x49297c
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 [0x5580a0]
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.0x4929db
jmp dword [ebp*4 + 0x492bc0]
mov dword [esp + 0x30], 0x55cdc0
jmp case.default.0x4929db
lea ecx, [esp + 0x44]
push 0xe872
push ecx
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 2
call fcn.004dd24a
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x44]
jmp 0x492ad0
lea eax, [esp + 0x68]
push 0xc3
push eax
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 3
call fcn.004dd24a
lea ecx, [esp + 0x68]
mov byte [esp + 0x184], 1
call fcn.004dd111
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
jmp 0x492adc
lea edx, [esp + 0x5c]
push 0xe873
push edx
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 4
call fcn.004dd24a
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 1
call fcn.004dd111
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
jmp 0x492adc
lea ecx, [esp + 0x48]
push 0xe874
push ecx
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 5
call fcn.004dd24a
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x48]
call fcn.004dd111
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
push eax
lea ecx, [esp + 0x14]
call fcn.004dd541
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.004dd111
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 0x492655
mov edx, dword [ebx + 0x1c]
push ebp
push 1
push 0xb
push edx
call edi
mov esi, dword [esp + 0x58]
cmp esi, ebp
je 0x492b6f
lea eax, [esp + 0x6c]
push ebp
push eax
push ebp
mov ecx, ebx
call fcn.004d579b
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.004dca21
test eax, eax
je 0x492b92
call fcn.004f7db8
mov eax, dword [eax + 4]
cmp dword [eax + 0x708], ebp
je 0x492b92
mov ecx, ebx
call fcn.00492be0
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 0xffffffff
call fcn.004dd111
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret