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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f2e9
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5ff740]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
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.004bdb08
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.004bd614
xor esi, esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x174], esi
call fcn.0040278f
lea eax, [edi + 0x9c]
cmp eax, esi
jne 0x4081bc
xor eax, eax
jmp 0x4081bf
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004bde7d
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test al, 1
jne 0x40832f
cmp byte [edi + 0xe5], 0
jne 0x40832f
cmp dword [edi + 0x90], esi
jne 0x408324
test al, 0x10
jne 0x408324
cmp byte [edi + 0xa8], 0
push 0xcc0020
push esi
je 0x4082a0
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 0x408255
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.00408070
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x4083dc
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x40826f
xor eax, eax
jmp 0x408272
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004bde7d
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 0x4083b3
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 0x4082db
push 0
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00408070
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x4083dc
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x4082f5
xor eax, eax
jmp 0x4082f8
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004bde7d
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 0x4083b4
push 0xcc0020
push esi
jmp 0x408210
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 0x408374
push dword [edi + 0x94]
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00408070
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x4083dc
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x40838a
xor eax, eax
jmp 0x40838d
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004bde7d
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 0x4083cb
xor eax, eax
jmp 0x4083d2
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004bde7d
cmp byte [edi + 0xb8], 0
je 0x408df5
cmp byte [edi + 0xd7], 0
jne 0x4083fb
push 1
mov ecx, ebx
call fcn.004bd427
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.00484281
push 0x5b1400
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 [0x60a9dc]
test eax, eax
je 0x4084dc
cmp byte [edi + 0xd8], 0
mov dword [esp + 0x9c], 0xfffffff5
mov dword [esp + 0xac], 0x1f4
je 0x4084c9
cmp eax, 0xe
jne 0x4084c9
mov dword [esp + 0x9c], 0xfffffff7
mov dword [esp + 0xac], 0x2bc
push 0x5b1400
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [edi + 0xd5], 0
je 0x408502
cmp dword [edi + 0x90], 0
jne 0x4084f8
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408502
mov byte [esp + 0xb1], 1
jmp 0x40850a
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.004bddee
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 0x408734
cmp byte [edi + 0xd5], 0
je 0x408578
mov dword [esp + 0x4c], 0x48
mov dword [esp + 0x50], 0x11
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
push 0x20
jmp 0x4085a3
mov eax, dword [ebx]
push 0x483f36
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408595
cmp byte [edi + 0xe5], 0
je 0x4085a1
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 [0x60a9dc], 0
mov eax, dword [ebx]
mov ecx, ebx
je 0x4085d4
push 0x3f3f36
jmp 0x4085d9
push 0x1b1b1b
call dword [eax + 0x30]
cmp byte [edi + 0xb0], 0
je 0x408d40
cmp byte [edi + 0xd5], 0
je 0x4086ea
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.00484281
push 0x5b1400
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.004bddee
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.00402a3d
mov byte [esp + 0x170], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
call fcn.00402a3d
jmp 0x408d40
cmp byte [edi + 0xdf], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x30
je 0x40870a
push 0xcffc
jmp 0x408726
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408724
cmp byte [edi + 0xe5], 0
jne 0x408724
push 0xe1e1e1
jmp 0x408726
push 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push 5
jmp 0x408d23
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
cmp byte [edi + 0xd9], 0
je 0x4087b4
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 0x4087ab
cmp byte [edi + 0xe5], 0
jne 0x4087ab
cmp dword [edi + 0x90], 0
jne 0x408779
test al, 0x10
je 0x4087b4
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.004bddee
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x4087b4
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xda], 0
je 0x408825
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 0x40881c
cmp byte [edi + 0xe5], 0
jne 0x40881c
cmp dword [edi + 0x90], 0
jne 0x4087ea
test al, 0x10
je 0x408825
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.004bddee
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x408825
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xdb], 0
je 0x408872
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.004bddee
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 0x4089bb
cmp byte [0x60a928], 0
mov eax, dword [0x60a9dc]
je 0x4088ed
test eax, eax
je 0x4088ba
cmp eax, 0x13
je 0x4088ba
cmp eax, 0xa
je 0x4088ad
cmp eax, 0xe
je 0x4088ad
mov dword [esp + 0x9c], 0xfffffff0
jmp 0x4088c5
mov dword [esp + 0x9c], 0xfffffff1
jmp 0x4088c5
mov dword [esp + 0x9c], 0xffffffee
mov dword [esp + 0xac], 0x2bc
xor eax, eax
movzx ecx, word [eax + 0x5af7e8]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4088d2
jmp 0x408988
test eax, eax
je 0x40890a
cmp eax, 0x13
je 0x40890a
xor ecx, ecx
cmp eax, 0xe
sete cl
add ecx, 0xfffffff3
mov dword [esp + 0x9c], ecx
jmp 0x408915
mov dword [esp + 0x9c], 0xfffffff0
push 0x5afd90
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push str.RESOURCESTRING
mov dword [esp + 0xb8], 0x258
call fcn.0040253b
push ecx
mov byte [esp + 0x17c], 0xa
mov ecx, esp
mov dword [esp + 0x68], esp
push str.IDS_FONT_GREEN_BUTTONS_XP
call fcn.0040253b
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406ef3
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 0x40896d
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040285b
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.004bddee
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 0x408a20
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.004bddee
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 0x408a8d
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.004bddee
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 0x408a7d
cmp byte [edi + 0xe5], 0
je 0x408a86
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 2
jmp 0x408cf3
cmp byte [edi + 0xd6], 0
je 0x408b44
add dword [esp + 0x9c], 2
xor eax, eax
movzx ecx, word [eax + 0x5b1b58]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408aa4
cmp dword [0x60a9dc], 0
je 0x408ae6
mov dword [esp + 0xac], 0x190
xor eax, eax
movzx ecx, word [eax + 0x5b1400]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408ad0
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
mov byte [esp + 0xb1], 1
jne 0x408b01
cmp byte [edi + 0xe5], 0
je 0x408b09
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.004bddee
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 0x408cf3
cmp byte [edi + 0xe0], 0
je 0x408bb6
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.004bddee
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 0x408ba6
cmp byte [edi + 0xe5], 0
je 0x408baf
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 1
jmp 0x408cf3
cmp byte [edi + 0xdd], 0
je 0x408c6a
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 0x5afd90
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov byte [esp + 0x17c], 0xb
mov ecx, esp
mov dword [esp + 0x98], esp
push str.IDS_NOT_INSTALLED
call fcn.0040253b
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406ef3
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.0040285b
jmp 0x408d10
cmp byte [edi + 0xde], 0
je 0x408e41
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408c8a
cmp byte [edi + 0xe5], 0
je 0x408c94
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 0x408cb8
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 0x408d40
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.004bde46
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], esi
call fcn.00402a3d
mov byte [esp + 0x170], 5
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
call fcn.00402a3d
mov byte [esp + 0x170], 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], esi
call fcn.00402a3d
mov byte [esp + 0x170], 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
call fcn.00402a3d
mov byte [esp + 0x170], 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.00402a3d
mov byte [esp + 0x170], 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], esi
call fcn.00402a3d
mov byte [esp + 0x170], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], esi
call fcn.00402a3d
xor esi, esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x408e00
mov esi, dword [eax + 4]
push esi
push dword [esp + 0x44]
call fcn.004bde7d
or dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.004bdb9b
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.004de422
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xe2], 0
je 0x408cf1
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 [0x60a9dc], 0
je 0x408ec7
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.004bddee
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 0x408ec7
and dword [esp + 0x1c], 0
cmp dword [edi + 0x90], 0
jne 0x408eda
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408f0a
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.004bddee
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 0x408f1d
cmp byte [edi + 0xe5], 0
je 0x408f26
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
mov eax, dword [0x60a9dc]
test eax, eax
je 0x408f38
cmp eax, 0x13
je 0x408f38
push 0x14
jmp 0x408f3a
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 ebx
call fcn.0040926f
jmp 0x408d10