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

Disassembly:
sub esp, 0xe4
cmp dword [esp + 0xe8], 0
push esi
mov esi, ecx
je 0x44cdad
cmp dword [esi + 0x18], 0
jne 0x44d613
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
push edi
mov dword [esi + 0x18], 1
xor edi, edi
call ebp
push eax
call fcn.00420cbf
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0041ca45
mov ebx, eax
test ebx, ebx
je 0x44ce10
mov ecx, dword [ebx + 8]
push 0xc
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
call ebp
push eax
call fcn.00420cbf
mov edx, dword [ebx + 4]
mov eax, dword [eax + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
add edi, 0xffffffff
mov ecx, 7
cmp ecx, edi
sbb edi, edi
add edi, 1
mov ecx, esi
call fcn.0044c080
mov ecx, esi
call fcn.0044c0b0
test edi, edi
jne 0x44d60b
mov eax, 5
mov ecx, 0xd
mov edi, 0xf
mov ebp, 0x1e
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
mov ecx, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov edx, 0x46
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xac], eax
mov eax, 0x5a
mov ebx, 0x21
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], 0xa5
mov dword [esp + 0x34], 0x1f
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], 0x32
mov dword [esp + 0x54], 0x29
mov dword [esp + 0x60], 0x8f
mov dword [esp + 0x64], 0x23
mov dword [esp + 0x68], 0x11
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0x26
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], 0x4b
mov dword [esp + 0x84], 0x27
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0x2b
mov dword [esp + 0x98], 0x2e
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0x14
mov dword [esp + 0xa4], 0x28
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x2a
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x10], 0xa
lea esp, [esp]
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push eax
mov ecx, esi
call fcn.0044c070
mov ecx, dword [edi - 4]
push eax
push ecx
mov ecx, esi
call fcn.0044c070
push eax
call fcn.0044bfd0
mov edx, dword [edi - 8]
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esi + edx*4 + 0x20], eax
jne 0x44cf70
fld dword [0x45e984]
mov ecx, 0x23
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov ecx, 0x25
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], ecx
mov ecx, 0x26
mov eax, 0x64
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ecx
mov ecx, 0x27
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
mov ecx, 0x2f
mov eax, 0x28
push ecx
mov edx, 0x1f
fstp dword [esp]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov edi, 0x50
mov eax, 0x2c
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov eax, 0xb4
push 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0xb8], edi
mov edi, 0x2d
mov dword [esp + 0xd0], edx
mov edx, 0x2e
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf4], ecx
push ebp
mov ecx, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], 0x32
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0xd
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], 0x29
mov dword [esp + 0x74], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], 0x55
mov dword [esp + 0x94], ebp
mov dword [esp + 0x9c], 0x32
mov dword [esp + 0xa0], 0x2b
mov dword [esp + 0xa8], 0x2b
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xc4], 0x29
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xfc], eax
call fcn.0044c070
push eax
push 0xf
call fcn.0044c070
push eax
call fcn.0044c490
test eax, eax
je 0x44d17c
fld dword [0x45e984]
push ecx
fstp dword [esp]
push ebp
mov ecx, esi
call fcn.0044c070
push eax
push 0xf
call fcn.0044c070
push eax
call fcn.0044cb50
mov dword [esi + 0x98], eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], 0xd
fild dword [edi + 4]
mov ebx, dword [edi]
mov edx, dword [edi - 4]
push ecx
fstp dword [esp + 0x14]
mov ecx, esi
fld dword [esp + 0x14]
fstp dword [esp]
push 1
push ebx
call fcn.0044c070
push eax
push edx
call fcn.0044c070
push eax
call fcn.0044c490
test eax, eax
jne 0x44d1de
fld dword [esp + 0x10]
push ecx
fstp dword [esp]
push ebx
mov ecx, esi
call fcn.0044c070
push eax
mov eax, dword [edi - 4]
push eax
call fcn.0044c070
push eax
call fcn.0044c530
mov ecx, dword [edi - 8]
mov dword [esi + ecx*4 + 0x20], eax
add edi, 0x10
sub dword [esp + 0x18], 1
jne 0x44d188
fld dword [0x45e980]
push ecx
fstp dword [esp]
push 1
push 0x23
mov ecx, esi
call fcn.0044c070
push eax
push 0x29
call fcn.0044c070
push eax
call fcn.0044c490
test eax, eax
je 0x44d236
fld dword [0x45e980]
push ecx
fstp dword [esp]
push 0x23
mov ecx, esi
call fcn.0044c070
push eax
push 0x29
call fcn.0044c070
push eax
call fcn.0044cb50
mov dword [esi + 0xac], eax
push ebp
mov ecx, esi
call fcn.0044c070
shr eax, 0x10
movzx ecx, al
imul ecx, ecx, 0x32
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 5
mov ecx, esi
mov ebx, eax
call fcn.0044c070
shr eax, 0x10
movzx eax, al
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add bl, cl
push 0xd
mov ecx, esi
call fcn.0044c070
shr eax, 0x10
movzx eax, al
lea edi, [eax + eax*4]
add edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add bl, al
xor eax, eax
mov ah, bl
push ebp
mov dword [esp + 0x24], eax
call fcn.0044c070
movzx edi, ah
imul edi, edi, 0x32
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
push 5
mov ecx, esi
call fcn.0044c070
movzx eax, ah
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0xd
add bl, al
call fcn.0044c070
movzx eax, ah
lea edi, [eax + eax*4]
add edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
mov eax, dword [esp + 0x20]
shr ecx, 0x1f
add ecx, edx
add bl, cl
mov al, bl
push ebp
mov ecx, esi
shl eax, 8
mov dword [esp + 0x24], eax
call fcn.0044c070
movzx edi, al
imul edi, edi, 0x32
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 5
mov ebx, eax
call fcn.0044c070
movzx eax, al
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add bl, cl
push 0xd
mov ecx, esi
call fcn.0044c070
movzx eax, al
lea edi, [eax + eax*4]
add edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add bl, al
movzx ecx, bl
mov ebx, dword [esp + 0x20]
or ebx, ecx
push 0xf
mov ecx, esi
mov dword [esi + 0xb0], ebx
call fcn.0044c070
mov ebx, eax
mov edx, ebx
shr edx, 0x10
movzx edi, bl
movzx ebp, bh
cmp edi, ebp
movzx edx, dl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov eax, edi
jg 0x44d3cd
mov eax, ebp
cmp eax, edx
jle 0x44d3e3
cmp edi, ebp
jle 0x44d3dd
mov ecx, edi
mov dword [esp + 0x10], ecx
jmp 0x44d3eb
mov dword [esp + 0x10], ebp
jmp 0x44d3e7
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x44d3fb
mov dword [esi + 0xe0], 0x232323
jmp 0x44d44c
mov eax, 0xff
sub eax, ecx
cmp eax, 0x23
jle 0x44d40c
mov eax, 0x23
add eax, ecx
mov dword [esp + 0x18], eax
imul eax, edx
cdq
idiv ecx
xor ecx, ecx
mov ch, al
mov eax, dword [esp + 0x18]
imul eax, ebp
mov ebp, dword [esp + 0x10]
cdq
idiv ebp
mov cl, al
mov eax, dword [esp + 0x18]
imul eax, edi
cdq
idiv ebp
mov ebp, dword [esp + 0x1c]
shl ecx, 8
movzx edx, al
or ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xe0], ecx
push 0x10
mov ecx, esi
call fcn.0044c070
movzx ecx, al
mov dword [esp + 0x10], ecx
movzx ecx, ah
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x1c], ecx
jg 0x44d477
mov eax, ecx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jle 0x44d48d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x44d48d
mov ecx, eax
test ebx, ebx
jne 0x44d49d
mov dword [esi + 0xe4], 0x7f7f7f
jmp 0x44d502
test ecx, ecx
jne 0x44d4a9
mov dword [esi + 0xe4], ecx
jmp 0x44d502
lea eax, [ecx - 0x2b]
xor ebx, ebx
test eax, eax
setl bl
sub ebx, 1
and ebx, eax
mov eax, ebx
imul eax, dword [esp + 0x18]
cdq
idiv ecx
xor edx, edx
mov dword [esp + 0x14], ebx
mov dh, al
mov eax, ebx
imul eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
cdq
idiv ecx
mov edx, dword [esp + 0x1c]
mov dl, al
mov eax, ebx
imul eax, dword [esp + 0x10]
shl edx, 8
mov dword [esp + 0x14], edx
cdq
idiv ecx
mov edx, dword [esp + 0x20]
movzx ecx, al
mov eax, dword [esp + 0x14]
or eax, ecx
mov dword [esi + 0xe4], eax
mov ecx, dword [esi + 0x9c]
fnstcw word [esp + 0x10]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x10]
fild dword [esp + 0x14]
fld qword [0x45e978]
or eax, 0xc00
mov dword [esp + 0x14], eax
fmul st(1), st(0)
xor ebx, ebx
fxch st(1)
add edi, 0xf
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov bh, al
movzx eax, ch
fldcw word [esp + 0x10]
mov dword [esp + 0x14], eax
movzx ecx, cl
fild dword [esp + 0x14]
fnstcw word [esp + 0x10]
fmul st(1)
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov bl, al
mov dword [esp + 0x14], ecx
fldcw word [esp + 0x10]
fild dword [esp + 0x14]
shl ebx, 8
fnstcw word [esp + 0x10]
fmulp st(1)
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
movzx ecx, al
fldcw word [esp + 0x10]
or ebx, ecx
cmp edi, 0xff
mov dword [esi + 0xa8], ebx
mov ebx, edi
jl 0x44d5cb
mov ebx, 0xff
add ebp, 0xf
cmp ebp, 0xff
mov ecx, ebp
jl 0x44d5dd
mov ecx, 0xff
lea eax, [edx + 0xf]
cmp eax, 0xff
jl 0x44d5ec
mov eax, 0xff
xor edx, edx
mov dh, al
movzx eax, bl
mov dl, cl
mov ecx, dword [esi + 0x98]
mov dword [esi + 0xf4], ecx
mov ecx, esi
shl edx, 8
or edx, eax
mov dword [esi + 0x78], edx
call fcn.0044c220
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xe4
ret 4