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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54e9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x80], ebx
jne 0x4dfe2f
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x1e4], ebx
je 0x4dfe19
cmp dword [edi + 0x84], ebx
je 0x4dfe19
call fcn.004de960
push 0xaec
call fcn.004fae94
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x58], ebx
je 0x4dfe65
push eax
call fcn.004e26e0
jmp 0x4dfe67
xor eax, eax
or esi, 0xffffffff
mov dword [esp + 0x58], esi
lea ebp, [edi + 0x4a4]
mov dword [ebp], eax
push 0x674
mov dword [eax + 0x1f8], 1
call fcn.004fae94
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x58], 1
je 0x4dfea6
push eax
call fcn.004e07f0
jmp 0x4dfea8
xor eax, eax
mov dword [esp + 0x58], esi
mov dword [edi + 0x4ac], eax
push 0x670
mov dword [eax + 0x1f8], ebx
call fcn.004fae94
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x58], 2
je 0x4dfedd
push eax
call fcn.004d9ed0
jmp 0x4dfedf
xor eax, eax
mov dword [esp + 0x58], esi
mov dword [edi + 0x4b0], eax
push 0x968
mov dword [eax + 0x1f8], 0xb
call fcn.004fae94
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x58], 3
je 0x4dff18
push eax
call fcn.004e13a0
jmp 0x4dff1a
xor eax, eax
mov dword [esp + 0x58], esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [edi + 0x4b4], eax
mov dword [eax + 0x1f8], 0xf
lea eax, [edi + 0x340]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x4dff65
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push edx
call esi
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.005039ae
lea eax, [edi + 0x44c]
cmp eax, ebx
je 0x4dff86
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.005039ae
fld qword [0x5ae4c0]
push ebx
fmul qword [0x584ec8]
push ebx
call fcn.005261c0
fld qword [0x5ae4b8]
mov ecx, dword [esp + 0x40]
fmul qword [0x585260]
sub ecx, eax
push ecx
call fcn.005261c0
mov edx, dword [esp + 0x48]
sub edx, eax
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esp + 0x18], 5
jmp 0x4dffd2
xor ebx, ebx
mov esi, dword [ebp]
cmp esi, ebx
je 0x4e0021
lea ebx, [esp + 0x1c]
mov eax, edi
call fcn.00421940
test eax, eax
mov ecx, dword [ebp]
jne 0x4e0001
test ecx, ecx
je 0x4e0021
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebp], 0
jmp 0x4e0021
mov edx, dword [edi + 0x84]
mov dword [ecx + 0x84], edx
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [edi + 0x1e4]
mov eax, dword [eax + 0x160]
push edx
call eax
add ebp, 4
sub dword [esp + 0x18], 1
jne 0x4dffd0
push 0
push 0
push 0x400000
lea ecx, [edi + 0x528]
call fcn.00501883
mov ecx, dword [edi + 0x78]
mov edx, dword [ecx]
lea eax, [edi + 0x78]
push 0
push eax
call edx
mov eax, dword [edi + 0x84]
mov dword [edi + 0xc0], edi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4e0086
mov eax, esi
lea ecx, [edi + 0xc4]
lea ebx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4e0070
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.00404a30
lea esi, [edi + 0xdc]
push 0x562dd8
mov ecx, esi
call fcn.00503381
push 0x5633a0
mov ecx, esi
call fcn.00503381
push 0x5633b4
mov ecx, esi
call fcn.00503381
push 0x56338c
mov ecx, esi
call fcn.00503381
push 0x563f1c
mov ecx, esi
call fcn.00503381
push 0x563f44
mov ecx, esi
call fcn.00503381
push 0x563f6c
mov ecx, esi
call fcn.00503381
push 0x563f94
mov ecx, esi
call fcn.00503381
push 0x563fa8
mov ecx, esi
call fcn.00503381
push 0x563fbc
mov ecx, esi
call fcn.00503381
push ecx
mov ecx, dword [edi + 0x84]
mov eax, dword [ecx + 0x1c]
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00404600
add eax, 0x10
mov dword [esi], eax
lea esi, [edi + 0x4b8]
add esp, 4
mov ecx, esi
call fcn.004b39e0
push esi
mov ecx, 0x5633a0
call fcn.004b3a50
push esi
mov ecx, 0x5633b4
call fcn.004b3a50
push esi
mov ecx, 0x56338c
call fcn.004b3a50
test esi, esi
je 0x4e0163
push esi
lea ecx, [edi + 0x1c0]
call fcn.00503381
mov eax, dword [edi + 0x1e4]
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.004db130
lea esi, [edi + 0x4e4]
mov ecx, esi
call fcn.004b39e0
push esi
mov ecx, 0x563f1c
call fcn.004b3a50
push esi
mov ecx, 0x563f44
call fcn.004b3a50
push esi
mov ecx, 0x563f94
call fcn.004b3a50
push esi
mov ecx, 0x563fa8
call fcn.004b3a50
push esi
mov ecx, 0x563fbc
call fcn.004b3a50
test esi, esi
je 0x4e01c9
push esi
lea ecx, [edi + 0x1c0]
call fcn.00503381
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret