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

Disassembly:
push ebx
push esi
mov esi, dword [0x4b39b0]
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.0046d9a4
mov dword [esi + 0x7c], eax
mov eax, dword [0x4b39b0]
push 1
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x4b39ac]
mov dword [0x4b39b4], ecx
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b39b0]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4b39ac]
mov ecx, dword [eax + 0xe0]
mov eax, dword [0x4b39b4]
mov dword [eax + 0x1d4], ecx
mov esi, dword [0x4b39b0]
movsx eax, word [esi + 0x8f0]
lea ebx, [eax*8 + 0x50]
push ebx
call fcn.0046d9a4
add esp, 0x10
test eax, eax
jne 0x4453b0
call fcn.00470841
push 1
push ebx
call fcn.0046d9a4
add esp, 8
mov dword [esi + 0x8d0], eax
test eax, eax
jne 0x4453c1
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [0x4b39b0]
push 1
mov ecx, dword [eax + 0x8d0]
mov eax, dword [0x4b39b4]
mov dword [eax + 0x1278], ecx
mov eax, dword [0x4b39b0]
movsx ecx, word [eax + 0x8f2]
mov eax, dword [0x4b39b4]
mov dword [eax + 0x54], ecx
mov ebx, dword [0x4b39b0]
movsx esi, word [ebx + 0x8f2]
imul esi, esi, 0x92
push esi
call fcn.0046d9a4
add esp, 8
test eax, eax
jne 0x44541d
call fcn.00470841
push 1
push esi
call fcn.0046d9a4
add esp, 8
mov dword [ebx + 0x480], eax
test eax, eax
je 0x4453ba
mov eax, dword [0x4b39b0]
push 1
mov ecx, dword [eax + 0x480]
mov eax, dword [0x4b39b4]
mov dword [eax + 0x58], ecx
mov ebx, dword [0x4b39b0]
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.0046d9a4
add esp, 8
test eax, eax
jne 0x445479
call fcn.00470841
push 1
push esi
call fcn.0046d9a4
add esp, 8
mov dword [ebx + 0x8d4], eax
test eax, eax
je 0x4453ba
mov eax, dword [0x4b39b0]
mov ecx, dword [eax + 0x8d4]
mov eax, dword [0x4b39b4]
mov dword [eax + 0x1168], ecx
mov eax, dword [0x4b39b0]
movsx ecx, word [eax + 0x8f0]
mov eax, dword [0x4b39b4]
mov dword [eax + 0x40], ecx
mov eax, dword [0x4b39b4]
mov ecx, edi
shr ecx, 0xa
mov dword [eax + 0x94], ecx
mov edx, dword [0x4b39b0]
lea ecx, [edi + edi]
lea edx, [edx + 0x8cc]
call fcn.0042d120
test eax, eax
je 0x4453ba
mov eax, dword [0x4b39b0]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [eax + 0x8cc]
mov eax, dword [0x4b39b4]
mov dword [eax + 0xa0], ecx
mov ecx, dword [0x4b39b4]
mov eax, dword [ecx + 0xa0]
mov dword [ecx + 0x98], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [ecx + 0xa0]
add eax, edi
mov dword [ecx + 0xa4], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b397c]
mov dword [ecx + 8], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3984]
mov dword [ecx], eax
mov eax, dword [0x4b39b4]
mov ecx, dword [0x4b3980]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3980]
mov dword [ecx + 4], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3988]
mov dword [ecx + 0x10], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b398c]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3988]
mov dword [ecx + 0x14], eax
mov eax, dword [0x4b39b4]
push dword [eax + 0x14]
call esi
test eax, eax
je 0x4455a7
mov edi, edi
mov ecx, dword [0x4b39b4]
mov dword [ecx + 0x14], eax
mov eax, dword [0x4b39b4]
push dword [eax + 0x14]
call esi
test eax, eax
jne 0x445590
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3978]
mov dword [ecx + 0x4c0], eax
mov eax, dword [0x4b39b4]
mov dword [eax + 0x4f4], 0x4b3978
mov eax, dword [0x4b39b0]
mov cl, byte [eax + 0x8dc]
mov eax, dword [0x4b39b4]
mov byte [eax + 0x26], cl
mov eax, dword [0x4b39b0]
mov ecx, dword [eax + 0x1c]
mov eax, dword [0x4b39b4]
mov dword [eax + 0xb0], ecx
mov eax, dword [0x4b39b4]
mov ecx, dword [eax + 0xb0]
mov eax, dword [0x4b39b0]
mov dword [eax + 0x8e8], ecx
mov eax, dword [0x4b39b0]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x4b39b4]
mov dword [eax + 0xb4], ecx
mov eax, dword [0x4b39b4]
mov ecx, dword [eax + 0xb4]
mov eax, dword [0x4b39b0]
mov dword [eax + 0x8ec], ecx
mov eax, dword [0x4b39b0]
mov ecx, dword [eax + 0x3c]
mov eax, dword [0x4b39b4]
mov dword [eax + 0xa8], ecx
mov ecx, dword [0x4b39b4]
cmp dword [ecx + 0xa8], 0xffffffff
jne 0x44565e
mov dword [ecx + 0xa8], 0x7ffff000
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b39b0]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0xac], eax
mov eax, dword [0x4b39b4]
cmp dword [eax + 0xac], 0xffffffff
jne 0x445689
mov dword [eax + 0xac], 0x7ffff000
mov eax, dword [0x4b39b4]
mov dword [eax + 0x3c], 0
mov eax, dword [0x4b39b4]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [0x4b39b4]
mov word [eax + 0x32], cx
mov eax, dword [0x4b39b4]
mov ecx, 0x80
and word [eax + 0x28], cx
mov eax, dword [0x4b39b4]
or word [eax + 0x28], 4
mov eax, dword [0x4b39b4]
mov dword [eax + 0x1a8], 0
mov eax, dword [0x4b39b4]
mov dword [eax + 0x4c4], 0
mov ecx, dword [0x4b39b4]
mov eax, dword [ecx + 0x1278]
sub eax, ecx
mov dword [ecx + 0x4ec], eax
mov eax, dword [0x4b39b4]
mov ecx, 0xffff8000
mov word [eax + 0x502], cx
mov eax, dword [0x4b39b4]
mov word [eax + 0x4f0], cx
mov eax, dword [0x4b39b4]
mov dword [eax + 0x514], 0x64
mov eax, dword [0x4b39b4]
mov dword [eax + 0x510], 0x64
mov ecx, dword [0x4b39b4]
mov ax, word [0x4b3996]
mov word [ecx + 0x4d2], ax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3990]
mov dword [ecx + 0x4d4], eax
call fcn.0044f7d0
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3b8c]
mov dword [ecx + 0x51c], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3b88]
mov dword [ecx + 0x520], eax
mov ecx, dword [0x4b39b4]
mov eax, dword [0x4b3b84]
mov dword [ecx + 0x524], eax
mov eax, dword [0x4b39b4]
xor ecx, ecx
mov dword [eax + 0x438], 0
mov eax, dword [0x4b39b4]
xorps xmm0, xmm0
mov word [eax + 0x436], cx
mov eax, dword [0x4b39b4]
mov dword [eax + 0x43c], 0xfffffffd
mov eax, dword [0x4b39b4]
movsd qword [eax + 0x440], xmm0
mov eax, dword [0x4b39b4]
mov dword [eax + 0x466], ecx
mov eax, dword [0x4b39b4]
mov word [eax + 0x46a], cx
mov eax, dword [0x4b39b4]
mov byte [eax + 0x46c], cl
mov eax, dword [0x4b39b0]
movzx ecx, word [eax + 0x968]
mov eax, 0xffff
cmp cx, ax
jne 0x44580e
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x4b39b4]
mov word [ecx + 0x18c], ax
jmp 0x44581a
mov eax, dword [0x4b39b4]
mov word [eax + 0x18c], cx
mov eax, dword [0x4b39b4]
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
or word [eax + 0x28], 0x40
push 0
call esi
push 1
call esi
mov ecx, dword [0x4b39b4]
mov esi, 0x534
mov word [ecx + 0x4d0], ax
mov eax, dword [0x4b39b4]
lea esp, [esp]
cmp dword [esi + eax], 0
jne 0x445884
push 0x10
call fcn.0046e9ff
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x445875
mov dword [ecx], 0
mov dword [ecx + 8], 0
jmp 0x445877
xor ecx, ecx
mov eax, dword [0x4b39b4]
mov dword [esi + eax], ecx
mov eax, dword [0x4b39b4]
add esi, 4
cmp esi, 0x934
jl 0x445850
mov dword [eax + 0x448], 0
mov eax, dword [0x4b39b4]
pop edi
mov dword [eax + 0x44c], 0
mov eax, dword [0x4b39b4]
pop esi
mov dword [eax + 0x456], 0
mov eax, dword [0x4b39b4]
pop ebx
mov dword [eax + 0x45a], 0
mov eax, dword [0x4b39b4]
mov dword [eax + 0x45e], 0
mov eax, dword [0x4b39b4]
mov dword [eax + 0x462], 0
mov eax, dword [0x4b39b0]
mov dword [eax + 0x78], 1
xor eax, eax
ret