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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3368
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x55c6c0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x55c6c0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push dword [esi + 0x18]
mov edi, ecx
mov dword [esp + 0x18], esi
call fcn.00489e00
add esi, 0x1c
mov ebx, eax
push esi
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push eax
call esi
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x3c]
call fcn.0048990c
xor esi, esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x174], esi
call fcn.004027e1
lea eax, [edi + 0x9c]
cmp eax, esi
jne 0x4080e1
xor eax, eax
jmp 0x4080e4
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a175
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test al, 1
jne 0x408254
cmp byte [edi + 0xe5], 0
jne 0x408254
cmp dword [edi + 0x90], esi
jne 0x408249
test al, 0x10
jne 0x408249
cmp byte [edi + 0xa8], 0
push 0xcc0020
push esi
je 0x4081c5
mov eax, dword [edi + 0x94]
mov edx, dword [edi + 0x98]
lea ecx, [eax + eax]
push ecx
push dword [esp + 0x4c]
push edx
push eax
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [edi + 0xd4], 0
je 0x40817a
mov eax, dword [edi + 0x94]
add eax, eax
push eax
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407f95
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x408301
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x408194
xor eax, eax
jmp 0x408197
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a175
mov edx, dword [edi + 0xcc]
push 0xcc0020
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc8]
push esi
lea ecx, [eax + eax]
push ecx
push dword [esp + 0x4c]
push edx
jmp 0x4082d8
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x94]
push esi
push dword [esp + 0x4c]
push eax
push ecx
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [edi + 0xd4], 0
je 0x408200
push 0
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407f95
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x408301
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x40821a
xor eax, eax
jmp 0x40821d
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a175
mov ecx, dword [edi + 0xc8]
push 0xcc0020
push esi
push esi
push dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xcc]
push eax
push ecx
jmp 0x4082d9
push 0xcc0020
push esi
jmp 0x408135
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x98]
push 0xcc0020
push esi
push eax
push dword [esp + 0x4c]
push ecx
push eax
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [edi + 0xd4], 0
je 0x408299
push dword [edi + 0x94]
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407f95
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x408301
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x4082af
xor eax, eax
jmp 0x4082b2
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a175
mov ecx, dword [edi + 0xcc]
push 0xcc0020
push esi
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc8]
push eax
push dword [esp + 0x4c]
push ecx
push eax
push 3
push 0x26
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x28], esi
jne 0x4082f0
xor eax, eax
jmp 0x4082f7
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a175
cmp byte [edi + 0xb8], 0
je 0x408d1a
cmp byte [edi + 0xd7], 0
jne 0x408320
push 1
mov ecx, ebx
call fcn.00489732
xor eax, eax
mov esi, vtable.CFont.0
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], esi
lea eax, [esp + 0x9c]
mov byte [esp + 0x170], 7
call fcn.00462776
push 0x521df0
lea eax, [esp + 0xbc]
push eax
mov dword [esp + 0xa4], 0xfffffff4
mov dword [esp + 0xb4], 0x2bc
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x566394]
test eax, eax
je 0x408401
cmp byte [edi + 0xd8], 0
mov dword [esp + 0x9c], 0xfffffff5
mov dword [esp + 0xac], 0x1f4
je 0x4083ee
cmp eax, 0xe
jne 0x4083ee
mov dword [esp + 0x9c], 0xfffffff7
mov dword [esp + 0xac], 0x2bc
push 0x521df0
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [edi + 0xd5], 0
je 0x408427
cmp dword [edi + 0x90], 0
jne 0x40841d
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408427
mov byte [esp + 0xb1], 1
jmp 0x40842f
mov byte [esp + 0xb1], 0
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 0x2b
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x70]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
cmp dword [edi + 0xc4], 0
mov dword [esp + 0x2c], eax
mov ecx, ebx
je 0x408659
cmp byte [edi + 0xd5], 0
je 0x40849d
mov dword [esp + 0x4c], 0x48
mov dword [esp + 0x50], 0x11
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
push 0x20
jmp 0x4084c8
mov eax, dword [ebx]
push 0x483f36
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x4084ba
cmp byte [edi + 0xe5], 0
je 0x4084c6
mov eax, dword [ebx]
push 0xffffff
mov ecx, ebx
call dword [eax + 0x30]
push 0x25
mov eax, dword [edi + 0xb4]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x50]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [0x566394], 0
mov eax, dword [ebx]
mov ecx, ebx
je 0x4084f9
push 0x3f3f36
jmp 0x4084fe
push 0x1b1b1b
call dword [eax + 0x30]
cmp byte [edi + 0xb0], 0
je 0x408c65
cmp byte [edi + 0xd5], 0
je 0x40860f
and dword [esp + 0x60], 0
mov dword [esp + 0x5c], esi
and dword [esp + 0x90], 0
mov dword [esp + 0x8c], esi
lea eax, [esp + 0xfc]
mov byte [esp + 0x170], 9
call fcn.00462776
push 0x521df0
lea eax, [esp + 0x11c]
push eax
mov dword [esp + 0x104], 0xe
mov dword [esp + 0x114], 0x190
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x11a], 5
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x60]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov edi, dword [edi + 0xac]
push 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], 0x48
mov dword [esp + 0x58], 0x28
mov eax, dword [edi - 0xc]
push eax
mov eax, dword [esp + 0x20]
push edi
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov byte [esp + 0x170], 8
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], esi
call fcn.00402a65
mov byte [esp + 0x170], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
call fcn.00402a65
jmp 0x408c65
cmp byte [edi + 0xdf], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x30
je 0x40862f
push 0xcffc
jmp 0x40864b
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408649
cmp byte [edi + 0xe5], 0
jne 0x408649
push 0xe1e1e1
jmp 0x40864b
push 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push 5
jmp 0x408c48
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
cmp byte [edi + 0xd9], 0
je 0x4086d9
mov eax, dword [ebx]
push 0x9a0909
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
add dword [esp + 0x1c], 4
test al, 1
jne 0x4086d0
cmp byte [edi + 0xe5], 0
jne 0x4086d0
cmp dword [edi + 0x90], 0
jne 0x40869e
test al, 0x10
je 0x4086d9
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x38]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x4086d9
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xda], 0
je 0x40874a
mov eax, dword [ebx]
push 0xffffff
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test al, 1
jne 0x408741
cmp byte [edi + 0xe5], 0
jne 0x408741
cmp dword [edi + 0x90], 0
jne 0x40870f
test al, 0x10
je 0x40874a
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x38]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x40874a
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xdb], 0
je 0x408797
mov eax, dword [ebx]
push 0xa0a0a
mov ecx, ebx
call dword [eax + 0x30]
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0xb0], 0x190
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x68]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
add dword [esp + 0x1c], 3
mov dword [esp + 0x2c], eax
cmp byte [edi + 0xde], 0
je 0x4088e0
cmp byte [0x5662f2], 0
mov eax, dword [0x566394]
je 0x408812
test eax, eax
je 0x4087df
cmp eax, 0x13
je 0x4087df
cmp eax, 0xa
je 0x4087d2
cmp eax, 0xe
je 0x4087d2
mov dword [esp + 0x9c], 0xfffffff0
jmp 0x4087ea
mov dword [esp + 0x9c], 0xfffffff1
jmp 0x4087ea
mov dword [esp + 0x9c], 0xffffffee
mov dword [esp + 0xac], 0x2bc
xor eax, eax
movzx ecx, word [eax + 0x5203b0]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4087f7
jmp 0x4088ad
test eax, eax
je 0x40882f
cmp eax, 0x13
je 0x40882f
xor ecx, ecx
cmp eax, 0xe
sete cl
add ecx, 0xfffffff3
mov dword [esp + 0x9c], ecx
jmp 0x40883a
mov dword [esp + 0x9c], 0xfffffff0
push 0x520938
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push str.RESOURCESTRING
mov dword [esp + 0xb8], 0x258
call fcn.0040255d
push ecx
mov byte [esp + 0x17c], 0xa
mov ecx, esp
mov dword [esp + 0x68], esp
push str.S9PT9_254
call fcn.0040255d
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406e18
mov eax, dword [eax]
lea ecx, [esp + 0xb8]
movzx edx, word [eax]
inc eax
mov word [ecx], dx
inc eax
inc ecx
inc ecx
test dx, dx
jne 0x408892
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402883
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xba], 5
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x80]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
cmp byte [edi + 0xdc], 0
je 0x408945
mov eax, dword [ebx]
push 0xab5210
mov ecx, ebx
call dword [eax + 0x30]
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0xa0], 0xfffffff1
mov dword [esp + 0xb0], 0x2bc
mov byte [esp + 0xba], 5
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x68]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
add dword [esp + 0x1c], 5
add dword [esp + 0x18], 5
mov dword [esp + 0x2c], eax
cmp byte [edi + 0xe4], 0
je 0x4089b2
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x38]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push 0xffffff
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x20], 0xf
test byte [eax + 0x10], 1
jne 0x4089a2
cmp byte [edi + 0xe5], 0
je 0x4089ab
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 2
jmp 0x408c18
cmp byte [edi + 0xd6], 0
je 0x408a69
add dword [esp + 0x9c], 2
xor eax, eax
movzx ecx, word [eax + 0x522420]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4089c9
cmp dword [0x566394], 0
je 0x408a0b
mov dword [esp + 0xac], 0x190
xor eax, eax
movzx ecx, word [eax + 0x521df0]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4089f5
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
mov byte [esp + 0xb1], 1
jne 0x408a26
cmp byte [edi + 0xe5], 0
je 0x408a2e
inc dword [esp + 0x1c]
inc dword [esp + 0x18]
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x38]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push 0xe1e1e1
mov ecx, ebx
call dword [eax + 0x30]
push 0x26
jmp 0x408c18
cmp byte [edi + 0xe0], 0
je 0x408adb
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x38]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push 0xa0af0
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0xa
add dword [esp + 0x18], 0x23
test byte [eax + 0x10], 1
jne 0x408acb
cmp byte [edi + 0xe5], 0
je 0x408ad4
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 1
jmp 0x408c18
cmp byte [edi + 0xdd], 0
je 0x408b8f
mov eax, dword [edi + 0xb4]
add dword [esp + 0x18], 2
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
add dword [esp + 0x18], 0x5a
mov eax, dword [ebx]
push 0x80895
mov ecx, ebx
call dword [eax + 0x30]
push 0x520938
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.RESOURCESTRING
call fcn.0040255d
push ecx
mov byte [esp + 0x17c], 0xb
mov ecx, esp
mov dword [esp + 0x98], esp
push str.SPC_NOT_INSTALLED
call fcn.0040255d
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406e18
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x408c35
cmp byte [edi + 0xde], 0
je 0x408d66
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408baf
cmp byte [edi + 0xe5], 0
je 0x408bb9
add dword [esp + 0x18], 4
add dword [esp + 0x1c], 4
sub dword [esp + 0x20], 0xb
mov eax, dword [ebx]
push 0x2d6f2d
mov ecx, ebx
call dword [eax + 0x30]
cmp byte [edi + 0xe1], 0
je 0x408bdd
sub dword [esp + 0x1c], 3
add dword [esp + 0x18], 8
mov eax, dword [edi + 0xb4]
sub dword [esp + 0x24], 4
mov ecx, dword [eax - 0xc]
push 0x25
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx]
push 0xf5f5f5
mov ecx, ebx
call dword [eax + 0x30]
inc dword [esp + 0x1c]
add dword [esp + 0x18], 2
push 0x25
mov eax, dword [edi + 0xb4]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp byte [edi + 0xb0], 0
je 0x408c65
mov dword [esp + 0x1c], 0x1e
push 0x20
mov edi, dword [edi + 0xac]
mov eax, dword [edi - 0xc]
lea ecx, [esp + 0x50]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edi
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x2c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
lea ecx, [esp + 0x6c]
call fcn.0048a13e
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], esi
call fcn.00402a65
mov byte [esp + 0x170], 5
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
call fcn.00402a65
mov byte [esp + 0x170], 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], esi
call fcn.00402a65
mov byte [esp + 0x170], 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
call fcn.00402a65
mov byte [esp + 0x170], 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.00402a65
mov byte [esp + 0x170], 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], esi
call fcn.00402a65
mov byte [esp + 0x170], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], esi
call fcn.00402a65
xor esi, esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x408d25
mov esi, dword [eax + 4]
push esi
push dword [esp + 0x44]
call fcn.0048a175
or dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00489e93
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.004aa206
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xe2], 0
je 0x408c16
mov eax, dword [ebx]
push 0xb41600
mov ecx, ebx
call dword [eax + 0x30]
add dword [esp + 0x18], 0x1e
add dword [esp + 0x1c], 4
cmp dword [0x566394], 0
je 0x408dec
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0xa0], 0xfffffff5
mov dword [esp + 0xb0], 0x258
mov byte [esp + 0xba], 5
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x88]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
cmp byte [edi + 0xe3], 0
mov dword [esp + 0x2c], eax
jne 0x408dec
and dword [esp + 0x1c], 0
cmp dword [edi + 0x90], 0
jne 0x408dff
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408e2f
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x78]
call fcn.0048a0e6
mov eax, dword [ebx]
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408e42
cmp byte [edi + 0xe5], 0
je 0x408e4b
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
mov eax, dword [0x566394]
test eax, eax
je 0x408e5d
cmp eax, 0x13
je 0x408e5d
push 0x14
jmp 0x408e5f
push 0
mov eax, dword [edi + 0xb4]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x408c35