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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d369a
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x55f6c0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x55f6c0]
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.0048a54a
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.0048a034
xor esi, esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x174], esi
call fcn.004027c2
lea eax, [edi + 0x9c]
cmp eax, esi
jne 0x4080fa
xor eax, eax
jmp 0x4080fd
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a8bf
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test al, 1
jne 0x40826d
cmp byte [edi + 0xe5], 0
jne 0x40826d
cmp dword [edi + 0x90], esi
jne 0x408262
test al, 0x10
jne 0x408262
cmp byte [edi + 0xa8], 0
push 0xcc0020
push esi
je 0x4081de
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 0x408193
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.00407fae
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x40831a
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x4081ad
xor eax, eax
jmp 0x4081b0
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a8bf
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 0x4082f1
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 0x408219
push 0
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407fae
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x40831a
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x408233
xor eax, eax
jmp 0x408236
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a8bf
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 0x4082f2
push 0xcc0020
push esi
jmp 0x40814e
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 0x4082b2
push dword [edi + 0x94]
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407fae
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x40831a
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x4082c8
xor eax, eax
jmp 0x4082cb
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a8bf
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 0x408309
xor eax, eax
jmp 0x408310
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0048a8bf
cmp byte [edi + 0xb8], 0
je 0x408d33
cmp byte [edi + 0xd7], 0
jne 0x408339
push 1
mov ecx, ebx
call fcn.00489e5a
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.00461536
push 0x523ec0
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 [0x56962c]
test eax, eax
je 0x40841a
cmp byte [edi + 0xd8], 0
mov dword [esp + 0x9c], 0xfffffff5
mov dword [esp + 0xac], 0x1f4
je 0x408407
cmp eax, 0xe
jne 0x408407
mov dword [esp + 0x9c], 0xfffffff7
mov dword [esp + 0xac], 0x2bc
push 0x523ec0
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [edi + 0xd5], 0
je 0x408440
cmp dword [edi + 0x90], 0
jne 0x408436
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408440
mov byte [esp + 0xb1], 1
jmp 0x408448
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.0048a830
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 0x408672
cmp byte [edi + 0xd5], 0
je 0x4084b6
mov dword [esp + 0x4c], 0x48
mov dword [esp + 0x50], 0x11
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
push 0x20
jmp 0x4084e1
mov eax, dword [ebx]
push 0x483f36
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x4084d3
cmp byte [edi + 0xe5], 0
je 0x4084df
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 [0x56962c], 0
mov eax, dword [ebx]
mov ecx, ebx
je 0x408512
push 0x3f3f36
jmp 0x408517
push 0x1b1b1b
call dword [eax + 0x30]
cmp byte [edi + 0xb0], 0
je 0x408c7e
cmp byte [edi + 0xd5], 0
je 0x408628
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.00461536
push 0x523ec0
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.0048a830
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 0x408c7e
cmp byte [edi + 0xdf], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x30
je 0x408648
push 0xcffc
jmp 0x408664
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408662
cmp byte [edi + 0xe5], 0
jne 0x408662
push 0xe1e1e1
jmp 0x408664
push 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push 5
jmp 0x408c61
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
cmp byte [edi + 0xd9], 0
je 0x4086f2
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 0x4086e9
cmp byte [edi + 0xe5], 0
jne 0x4086e9
cmp dword [edi + 0x90], 0
jne 0x4086b7
test al, 0x10
je 0x4086f2
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.0048a830
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x4086f2
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xda], 0
je 0x408763
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 0x40875a
cmp byte [edi + 0xe5], 0
jne 0x40875a
cmp dword [edi + 0x90], 0
jne 0x408728
test al, 0x10
je 0x408763
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.0048a830
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x408763
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xdb], 0
je 0x4087b0
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.0048a830
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 0x4088f9
cmp byte [0x569592], 0
mov eax, dword [0x56962c]
je 0x40882b
test eax, eax
je 0x4087f8
cmp eax, 0x13
je 0x4087f8
cmp eax, 0xa
je 0x4087eb
cmp eax, 0xe
je 0x4087eb
mov dword [esp + 0x9c], 0xfffffff0
jmp 0x408803
mov dword [esp + 0x9c], 0xfffffff1
jmp 0x408803
mov dword [esp + 0x9c], 0xffffffee
mov dword [esp + 0xac], 0x2bc
xor eax, eax
movzx ecx, word [eax + 0x522428]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408810
jmp 0x4088c6
test eax, eax
je 0x408848
cmp eax, 0x13
je 0x408848
xor ecx, ecx
cmp eax, 0xe
sete cl
add ecx, 0xfffffff3
mov dword [esp + 0x9c], ecx
jmp 0x408853
mov dword [esp + 0x9c], 0xfffffff0
push 0x5229b8
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push str.RESOURCESTRING
mov dword [esp + 0xb8], 0x258
call fcn.0040253e
push ecx
mov byte [esp + 0x17c], 0xa
mov ecx, esp
mov dword [esp + 0x68], esp
push str.SAFEPC_A254
call fcn.0040253e
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406e20
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 0x4088ab
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.0048a830
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 0x40895e
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.0048a830
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 0x4089cb
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.0048a830
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 0x4089bb
cmp byte [edi + 0xe5], 0
je 0x4089c4
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 2
jmp 0x408c31
cmp byte [edi + 0xd6], 0
je 0x408a82
add dword [esp + 0x9c], 2
xor eax, eax
movzx ecx, word [eax + 0x524518]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4089e2
cmp dword [0x56962c], 0
je 0x408a24
mov dword [esp + 0xac], 0x190
xor eax, eax
movzx ecx, word [eax + 0x523ec0]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408a0e
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
mov byte [esp + 0xb1], 1
jne 0x408a3f
cmp byte [edi + 0xe5], 0
je 0x408a47
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.0048a830
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 0x408c31
cmp byte [edi + 0xe0], 0
je 0x408af4
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.0048a830
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 0x408ae4
cmp byte [edi + 0xe5], 0
je 0x408aed
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 1
jmp 0x408c31
cmp byte [edi + 0xdd], 0
je 0x408ba8
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 0x5229b8
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.RESOURCESTRING
call fcn.0040253e
push ecx
mov byte [esp + 0x17c], 0xb
mov ecx, esp
mov dword [esp + 0x98], esp
push str.SPC_NOT_INSTALLED
call fcn.0040253e
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x180], 7
call fcn.00406e20
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 0x408c4e
cmp byte [edi + 0xde], 0
je 0x408d7f
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408bc8
cmp byte [edi + 0xe5], 0
je 0x408bd2
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 0x408bf6
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 0x408c7e
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.0048a888
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 0x408d3e
mov esi, dword [eax + 4]
push esi
push dword [esp + 0x44]
call fcn.0048a8bf
or dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0048a5dd
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.004aa923
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xe2], 0
je 0x408c2f
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 [0x56962c], 0
je 0x408e05
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.0048a830
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 0x408e05
and dword [esp + 0x1c], 0
cmp dword [edi + 0x90], 0
jne 0x408e18
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408e48
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.0048a830
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 0x408e5b
cmp byte [edi + 0xe5], 0
je 0x408e64
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
mov eax, dword [0x56962c]
test eax, eax
je 0x408e76
cmp eax, 0x13
je 0x408e76
push 0x14
jmp 0x408e78
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 0x408c4e