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

Disassembly:
push ebx
push esi
mov esi, dword [0x4b49d0]
push edi
movsx eax, word [esi + 0x8f0]
imul eax, eax, 0x32
shr eax, 0xa
inc eax
shl eax, 0xa
mov edi, 0x3000
cmp eax, edi
push 1
push 0x127c
cmova edi, eax
call fcn.0046def4
mov dword [esi + 0x7c], eax
mov eax, dword [0x4b49d0]
push 1
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x4b49cc]
mov dword [0x4b49d4], ecx
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49d0]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4b49cc]
mov ecx, dword [eax + 0xe0]
mov eax, dword [0x4b49d4]
mov dword [eax + 0x1d4], ecx
mov esi, dword [0x4b49d0]
movsx eax, word [esi + 0x8f0]
lea ebx, [eax*8 + 0x50]
push ebx
call fcn.0046def4
add esp, 0x10
test eax, eax
jne 0x445920
call fcn.00470d91
push 1
push ebx
call fcn.0046def4
add esp, 8
mov dword [esi + 0x8d0], eax
test eax, eax
jne 0x445931
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [0x4b49d0]
push 1
mov ecx, dword [eax + 0x8d0]
mov eax, dword [0x4b49d4]
mov dword [eax + 0x1278], ecx
mov eax, dword [0x4b49d0]
movsx ecx, word [eax + 0x8f2]
mov eax, dword [0x4b49d4]
mov dword [eax + 0x54], ecx
mov ebx, dword [0x4b49d0]
movsx esi, word [ebx + 0x8f2]
imul esi, esi, 0x92
push esi
call fcn.0046def4
add esp, 8
test eax, eax
jne 0x44598d
call fcn.00470d91
push 1
push esi
call fcn.0046def4
add esp, 8
mov dword [ebx + 0x480], eax
test eax, eax
je 0x44592a
mov eax, dword [0x4b49d0]
push 1
mov ecx, dword [eax + 0x480]
mov eax, dword [0x4b49d4]
mov dword [eax + 0x58], ecx
mov ebx, dword [0x4b49d0]
movsx eax, word [ebx + 0x8f0]
cdq
and edx, 7
lea esi, [edx + eax]
sar esi, 3
and esi, 0xfff8
add esi, 0x10
push esi
call fcn.0046def4
add esp, 8
test eax, eax
jne 0x4459e9
call fcn.00470d91
push 1
push esi
call fcn.0046def4
add esp, 8
mov dword [ebx + 0x8d4], eax
test eax, eax
je 0x44592a
mov eax, dword [0x4b49d0]
mov ecx, dword [eax + 0x8d4]
mov eax, dword [0x4b49d4]
mov dword [eax + 0x1168], ecx
mov eax, dword [0x4b49d0]
movsx ecx, word [eax + 0x8f0]
mov eax, dword [0x4b49d4]
mov dword [eax + 0x40], ecx
mov eax, dword [0x4b49d4]
mov ecx, edi
shr ecx, 0xa
mov dword [eax + 0x94], ecx
mov edx, dword [0x4b49d0]
lea ecx, [edi + edi]
lea edx, [edx + 0x8cc]
call fcn.0042d530
test eax, eax
je 0x44592a
mov eax, dword [0x4b49d0]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [eax + 0x8cc]
mov eax, dword [0x4b49d4]
mov dword [eax + 0xa0], ecx
mov ecx, dword [0x4b49d4]
mov eax, dword [ecx + 0xa0]
mov dword [ecx + 0x98], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [ecx + 0xa0]
add eax, edi
mov dword [ecx + 0xa4], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b499c]
mov dword [ecx + 8], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49a4]
mov dword [ecx], eax
mov eax, dword [0x4b49d4]
mov ecx, dword [0x4b49a0]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49a0]
mov dword [ecx + 4], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49a8]
mov dword [ecx + 0x10], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49ac]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49a8]
mov dword [ecx + 0x14], eax
mov eax, dword [0x4b49d4]
push dword [eax + 0x14]
call esi
test eax, eax
je 0x445b17
mov edi, edi
mov ecx, dword [0x4b49d4]
mov dword [ecx + 0x14], eax
mov eax, dword [0x4b49d4]
push dword [eax + 0x14]
call esi
test eax, eax
jne 0x445b00
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b4998]
mov dword [ecx + 0x4c0], eax
mov eax, dword [0x4b49d4]
mov dword [eax + 0x4f4], 0x4b4998
mov eax, dword [0x4b49d0]
mov cl, byte [eax + 0x8dc]
mov eax, dword [0x4b49d4]
mov byte [eax + 0x26], cl
mov eax, dword [0x4b49d0]
mov ecx, dword [eax + 0x1c]
mov eax, dword [0x4b49d4]
mov dword [eax + 0xb0], ecx
mov eax, dword [0x4b49d4]
mov ecx, dword [eax + 0xb0]
mov eax, dword [0x4b49d0]
mov dword [eax + 0x8e8], ecx
mov eax, dword [0x4b49d0]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x4b49d4]
mov dword [eax + 0xb4], ecx
mov eax, dword [0x4b49d4]
mov ecx, dword [eax + 0xb4]
mov eax, dword [0x4b49d0]
mov dword [eax + 0x8ec], ecx
mov eax, dword [0x4b49d0]
mov ecx, dword [eax + 0x3c]
mov eax, dword [0x4b49d4]
mov dword [eax + 0xa8], ecx
mov ecx, dword [0x4b49d4]
cmp dword [ecx + 0xa8], 0xffffffff
jne 0x445bce
mov dword [ecx + 0xa8], 0x7ffff000
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49d0]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0xac], eax
mov eax, dword [0x4b49d4]
cmp dword [eax + 0xac], 0xffffffff
jne 0x445bf9
mov dword [eax + 0xac], 0x7ffff000
mov eax, dword [0x4b49d4]
mov dword [eax + 0x3c], 0
mov eax, dword [0x4b49d4]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [0x4b49d4]
mov word [eax + 0x32], cx
mov eax, dword [0x4b49d4]
mov ecx, 0x80
and word [eax + 0x28], cx
mov eax, dword [0x4b49d4]
or word [eax + 0x28], 4
mov eax, dword [0x4b49d4]
mov dword [eax + 0x1a8], 0
mov eax, dword [0x4b49d4]
mov dword [eax + 0x4c4], 0
mov ecx, dword [0x4b49d4]
mov eax, dword [ecx + 0x1278]
sub eax, ecx
mov dword [ecx + 0x4ec], eax
mov eax, dword [0x4b49d4]
mov ecx, 0xffff8000
mov word [eax + 0x502], cx
mov eax, dword [0x4b49d4]
mov word [eax + 0x4f0], cx
mov eax, dword [0x4b49d4]
mov dword [eax + 0x514], 0x64
mov eax, dword [0x4b49d4]
mov dword [eax + 0x510], 0x64
mov ecx, dword [0x4b49d4]
mov ax, word [0x4b49b6]
mov word [ecx + 0x4d2], ax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b49b0]
mov dword [ecx + 0x4d4], eax
call fcn.0044fd50
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b4bac]
mov dword [ecx + 0x51c], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b4ba8]
mov dword [ecx + 0x520], eax
mov ecx, dword [0x4b49d4]
mov eax, dword [0x4b4ba4]
mov dword [ecx + 0x524], eax
mov eax, dword [0x4b49d4]
xor ecx, ecx
mov dword [eax + 0x438], 0
mov eax, dword [0x4b49d4]
xorps xmm0, xmm0
mov word [eax + 0x436], cx
mov eax, dword [0x4b49d4]
mov dword [eax + 0x43c], 0xfffffffd
mov eax, dword [0x4b49d4]
movsd qword [eax + 0x440], xmm0
mov eax, dword [0x4b49d4]
mov dword [eax + 0x466], ecx
mov eax, dword [0x4b49d4]
mov word [eax + 0x46a], cx
mov eax, dword [0x4b49d4]
mov byte [eax + 0x46c], cl
mov eax, dword [0x4b49d0]
movzx ecx, word [eax + 0x968]
mov eax, 0xffff
cmp cx, ax
jne 0x445d7e
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x4b49d4]
mov word [ecx + 0x18c], ax
jmp 0x445d8a
mov eax, dword [0x4b49d4]
mov word [eax + 0x18c], cx
mov eax, dword [0x4b49d4]
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
or word [eax + 0x28], 0x40
push 0
call esi
push 1
call esi
mov ecx, dword [0x4b49d4]
mov esi, 0x534
mov word [ecx + 0x4d0], ax
mov eax, dword [0x4b49d4]
lea esp, [esp]
cmp dword [esi + eax], 0
jne 0x445df4
push 0x10
call fcn.0046ef4f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x445de5
mov dword [ecx], 0
mov dword [ecx + 8], 0
jmp 0x445de7
xor ecx, ecx
mov eax, dword [0x4b49d4]
mov dword [esi + eax], ecx
mov eax, dword [0x4b49d4]
add esi, 4
cmp esi, 0x934
jl 0x445dc0
mov dword [eax + 0x448], 0
mov eax, dword [0x4b49d4]
pop edi
mov dword [eax + 0x44c], 0
mov eax, dword [0x4b49d4]
pop esi
mov dword [eax + 0x456], 0
mov eax, dword [0x4b49d4]
pop ebx
mov dword [eax + 0x45a], 0
mov eax, dword [0x4b49d4]
mov dword [eax + 0x45e], 0
mov eax, dword [0x4b49d4]
mov dword [eax + 0x462], 0
mov eax, dword [0x4b49d0]
mov dword [eax + 0x78], 1
xor eax, eax
ret