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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18c
mov eax, dword [0x4951c0]
xor eax, esp
mov dword [esp + 0x188], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x18], eax
mov eax, dword [0x54c0d4]
push edi
mov edi, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x18], ecx
cmp eax, 0xffffffff
jne 0x443f4a
mov eax, dword [0x4edb8c]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [0x4ed660]
cdq
sub eax, edx
sar ebx, 1
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ecx
jmp 0x443f5c
mov edx, dword [0x54acf0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov ebx, eax
mov ecx, edx
cmp dword [0x498fe4], 0
je 0x443f99
mov eax, dword [0x498ff4]
cdq
idiv dword [0x499014]
cmp dword [0x499008], 1
jne 0x443f7f
cdq
sub eax, edx
sar eax, 1
lea edx, [ebx + ebx*2]
cmp eax, edx
mov dword [esp + 0x2c], edx
jl 0x443f99
lea eax, [ecx + ecx*2]
cmp dword [0x498ff8], eax
mov dword [esp + 0x40], eax
jge 0x443fe1
mov esi, 0x498d90
call fcn.004011a0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x498fa8], eax
mov eax, dword [esp + 0x10]
lea ebx, [ebx + ebx*2]
lea eax, [eax + eax*2]
mov ecx, ebx
mov dword [esp + 0x2c], ebx
mov ebx, 0x498fac
mov dword [esp + 0x40], eax
call fcn.00469800
mov eax, dword [0x498ff0]
mov ecx, dword [0x498fa8]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x498fa8]
push 0xffffff
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x498fa8]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [0x58fe34]
mov esi, dword [ebp + 0xc]
test ebx, ebx
jne 0x444017
sub esi, dword [esp + 0x10]
mov dword [ebp + 0xc], esi
jmp 0x444021
add edi, dword [0x4edb8c]
mov dword [esp + 0x50], edi
xor edx, edx
xor eax, eax
test ebx, ebx
je 0x444180
mov byte [esp + 0x90], 0x40
cmp byte [0x54c6e8], dl
jne 0x444160
mov cl, byte [eax + 0x53a0c8]
mov byte [esp + eax + 0x91], cl
inc eax
test cl, cl
jne 0x444041
mov edx, 0xfffffc7c
mov eax, dword [ebp + 0x14]
shl eax, 8
add eax, 0x49b588
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x18]
shl eax, 8
add eax, 0x49b588
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x1c]
shl eax, 8
add eax, 0x49b588
mov dword [esp + 0x60], eax
lea eax, [esp + 0x90]
test ebx, ebx
jne 0x44409d
cmp byte [0x54c6e8], bl
je 0x44409d
mov eax, 0x54c6e8
push eax
mov eax, dword [esp + 0x30]
push 1
push 0
push 0
mov ecx, dword [esp + 0x50]
push 0
push 0x80
push 0
push 0
push 0
push 0x2bc
push edx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [0x498fa8]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x10]
push eax
mov dword [esp + 0x80], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x444110
sub eax, ecx
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp dword [0x58fe34], ebx
jne 0x444197
mov eax, dword [0x54886c]
add eax, eax
inc ecx
cdq
idiv ecx
mov edx, dword [esp + 0x20]
mov ecx, eax
cmp ecx, edx
mov dword [esp + 0x14], ecx
jle 0x4441d6
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4441d6
mov cl, byte [eax + 0x54c6e8]
mov byte [esp + eax + 0x91], cl
inc eax
test cl, cl
jne 0x444160
jmp 0x444053
mov cl, byte [eax + 0x53a0c8]
mov byte [esp + eax + 0x90], cl
inc eax
test cl, cl
jne 0x444180
jmp 0x444058
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x54886c]
cdq
sar ecx, 1
idiv ecx
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x4441bf
mov dword [esp + 0x14], ecx
jmp 0x4441d2
jle 0x4441d2
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [0x498ff4]
cdq
idiv dword [0x499014]
cmp dword [0x499008], 1
jne 0x4441f0
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
lea eax, [eax*8 + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, eax
add eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4445c6
mov edx, dword [esp + 0x18]
dec eax
add ebx, edi
shr eax, 1
mov dword [esp + 0x34], edx
lea edx, [ebx + ebx*2]
lea ecx, [ecx + ecx*2]
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
push 0
mov byte [0x498d90], 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 0x40]
mov ebx, eax
xor eax, eax
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x90], edx
mov edx, dword [0x498fa8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x94], eax
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x58fe34], 0
mov ecx, dword [0x498fa8]
push 2
jne 0x4442b3
mov eax, dword [esp + 0x38]
push eax
push 0
push 0
jmp 0x4442bf
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push edx
push 0
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x64], ebx
jle 0x4445a2
mov eax, dword [0x4965ec]
mov edx, dword [0x58fb28]
neg eax
mov dword [esp + 0x28], eax
mov eax, dword [0x4967f0]
mov ecx, eax
sub ecx, dword [esp + 0xc]
sub eax, esi
sub ecx, esi
dec eax
imul eax, dword [0x4965ec]
dec ecx
imul ecx, dword [0x4965ec]
add eax, edi
add ecx, edi
add ecx, edx
add eax, edx
add eax, dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov edi, edi
movzx eax, word [0x496b72]
imul eax, dword [0x496b9c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp dword [0x58fe34], 0
jne 0x4443ab
mov edx, dword [0x496ba0]
mov edi, dword [esp + 0x18]
sub edx, ebx
sub edx, esi
dec edx
imul eax, edx
lea ecx, [edi + eax*4]
movzx eax, word [0x4987fa]
imul eax, dword [0x498824]
add eax, 7
add ecx, dword [0x496b94]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [0x498828]
sub edx, ebx
sub edx, esi
sar eax, 2
dec edx
imul eax, edx
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
jmp 0x444413
mov ecx, dword [0x496ba0]
sub ecx, ebx
sub ecx, dword [esp + 0xc]
lea edi, [edi + edi*2]
sub ecx, esi
dec ecx
imul ecx, eax
mov eax, dword [0x498828]
sub eax, ebx
sub eax, dword [esp + 0xc]
lea ecx, [edi + ecx*4]
sub eax, esi
dec eax
mov dword [esp + 0x38], eax
movzx eax, word [0x4987fa]
imul eax, dword [0x498824]
add ecx, dword [0x496b94]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x38]
sar eax, 2
imul edx, eax
lea edi, [edi + edx*4]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], edx
movzx eax, word [0x498fca]
imul eax, dword [0x498ff4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [0x498ff8]
sub edx, dword [esp + 0x3c]
add edi, dword [0x49881c]
dec edx
sar eax, 2
imul eax, edx
mov edx, dword [0x498fec]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], esi
sub esi, eax
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], edx
test eax, eax
jle 0x44457b
mov dword [esp + 0x38], eax
movzx ebx, byte [edx + 3]
movzx eax, byte [esi + 3]
lea eax, [ebx + eax*2]
movzx ebx, byte [esi + 6]
add eax, ebx
mov ebx, dword [esp + 0x24]
movzx ebx, byte [ebx + 3]
add eax, ebx
movzx ebx, byte [esi]
add eax, ebx
movzx ebx, byte [edx + 6]
movzx edx, byte [edx]
lea eax, [ebx + eax*2]
mov ebx, dword [esp + 0x24]
movzx ebx, byte [ebx + 6]
add eax, ebx
mov ebx, dword [esp + 0x24]
movzx ebx, byte [ebx]
add eax, ebx
add eax, edx
sar eax, 4
cmp eax, 0xff
jle 0x4444c6
mov eax, 0xff
movzx edx, byte [ecx]
mov ebx, dword [esp + 0x60]
shl edx, 8
sub edx, eax
movzx edx, byte [edx + 0x49b687]
add dl, byte [eax + ebx]
mov ebx, dword [esp + 0x70]
mov byte [ecx], dl
movzx edx, byte [ecx + 1]
inc ecx
shl edx, 8
sub edx, eax
movzx edx, byte [edx + 0x49b687]
add dl, byte [eax + ebx]
inc ecx
mov byte [ecx - 1], dl
movzx edx, byte [ecx]
shl edx, 8
sub edx, eax
mov bl, byte [edx + 0x49b687]
mov edx, dword [esp + 0x78]
add bl, byte [eax + edx]
inc ecx
cmp dword [ebp + 0x10], 0
mov byte [ecx - 1], bl
je 0x444540
mov ebx, dword [esp + 0x60]
movzx ebx, byte [eax + ebx]
mov byte [edi], bl
mov ebx, dword [esp + 0x70]
movzx ebx, byte [eax + ebx]
inc edi
mov byte [edi], bl
mov dl, byte [eax + edx]
inc edi
mov byte [edi], dl
mov edx, dword [esp + 0x54]
inc edi
mov byte [edx], al
inc edx
mov dword [esp + 0x54], edx
cmp eax, 0x40
jle 0x444559
cmp dword [0x52e5bc], 0
je 0x444559
shr byte [ecx], 2
shr byte [ecx + 1], 2
shr byte [ecx + 2], 2
mov edx, dword [esp + 0x58]
add dword [esp + 0x24], 9
add edx, 9
add esi, 9
sub dword [esp + 0x38], 1
mov dword [esp + 0x58], edx
jne 0x444478
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x28]
add dword [esp + 0x44], eax
add dword [esp + 0x48], eax
add dword [esp + 0x3c], 3
mov edi, dword [esp + 0x50]
mov esi, dword [ebp + 0xc]
inc ebx
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x64], ebx
jl 0x444320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
add dword [esp + 0xc], eax
add dword [esp + 0x18], ecx
add dword [esp + 0x34], 2
sub dword [esp + 0x1c], 1
jne 0x444243
mov ebx, dword [esp + 0xc]
cmp dword [0x58fe34], 0
jne 0x444632
cmp byte [0x58f9cb], 0
je 0x44461c
mov edx, dword [0x49ab6c]
cmp dword [edx + 0x514], 0
je 0x44461c
mov eax, dword [0x496b50]
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push 0xcc0020
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push ebx
jmp 0x44468c
mov edx, dword [0x496b50]
mov eax, dword [esp + 0x10]
push 0xcc0020
push esi
push edi
push edx
push eax
push ebx
jmp 0x44468c
cmp byte [0x58f9cb], 0
je 0x444678
mov edx, dword [0x49ab6c]
cmp dword [edx + 0x514], 0
je 0x444678
mov eax, dword [0x496b50]
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push 0xcc0020
push eax
push ecx
jmp 0x444685
mov edx, dword [0x496b50]
push 0xcc0020
push esi
push edi
mov eax, dword [esp + 0x2c]
push edx
push ebx
push eax
mov ecx, dword [esp + 0x80]
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x74]
mov eax, dword [0x498fa8]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00407f40
mov esp, ebp
pop ebp
ret 0x18