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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x544b48
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x780], ebp
je 0x491475
mov edi, dword [esp + 0xec]
mov eax, dword [0x59a0d0]
mov ecx, dword [0x59a0f8]
push ebp
mov ebx, dword [eax + edi*4]
lea eax, [esp + 0x3c]
mov edx, dword [ecx + edi*4]
push eax
push ebx
mov ecx, 0x599cf8
mov dword [esp + 0x2c], edx
call fcn.004d2a60
test eax, eax
je 0x491475
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push ebp
push ecx
mov eax, dword [edx + 8]
mov ecx, 0x599d14
push eax
call fcn.004d2a60
test eax, eax
je 0x491475
push ebx
mov ecx, 0x599a48
call fcn.00460120
cmp eax, ebp
je 0x491475
cmp dword [esp + 0x20], ebp
je 0x491475
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x7f0], ecx
lea ecx, [esi + 0x784]
mov dword [esi + 0x77c], 1
mov dword [esi + 0x7f8], edx
mov dword [esi + 0x7f4], eax
call fcn.00473310
lea ecx, [esi + 0x798]
call fcn.00473310
lea ecx, [esi + 0x7ac]
call fcn.00473310
lea ecx, [esi + 0x7c0]
call fcn.00473310
lea ecx, [esi + 0x7d4]
call fcn.00473310
mov dword [esi + 0x7e8], ebp
mov dword [esi + 0x770], ebp
mov eax, dword [esi + 0x350]
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x14e
push eax
call edi
mov ecx, dword [esi + 0x314]
push 0xffff0000
push ebp
push 0x1101
push ecx
call edi
lea ecx, [esp + 0xc8]
mov dword [esp + 0x5c], 0x27
mov dword [esp + 0x58], 0xffff0002
mov dword [esp + 0x2c], ebp
call fcn.00473110
mov edx, dword [esi + 0x7f8]
mov dword [esi + 0x7ec], ebp
xor eax, eax
mov dword [esp + 0xe4], ebp
mov ecx, dword [edx + 0x44]
cmp ecx, ebp
lea ecx, [esp + 0xb0]
setne al
mov dword [esp + 0x44], eax
call fcn.00473110
mov dword [esp + 0xc4], 0x599b08
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], 0x54d958
mov edi, 1
mov byte [esp + 0xe4], 1
mov dword [esp + 0x1c], edi
jmp 0x490f41
xor ebp, ebp
lea ecx, [edi - 1]
mov dword [esp + 0x24], ebp
cmp ecx, 3
ja case.default.0x490f54
lea edx, [edi - 1]
jmp dword [edx*4 + 0x491494]
mov ebp, dword [esi + 0x7f0]
mov dword [esp + 0x6c], 0x58f498
add ebp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x490feb
mov eax, dword [esi + 0x7f0]
mov dword [esp + 0x6c], 0x58f488
add eax, 0x34
mov dword [esp + 0x10], eax
jmp case.default.0x490f54
cmp dword [esp + 0x44], ebp
je 0x490fc0
mov ecx, dword [esi + 0x7f8]
lea eax, [esp + 0xa8]
push ebp
push eax
call fcn.004ce540
lea ecx, [esp + 0xa8]
mov dword [esp + 0x6c], 0x58f480
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], 1
jmp case.default.0x490f54
mov eax, dword [esi + 0x7f8]
mov dword [esp + 0x6c], 0x58f474
add eax, 0xc
mov dword [esp + 0x10], eax
jmp case.default.0x490f54
mov dword [esp + 0x10], 0x599cd8
mov dword [esp + 0x6c], 0x588e28
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x4913d1
mov eax, 1
lea edx, [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x314]
push edx
push ebx
push 0x1100
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x90], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x7ec]
mov dword [esp + 0x30], eax
cmp ecx, ebx
jne 0x49103c
mov dword [esi + 0x7ec], eax
cmp dword [esp + 0x24], ebx
je 0x4910a1
mov edx, dword [esp + 0x20]
mov eax, dword [0x599ef4]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push ebx
lea ecx, [esp + 0x18]
push 4
add edx, 8
push ecx
push edx
push eax
call edi
test eax, eax
je 0x4913cd
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4913cd
mov edx, dword [0x599ef4]
push ebx
lea ecx, [esp + 0x18]
push 4
push ecx
push eax
push edx
call edi
test eax, eax
je 0x4913cd
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4913cd
add eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
jmp 0x4910ab
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
push 0
mov eax, ebx
inc ebx
push eax
mov ecx, ebp
mov dword [esp + 0x3c], ebx
call fcn.004d2250
mov edi, eax
test edi, edi
mov dword [esp + 0x50], edi
je 0x4913b4
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 0x14]
push eax
mov dword [esp + 0x40], eax
call fcn.00473f60
add esp, 4
test eax, eax
jne 0x4910ab
dec ebx
mov ecx, ebp
push ebx
call fcn.004d22a0
mov ebx, eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x28], ebx
je 0x49116b
mov ecx, dword [esp + 0x14]
push edi
lea eax, [edi + 6]
push ebx
push ecx
push eax
mov dword [esp + 0x58], eax
call fcn.004c9830
add esp, 4
mov ecx, esi
push eax
call fcn.00490c30
test eax, eax
je 0x4910ab
mov edi, dword [edi]
mov ebp, 0x80000301
test edi, edi
je 0x49112f
mov ebp, edi
mov edi, dword [esp + 0x48]
push edi
call fcn.004c9830
add esp, 4
test eax, eax
je 0x491159
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc8]
push edx
push eax
mov ecx, 0x599a48
call fcn.00467a10
mov edi, eax
push edi
push ebp
mov ecx, 0x599b08
call fcn.00410620
add dword [esp + 0x14], eax
jmp 0x49118a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00490a80
test eax, eax
je 0x4910ab
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00490a20
mov ebp, eax
push ebp
call fcn.004c9830
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x80], eax
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
neg eax
sbb eax, eax
lea edx, [esp + 0x54]
and eax, 3
push edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x314]
push 0
push 0x1100
push eax
mov dword [esp + 0x7c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x599978]
mov dword [esp + 0x54], eax
cmp ebx, ecx
jne 0x4911fa
mov dword [esp + 0x2c], eax
cmp edi, 1
jne 0x49124b
push ebp
call fcn.004c97f0
add esp, 4
xor ecx, ecx
test eax, eax
setg cl
mov edi, ecx
cmp edi, 1
jne 0x4910a7
mov ecx, dword [esi + 0x314]
lea eax, [esp + 0x54]
push eax
push 0
push 0x1100
push ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x7c], 0x5885f8
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4910a7
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x491263
mov dword [esp + 0x18], 0x80000301
jmp 0x491276
push 1
lea eax, [esp + 0x1c]
push 1
push eax
mov ecx, 0x599b08
call fcn.00448500
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004de8e0
add esp, 4
cmp eax, 2
jne 0x491375
mov edx, dword [esp + 0x18]
push edx
call fcn.004ddaa0
add esp, 4
cmp eax, 1
je 0x49121a
mov eax, dword [esp + 0x18]
push eax
call fcn.004ddaa0
add esp, 4
cmp eax, 3
jne 0x4910a7
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
mov ecx, 0x599d14
call fcn.004d2a60
test eax, eax
je 0x4910a7
lea ecx, [esp + 0x90]
call fcn.00473110
xor ebx, ebx
mov dword [esp + 0xa4], 0x599b08
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], 0x54d958
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x88]
push ebx
push eax
mov byte [esp + 0xec], 2
call fcn.004ce540
mov eax, dword [esp + 0x8c]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x88], 0x54d7d4
setg cl
mov edi, ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 3
mov dword [esp + 0x8c], ebx
call fcn.00473310
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 1
mov dword [esp + 0x90], 0x54d7d0
call fcn.00473310
jmp 0x491211
cmp eax, 3
jne 0x4910a7
mov edx, dword [esp + 0x18]
push 0
push edx
mov ecx, 0x599b08
call fcn.00450780
test eax, eax
je 0x4910a7
mov ecx, dword [eax + 0x30]
test ecx, ecx
jle 0x4910a7
test dword [eax + 0x14], 0x800000
jne 0x4910a7
jmp 0x49121a
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x314]
push edx
push 2
push 0x1102
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x1c]
inc edi
cmp edi, 4
mov dword [esp + 0x1c], edi
jle 0x490f3f
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
jne 0x4913ef
mov eax, dword [esi + 0x7ec]
mov ecx, dword [esi + 0x314]
push eax
push 9
push 0x110b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x77c], edi
mov dword [esp + 0xa8], 0x54d7d4
lea ecx, [esp + 0xb0]
mov byte [esp + 0xe4], 4
mov dword [esp + 0xac], edi
call fcn.00473310
mov esi, 0x54d7d0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xe4], 0
mov dword [esp + 0xb0], esi
call fcn.00473310
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xc8], esi
call fcn.00473310
mov eax, 1
jmp 0x491477
xor eax, eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 4