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

Disassembly:
push 0xffffffffffffffff
push 0x4594d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebp, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
xor esi, esi
push ebp
push edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
xor ebx, ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [esp + 0x40], eax
mov eax, dword [0x4631a0]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x78]
shr eax, 5
and eax, ebp
mov byte [esp + 0x70], 2
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x10], ecx
je 0x4197ae
jmp 0x419280
xor esi, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 0x90]
mov dword [esp + 0x30], esi
cmp edx, esi
je 0x4192c7
mov eax, dword [eax + 0x8c]
mov dword [esp + 0x30], ebp
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x68]
cmp edx, 0x66
jne 0x41931a
mov eax, dword [eax + 0x80]
cmp eax, esi
je 0x4192f0
push eax
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
cmp dword [ecx + 0x88], esi
je 0x419314
mov ebx, dword [ecx + 0x84]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x24], ebp
jmp 0x419397
cmp edx, 0x64
jne 0x41935e
mov eax, dword [eax + 0x64]
cmp eax, esi
je 0x41933a
push eax
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
cmp dword [ecx + 0x7c], esi
je 0x419314
mov ebx, dword [ecx + 0x60]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x24], ebp
jmp 0x419397
mov eax, dword [eax + 0x30]
cmp eax, esi
je 0x419379
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [ecx + 8]
cmp dword [ecx + 0x6c], esi
je 0x419397
mov ebx, dword [ecx + 0x44]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], ebp
mov eax, dword [esp + 0x90]
cmp eax, esi
je 0x4193d8
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4193d8
mov eax, dword [esp + 0x94]
mov ebx, 0x808080
cmp eax, esi
push ebx
push edi
je 0x4193c7
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4193d1
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], ebp
mov edx, 0x468b0c
test edx, edx
jne 0x4193e5
xor eax, eax
jmp 0x4193f0
push 0x468b0c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x468b0c
push eax
lea ecx, [esp + 0x30]
call fcn.00408770
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x94]
cmp ecx, esi
je 0x41946b
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x41946b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push esi
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x38]
mov ecx, dword [eax + 0x94]
add esi, edx
push esi
mov esi, dword [eax + 0x34]
mov eax, dword [esp + 0x88]
mov ebp, dword [ecx]
add esi, eax
push esi
sub esp, 0x10
mov esi, esp
push edi
mov dword [esi], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 4], edx
mov edx, dword [esp + 0xa8]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call dword [ebp + 0x10]
mov ebp, 1
xor esi, esi
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x41947d
xor eax, eax
jmp 0x419485
mov eax, dword [ecx + 0x58]
sub eax, edx
sar eax, 2
cmp esi, eax
jge 0x419736
mov eax, dword [ecx + 0x54]
mov ecx, dword [esp + 0x80]
mov edx, dword [eax + esi*4]
cmp ecx, dword [edx]
jle 0x4194a7
mov ecx, dword [edx]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + esi*4]
mov ecx, dword [esp + 0x88]
cmp ecx, dword [edx + 8]
jge 0x4194c0
mov ecx, dword [edx + 8]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + esi*4]
mov ebp, dword [edx + 0x28]
test ebp, ebp
jne 0x4194ce
xor eax, eax
jmp 0x4194d5
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00408770
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x54]
lea ecx, [esp + 0x2c]
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00419850
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
mov byte [esp + 0x70], 3
je 0x419556
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x419525
mov edx, dword [0x4631a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41952c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41953c
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00408770
jmp 0x419556
lea ecx, [esp + 0x14]
call fcn.00405b60
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4631a4]
mov byte [esp + 0x70], 2
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41958a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41958a
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
lea eax, [esp + 0x14]
push 0xd
push eax
call fcn.00419090
lea ecx, [esp + 0x1c]
push 0xa
push ecx
call fcn.00419090
mov edx, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [edx - 8]
test eax, eax
je 0x419693
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x419626
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x9c]
test edx, edx
je 0x419626
mov eax, dword [eax + 0x54]
lea edx, [esp + 0x48]
mov ecx, dword [eax + esi*4]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov ecx, 6
sub eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, 3
mov dword [esp + 0x50], edx
sub ebp, eax
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
lea eax, [esp + 0x48]
mov edx, dword [ecx + 0x9c]
push edx
push eax
jmp 0x41968a
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x419693
mov ecx, dword [eax + 0x54]
lea eax, [esp + 0x48]
mov edx, dword [ecx + esi*4]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov ecx, 6
sub eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, 3
mov dword [esp + 0x50], edx
sub ebp, eax
add ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebp
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x48]
mov eax, dword [edx + 0x98]
push eax
push ecx
push edi
call fcn.00444170
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x4196c5
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x54]
neg ecx
mov eax, dword [edx + esi*4]
sbb ecx, ecx
and ecx, 4
add ecx, 4
or ecx, 0x8020
push ecx
mov ecx, dword [esp + 0x18]
push eax
push 0xffffffffffffffff
push ecx
jmp 0x4196e4
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x54]
neg edx
mov ecx, dword [eax + esi*4]
sbb edx, edx
and edx, 4
add edx, 4
or edx, 0x20
push edx
mov edx, dword [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xac]
test eax, eax
je 0x41972b
push ebx
push esi
lea ecx, [esp + 0x18]
call fcn.0041ae60
mov ecx, dword [eax]
add ecx, 0x50
call fcn.0041aa50
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00419830
push edi
call fcn.004125a0
add esp, 0x18
inc esi
mov ebp, 1
jmp 0x41946b
mov eax, dword [esp + 0x94]
test eax, eax
je 0x41974d
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x419761
mov ecx, dword [esp + 0x20]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x419781
mov edx, dword [esp + 0x34]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x38]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x419795
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
cmp eax, ecx
jge 0x4197ae
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov ecx, dword [edx]
mov edx, dword [eax + 4]
cmp ecx, edx
mov dword [esp + 0x10], ecx
jne 0x41927e
mov ecx, dword [esp + 0x40]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4631a4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4197e9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4197e9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.0044bf22
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x419818
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419818
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret