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

Disassembly:
push 0xffffffffffffffff
push 0x45a39e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47617c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x59], 0
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
je 0x419502
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CPen.0
push 0xffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0xa0], ebx
call fcn.0042b460
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 1
call fcn.0042b460
mov eax, dword [esi + 0x60]
push eax
push 1
push ebx
mov byte [esp + 0xa8], 2
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x18]
call fcn.0042b2a5
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0042b37d
cmp dword [esi + 0x78], 1
mov dword [esp + 0x1c], eax
je 0x41949d
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 4]
push edx
push edi
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
add dword [edi], 1
add dword [edi + 4], 1
or eax, 0xffffffff
add dword [edi + 8], eax
add dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 4]
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.0042b37d
lea ecx, [esp + 0x14]
call fcn.0042b2f8
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 1
mov dword [esp + 0x34], vtable.CBrush.0
call fcn.00403c30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 0
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.00403c30
lea ecx, [esp + 0x14]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x14], vtable.CPen.0
call fcn.00403c30
jmp 0x419516
cmp dword [esi + 0x78], 1
je 0x419514
mov eax, dword [esi + 0x5c]
push eax
push edi
mov ecx, ebp
call fcn.0042b987
xor ebx, ebx
mov ecx, esi
call fcn.0042a012
test eax, eax
je 0x419533
cmp dword [esi + 0xdc], 1
je 0x419533
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x14], edx
jmp 0x419544
mov ecx, dword [esi + 0x7c]
push ecx
mov ecx, esi
call fcn.00418a20
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esi + 0x74]
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x419553
jmp dword [eax*4 + 0x419be0]
cmp edx, ebx
je 0x41959d
mov ecx, dword [esi + 0x80]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push 3
push ebx
push ebx
push ecx
push ecx
push edx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0xd8]
add edx, dword [edi]
sar eax, 1
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 0x80]
sub ecx, dword [esi + 0xd4]
add ecx, 0xa
add dword [edi], ecx
cmp dword [esi + 0xc0], ebx
jne 0x4195b2
mov ecx, esi
call fcn.00415310
mov dword [esi + 0xc0], eax
movzx edx, byte [esi + 0xa8]
mov eax, dword [esi + 0xc0]
push edx
push ebx
push eax
lea ecx, [esi + 0x54]
push ecx
jmp 0x419ba5
mov eax, vtable.CRgn.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x9c], 3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
push 0xffffff
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 4
call fcn.0042b460
mov edx, dword [esi + 0x5c]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.0042b460
push 0xa
push 0xa
push 0x1a
push 0x1a
push ebx
push ebx
mov byte [esp + 0xb4], 6
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.0042b2a5
mov eax, 0xa
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.00416870
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00416830
mov eax, dword [edi + 0xc]
push 0xa
push 0xa
lea ecx, [eax + 1]
push ecx
push 0x1a
add eax, 0xffffffe6
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x28]
call fcn.0042b2a5
mov eax, dword [edi + 0xc]
lea ecx, [eax - 0xa]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x88]
push edx
mov ecx, ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], 0xa
mov dword [esp + 0x98], eax
call fcn.00416870
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00416830
mov ebx, dword [edi + 8]
mov eax, 0x55555556
imul ebx
mov eax, edx
sub esp, 0x10
mov ecx, esp
shr eax, 0x1f
add eax, edx
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
xor edx, edx
mov dword [ecx + 4], edx
mov edx, dword [esi + 0x5c]
push 0xffffff
mov dword [ecx + 8], ebx
push edx
mov dword [ecx + 0xc], eax
push ebp
mov ecx, esi
call fcn.00418c40
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41975f
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
push 3
push 0
push 0
push ecx
mov ecx, dword [esi + 0xcc]
push edx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [esi + 0xd0]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esi + 0x80]
sub eax, dword [esi + 0xd4]
add eax, 0xf
add dword [edi], eax
mov ecx, dword [esi + 0xd0]
add dword [edi + 4], ecx
mov edx, dword [esi + 0xcc]
add dword [edi], edx
lea ebx, [esi + 0xb8]
push 0x45e274
push ebx
call fcn.00418de0
add esp, 8
test al, al
je 0x4197ef
mov eax, dword [esi + 0xbc]
push 0
push 1
push eax
push ebx
push edi
push ebp
mov ecx, esi
call fcn.00418e40
mov eax, dword [esi + 0xbc]
xor ebx, ebx
test eax, eax
je 0x4197b6
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov ebx, eax
lea eax, [esi + 0xb8]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call fcn.004153c0
test ebx, ebx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
je 0x4197e5
mov edx, dword [ebp]
mov eax, dword [edx + 0x28]
push ebx
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x48]
add ecx, 5
add dword [edi + 4], ecx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push eax
call fcn.0042b297
push eax
lea eax, [esi + 0x54]
push eax
push edi
push ebp
mov ecx, esi
call fcn.00418e40
mov edi, vtable.CBrush.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 5
mov dword [esp + 0x2c], edi
call fcn.00403c30
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 4
mov dword [esp + 0x34], edi
call fcn.00403c30
mov edi, vtable.CRgn.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 3
mov dword [esp + 0x1c], edi
call fcn.00403c30
lea ecx, [esp + 0x24]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.00403c30
jmp 0x419bae
mov eax, vtable.CRgn.0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x9c], 7
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
push 0xffffff
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 8
call fcn.0042b460
mov ecx, dword [esi + 0x5c]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xa0], 9
call fcn.0042b460
mov ecx, dword [edi + 8]
mov eax, 0x55555556
imul ecx
sub esp, 0x10
mov ecx, esp
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
push 0xa37f6f
push 0x7d6650
mov dword [ecx + 0xc], eax
push ebp
mov ecx, esi
mov byte [esp + 0xb8], 0xa
call fcn.00418c40
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41994d
mov edx, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
push 3
push ebx
push ebx
push edx
mov edx, dword [esi + 0xd0]
push ecx
mov ecx, dword [ebp + 4]
push eax
mov eax, dword [esi + 0xcc]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edx, dword [esi + 0x80]
sub edx, dword [esi + 0xd4]
add edx, 0xf
add dword [edi], edx
lea eax, [esi + 0xb8]
push 0x45e274
push eax
call fcn.00418de0
add esp, 8
test al, al
je 0x4199dd
add dword [edi + 4], 0xa
mov eax, dword [esi + 0xbc]
push ebx
push 1
push eax
lea eax, [esi + 0xb8]
push eax
push edi
push ebp
mov ecx, esi
call fcn.00418e40
mov eax, dword [esi + 0xbc]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x4199a0
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xb8]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.004153c0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x34], edx
je 0x4199d3
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x38]
add ecx, 5
add dword [edi + 4], ecx
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push eax
call fcn.0042b297
push eax
lea eax, [esi + 0x54]
push eax
push edi
push ebp
mov ecx, esi
call fcn.00418e40
mov edi, vtable.CBrush.0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 9
mov dword [esp + 0x4c], edi
call fcn.00403c30
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 8
mov dword [esp + 0x54], edi
call fcn.00403c30
mov edi, vtable.CRgn.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 7
mov dword [esp + 0x3c], edi
call fcn.00403c30
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x44], edi
call fcn.00403c30
jmp 0x419bae
cmp edx, ebx
je 0x419ac4
add dword [edi], 5
cmp byte [esi + 0x59], 0
mov ecx, dword [edi]
je 0x419a7c
add dword [edi + 4], 2
jmp 0x419a80
add dword [edi + 4], 5
mov eax, dword [esi + 0x80]
push 3
push ebx
push ebx
push eax
push eax
mov eax, dword [ebp + 4]
push edx
mov edx, dword [edi + 4]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp byte [esi + 0x59], 0
je 0x419ab3
mov ecx, dword [esi + 0x80]
add ecx, 4
add dword [edi], ecx
add dword [edi + 4], 1
jmp 0x419ac4
mov edx, dword [esi + 0x80]
sub edx, dword [esi + 0xd4]
add edx, 0xa
add dword [edi], edx
lea eax, [esi + 0xb8]
push 0x45e274
push eax
call fcn.00418de0
add esp, 8
test al, al
je 0x419b6d
lea eax, [esi + 0x54]
push 0x45e274
push eax
call fcn.004033c0
add esp, 8
test al, al
je 0x419af9
add dword [edi + 4], 2
mov ecx, dword [esi + 0xbc]
push ebx
push 1
push ecx
lea eax, [esi + 0xb8]
push eax
push edi
push ebp
mov ecx, esi
call fcn.00418e40
mov eax, dword [esi + 0xbc]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x419b30
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xb8]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call fcn.004153c0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x54], edx
je 0x419b63
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x58]
add ecx, 3
add dword [edi + 4], ecx
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push eax
call fcn.0042b297
push eax
lea eax, [esi + 0x54]
push eax
jmp 0x419ba5
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push eax
call fcn.0042b297
push eax
lea edx, [esi + 0x54]
push edx
push edi
push ebp
mov ecx, esi
call fcn.00418e40
mov ecx, esi
call fcn.0042a012
test eax, eax
jne 0x419bc4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8