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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc0c9
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x56f710]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x56f710]
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.00491572
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.0049107e
xor esi, esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x174], esi
call fcn.004027a3
lea eax, [edi + 0x9c]
cmp eax, esi
jne 0x4081c8
xor eax, eax
jmp 0x4081cb
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004918e7
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test al, 1
jne 0x40833b
cmp byte [edi + 0xe5], 0
jne 0x40833b
cmp dword [edi + 0x90], esi
jne 0x408330
test al, 0x10
jne 0x408330
cmp byte [edi + 0xa8], 0
push 0xcc0020
push esi
je 0x4082ac
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 0x408261
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.0040807c
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x4083e8
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x40827b
xor eax, eax
jmp 0x40827e
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004918e7
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 0x4083bf
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 0x4082e7
push 0
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.0040807c
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x4083e8
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x408301
xor eax, eax
jmp 0x408304
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004918e7
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 0x4083c0
push 0xcc0020
push esi
jmp 0x40821c
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 0x408380
push dword [edi + 0x94]
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.0040807c
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x4083e8
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x408396
xor eax, eax
jmp 0x408399
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004918e7
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 0x4083d7
xor eax, eax
jmp 0x4083de
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.004918e7
cmp byte [edi + 0xb8], 0
je 0x408e01
cmp byte [edi + 0xd7], 0
jne 0x408407
push 1
mov ecx, ebx
call fcn.00490e91
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.0045da56
push 0x52f250
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 [0x57a0d4]
test eax, eax
je 0x4084e8
cmp byte [edi + 0xd8], 0
mov dword [esp + 0x9c], 0xfffffff5
mov dword [esp + 0xac], 0x1f4
je 0x4084d5
cmp eax, 0xe
jne 0x4084d5
mov dword [esp + 0x9c], 0xfffffff7
mov dword [esp + 0xac], 0x2bc
push 0x52f250
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [edi + 0xd5], 0
je 0x40850e
cmp dword [edi + 0x90], 0
jne 0x408504
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x40850e
mov byte [esp + 0xb1], 1
jmp 0x408516
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.00491858
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 0x408740
cmp byte [edi + 0xd5], 0
je 0x408584
mov dword [esp + 0x4c], 0x48
mov dword [esp + 0x50], 0x11
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
push 0x20
jmp 0x4085af
mov eax, dword [ebx]
push 0x483f36
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x4085a1
cmp byte [edi + 0xe5], 0
je 0x4085ad
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 [0x57a0d4], 0
mov eax, dword [ebx]
mov ecx, ebx
je 0x4085e0
push 0x3f3f36
jmp 0x4085e5
push 0x1b1b1b
call dword [eax + 0x30]
cmp byte [edi + 0xb0], 0
je 0x408d4c
cmp byte [edi + 0xd5], 0
je 0x4086f6
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.0045da56
push 0x52f250
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.00491858
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.00402a27
mov byte [esp + 0x170], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
call fcn.00402a27
jmp 0x408d4c
cmp byte [edi + 0xdf], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x30
je 0x408716
push 0xcffc
jmp 0x408732
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408730
cmp byte [edi + 0xe5], 0
jne 0x408730
push 0xe1e1e1
jmp 0x408732
push 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push 5
jmp 0x408d2f
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
cmp byte [edi + 0xd9], 0
je 0x4087c0
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 0x4087b7
cmp byte [edi + 0xe5], 0
jne 0x4087b7
cmp dword [edi + 0x90], 0
jne 0x408785
test al, 0x10
je 0x4087c0
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.00491858
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x4087c0
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xda], 0
je 0x408831
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 0x408828
cmp byte [edi + 0xe5], 0
jne 0x408828
cmp dword [edi + 0x90], 0
jne 0x4087f6
test al, 0x10
je 0x408831
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.00491858
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x408831
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xdb], 0
je 0x40887e
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.00491858
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 0x4089c7
cmp byte [0x57a038], 0
mov eax, dword [0x57a0d4]
je 0x4088f9
test eax, eax
je 0x4088c6
cmp eax, 0x13
je 0x4088c6
cmp eax, 0xa
je 0x4088b9
cmp eax, 0xe
je 0x4088b9
mov dword [esp + 0x9c], 0xfffffff0
jmp 0x4088d1
mov dword [esp + 0x9c], 0xfffffff1
jmp 0x4088d1
mov dword [esp + 0x9c], 0xffffffee
mov dword [esp + 0xac], 0x2bc
xor eax, eax
movzx ecx, word [eax + 0x52d668]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4088de
jmp 0x408994
test eax, eax
je 0x408916
cmp eax, 0x13
je 0x408916
xor ecx, ecx
cmp eax, 0xe
sete cl
add ecx, 0xfffffff3
mov dword [esp + 0x9c], ecx
jmp 0x408921
mov dword [esp + 0x9c], 0xfffffff0
push 0x52dc10
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push str.RESOURCESTRING
mov dword [esp + 0xb8], 0x258
call fcn.0040254f
push ecx
mov byte [esp + 0x17c], 0xa
mov ecx, esp
mov dword [esp + 0x68], esp
push str.IDS_FONT_GREEN_BUTTONS_XP
call fcn.0040254f
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406eff
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 0x408979
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402845
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.00491858
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 0x408a2c
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.00491858
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 0x408a99
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.00491858
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 0x408a89
cmp byte [edi + 0xe5], 0
je 0x408a92
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 2
jmp 0x408cff
cmp byte [edi + 0xd6], 0
je 0x408b50
add dword [esp + 0x9c], 2
xor eax, eax
movzx ecx, word [eax + 0x52f9a8]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408ab0
cmp dword [0x57a0d4], 0
je 0x408af2
mov dword [esp + 0xac], 0x190
xor eax, eax
movzx ecx, word [eax + 0x52f250]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408adc
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
mov byte [esp + 0xb1], 1
jne 0x408b0d
cmp byte [edi + 0xe5], 0
je 0x408b15
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.00491858
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 0x408cff
cmp byte [edi + 0xe0], 0
je 0x408bc2
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.00491858
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 0x408bb2
cmp byte [edi + 0xe5], 0
je 0x408bbb
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 1
jmp 0x408cff
cmp byte [edi + 0xdd], 0
je 0x408c76
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 0x52dc10
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.RESOURCESTRING
call fcn.0040254f
push ecx
mov byte [esp + 0x17c], 0xb
mov ecx, esp
mov dword [esp + 0x98], esp
push str.IDS_NOT_INSTALLED
call fcn.0040254f
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406eff
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.00402845
jmp 0x408d1c
cmp byte [edi + 0xde], 0
je 0x408e4d
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408c96
cmp byte [edi + 0xe5], 0
je 0x408ca0
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 0x408cc4
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 0x408d4c
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.004918b0
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], esi
call fcn.00402a27
mov byte [esp + 0x170], 5
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
call fcn.00402a27
mov byte [esp + 0x170], 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], esi
call fcn.00402a27
mov byte [esp + 0x170], 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
call fcn.00402a27
mov byte [esp + 0x170], 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.00402a27
mov byte [esp + 0x170], 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], esi
call fcn.00402a27
mov byte [esp + 0x170], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], esi
call fcn.00402a27
xor esi, esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x408e0c
mov esi, dword [eax + 4]
push esi
push dword [esp + 0x44]
call fcn.004918e7
or dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00491605
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.004b228f
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xe2], 0
je 0x408cfd
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 [0x57a0d4], 0
je 0x408ed3
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.00491858
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 0x408ed3
and dword [esp + 0x1c], 0
cmp dword [edi + 0x90], 0
jne 0x408ee6
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408f16
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.00491858
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 0x408f29
cmp byte [edi + 0xe5], 0
je 0x408f32
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
mov eax, dword [0x57a0d4]
test eax, eax
je 0x408f44
cmp eax, 0x13
je 0x408f44
push 0x14
jmp 0x408f46
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.0040927b
jmp 0x408d1c