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

Disassembly:
push 0xffffffffffffffff
push 0x59dc2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x6c]
mov dword [esi + 0x190], 1
call fcn.00574340
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x84], ebx
call fcn.004a1210
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xec]
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x50]
call fcn.0046bd40
lea ecx, [esp + 0x58]
push ebx
push ecx
push ebx
push 0x30
mov byte [esp + 0x94], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call dword [edx + 0x12c]
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x49ac08
mov ecx, esi
call fcn.004a1210
push ebx
push ebx
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [esp + 0x28], esp
mov ebp, dword [edi]
push ebx
call fcn.004d97e0
lea ecx, [esp + 0x80]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, edi
call dword [ebp + 0xc0]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
add ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0xe0], 1
jne 0x49ac9e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x158]
lea eax, [esp + 0x38]
push ebx
push eax
push 0x142
mov ecx, esi
call fcn.004a16c0
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0xe4]
push edx
call fcn.004992b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
sub eax, ecx
mov ecx, edx
sub ecx, ebp
push edx
push eax
mov eax, dword [esp + 0x40]
push ecx
lea ecx, [esi + 0x1a4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [esi + 0x1b4]
push edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x190], ebx
mov esi, dword [esp + 0x8c]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x49af16
mov ecx, dword [esi + 0xe4]
push ebx
push 1
push 0xffffffffffffffff
push 0xa
call fcn.00497a00
cmp eax, ebx
je 0x49acc0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x110]
jmp 0x49acc2
xor eax, eax
cmp eax, ebx
mov dword [esi + 0x1c4], eax
mov dword [esp + 0x2c], ebx
je 0x49aceb
sub eax, 2
mov ecx, dword [esp + 0x44]
neg eax
sbb eax, eax
and eax, 3
add eax, 8
add ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ecx
cmp dword [esp + 0x90], ebx
jne 0x49ad3d
mov ecx, esi
xor edi, edi
call fcn.0049fd50
test eax, eax
jle 0x49ad2c
push edi
mov ecx, esi
call fcn.0049fd60
cmp eax, ebx
je 0x49ad20
cmp dword [eax + 0xfc], esi
jne 0x49ad20
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x9c]
mov ecx, esi
inc edi
call fcn.0049fd50
cmp edi, eax
jl 0x49ad01
mov ecx, esi
call fcn.0049be50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov ecx, dword [esi + 0xe4]
push 0x23be
call fcn.004979e0
mov edi, eax
mov eax, dword [esi + 0x194]
xor ebp, ebp
cmp eax, ebx
je 0x49ae14
mov ecx, esi
call fcn.004a1210
mov edx, dword [eax]
push ebx
push ebx
push esi
push ebx
lea ecx, [esp + 0x78]
push 1
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [edx + 0xb8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 4]
add ecx, ebp
cmp edi, ebx
mov dword [esp + 0x44], ecx
jne 0x49ae06
push 0x170
call fcn.0056bc5e
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov byte [esp + 0x84], 2
je 0x49ade0
mov ecx, edi
call fcn.00494b70
mov dword [edi], 0x5b86cc
mov dword [edi + 0x1c], 0x5b8670
mov dword [edi + 0xf8], 1
mov dword [edi + 0xd0], 0x5a
jmp 0x49ade2
xor edi, edi
mov ecx, dword [esi + 0xe4]
push 1
push 0xffffffffffffffff
push 0x6021f0
push 0x23be
push edi
mov byte [esp + 0x98], 1
call fcn.00497640
mov edi, eax
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x8c]
jmp 0x49ae24
cmp edi, ebx
je 0x49ae24
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x8c]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.004a16c0
mov ecx, dword [esp + 0x94]
push eax
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esi + 0xe4]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00499830
cmp dword [esi + 0x194], ebx
je 0x49aea4
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x8c]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
sub eax, ebx
sub esp, 0x10
mov ebx, dword [edi]
lea ecx, [eax + ebp]
mov ebp, esp
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x48]
mov dword [ebp], edx
mov edx, dword [esp + 0xa0]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, edi
mov dword [ebp + 0xc], edx
call dword [ebx + 0x74]
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
sub eax, ecx
mov edi, dword [sym.imp.USER32.dll_SetRect]
mov ecx, edx
push edx
sub ecx, ebp
push eax
mov eax, dword [esp + 0x40]
push ecx
lea ecx, [esi + 0x1a4]
push eax
push ecx
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add edx, eax
sub ecx, ebp
push edx
push ecx
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esi + 0x1b4]
push eax
push ecx
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x190], ebx
mov esi, dword [esp + 0x8c]
mov dword [esi], edx
mov dword [esi + 4], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], bl
call fcn.0046bde0
lea ecx, [esp + 0x68]
mov dword [esp + 0x84], 0xffffffff
call fcn.005743b2
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0xc