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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54e9ee
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 0x4ded7f
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 0x4ded69
cmp dword [edi + 0x84], ebx
je 0x4ded69
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 0x4dedb5
push eax
call fcn.004e26e0
jmp 0x4dedb7
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 0x4dedf6
push eax
call fcn.004e07f0
jmp 0x4dedf8
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 0x4dee2d
push eax
call fcn.004d9ed0
jmp 0x4dee2f
xor eax, eax
mov dword [esp + 0x58], esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [edi + 0x4b0], eax
mov dword [eax + 0x1f8], 0xb
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 0x4dee7a
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 0x4dee9b
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 0x4deee4
xor ebx, ebx
mov esi, dword [ebp]
cmp esi, ebx
je 0x4def33
lea ebx, [esp + 0x1c]
mov eax, edi
call fcn.00421940
test eax, eax
mov ecx, dword [ebp]
jne 0x4def13
test ecx, ecx
je 0x4def33
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebp], 0
jmp 0x4def33
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 0x4deee2
cmp dword [edi + 0x524], 0
je 0x4def53
push 0
lea ecx, [edi + 0x44c]
call fcn.00501947
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 0x4def96
mov eax, esi
lea ecx, [edi + 0xc4]
lea ebx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4def80
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 0x4df073
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 0x4df0d9
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