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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4df26c
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x57b750]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x57b750]
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.00498dc8
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.004988b2
xor esi, esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x174], esi
call fcn.00402733
lea eax, [edi + 0x9c]
cmp eax, esi
jne 0x407bd5
xor eax, eax
jmp 0x407bd8
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0049913d
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test al, 1
jne 0x407d48
cmp byte [edi + 0xe5], 0
jne 0x407d48
cmp dword [edi + 0x90], esi
jne 0x407d3d
test al, 0x10
jne 0x407d3d
cmp byte [edi + 0xa8], 0
push 0xcc0020
push esi
je 0x407cb9
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 0x407c6e
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.00407a89
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x407df5
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x407c88
xor eax, eax
jmp 0x407c8b
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0049913d
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 0x407dcc
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 0x407cf4
push 0
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407a89
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x407df5
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x407d0e
xor eax, eax
jmp 0x407d11
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0049913d
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 0x407dcd
push 0xcc0020
push esi
jmp 0x407c29
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 0x407d8d
push dword [edi + 0x94]
lea eax, [esp + 0x40]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00407a89
xor esi, esi
cmp dword [edi + 0xc4], esi
je 0x407df5
lea eax, [edi + 0xc0]
cmp eax, esi
jne 0x407da3
xor eax, eax
jmp 0x407da6
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0049913d
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 7
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x28], esi
jne 0x407de4
xor eax, eax
jmp 0x407deb
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call fcn.0049913d
cmp byte [edi + 0xb8], 0
je 0x40885d
cmp byte [edi + 0xd7], 0
jne 0x407e14
push 1
mov ecx, ebx
call fcn.004986c5
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 + 0x34], eax
mov dword [esp + 0x30], 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.004740dc
push 0x525350
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 [0x585970]
test eax, eax
je 0x407ef5
cmp byte [edi + 0xd8], 0
mov dword [esp + 0x9c], 0xfffffff5
mov dword [esp + 0xac], 0x1f4
je 0x407ee2
cmp eax, 0xe
jne 0x407ee2
mov dword [esp + 0x9c], 0xfffffff7
mov dword [esp + 0xac], 0x2bc
push 0x525350
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [edi + 0xd5], 0
je 0x407f1b
cmp dword [edi + 0x90], 0
jne 0x407f11
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x407f1b
mov byte [esp + 0xb1], 1
jmp 0x407f23
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.004990ae
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 0x40814d
cmp byte [edi + 0xd5], 0
je 0x407f91
mov dword [esp + 0x4c], 0x48
mov dword [esp + 0x50], 0x11
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
push 0x20
jmp 0x407fbc
mov eax, dword [ebx]
push 0x483f36
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x407fae
cmp byte [edi + 0xe5], 0
je 0x407fba
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 [0x585970], 0
mov eax, dword [ebx]
mov ecx, ebx
je 0x407fed
push 0x3f3f36
jmp 0x407ff2
push 0x1b1b1b
call dword [eax + 0x30]
cmp byte [edi + 0xb0], 0
je 0x4087a8
cmp byte [edi + 0xd5], 0
je 0x408103
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.004740dc
push 0x525350
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.004990ae
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 + 0x3c], 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 + 0x38]
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.00402987
mov byte [esp + 0x170], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
call fcn.00402987
jmp 0x4087a8
cmp byte [edi + 0xdf], 0
mov dword [esp + 0x4c], 0x24
mov dword [esp + 0x50], 0xa
je 0x408123
push 0xcffc
jmp 0x40813f
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x40813d
cmp byte [edi + 0xe5], 0
jne 0x40813d
push 0xe1e1e1
jmp 0x40813f
push 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push 4
jmp 0x40878b
mov eax, dword [ebx]
push 0x31113c
call dword [eax + 0x30]
cmp byte [edi + 0xd9], 0
je 0x4081cd
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 0x4081c4
cmp byte [edi + 0xe5], 0
jne 0x4081c4
cmp dword [edi + 0x90], 0
jne 0x408192
test al, 0x10
je 0x4081cd
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x34]
call fcn.004990ae
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x4081cd
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xda], 0
je 0x40823e
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 0x408235
cmp byte [edi + 0xe5], 0
jne 0x408235
cmp dword [edi + 0x90], 0
jne 0x408203
test al, 0x10
je 0x40823e
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x34]
call fcn.004990ae
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x40823e
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
cmp byte [edi + 0xdb], 0
je 0x40828b
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.004990ae
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 0x4083d4
cmp byte [0x5858d7], 0
mov eax, dword [0x585970]
je 0x408306
test eax, eax
je 0x4082d3
cmp eax, 0x13
je 0x4082d3
cmp eax, 0xa
je 0x4082c6
cmp eax, 0xe
je 0x4082c6
mov dword [esp + 0x9c], 0xfffffff0
jmp 0x4082de
mov dword [esp + 0x9c], 0xfffffff1
jmp 0x4082de
mov dword [esp + 0x9c], 0xffffffee
mov dword [esp + 0xac], 0x2bc
xor eax, eax
movzx ecx, word [eax + 0x523390]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x4082eb
jmp 0x4083a1
test eax, eax
je 0x408323
cmp eax, 0x13
je 0x408323
xor ecx, ecx
cmp eax, 0xe
sete cl
add ecx, 0xfffffff3
mov dword [esp + 0x9c], ecx
jmp 0x40832e
mov dword [esp + 0x9c], 0xfffffff0
push 0x523938
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push str.RESOURCESTRING
mov dword [esp + 0xb8], 0x258
call fcn.004024df
push ecx
mov byte [esp + 0x17c], 0xa
mov ecx, esp
mov dword [esp + 0x68], esp
push str.IDS_FONT_GREEN_BUTTONS_XP
call fcn.004024df
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x180], 7
call fcn.004068e2
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 0x408386
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.004027b0
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.004990ae
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 0x408439
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.004990ae
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 0x4084a6
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x34]
call fcn.004990ae
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
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 0x408496
cmp byte [edi + 0xe5], 0
je 0x40849f
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 2
jmp 0x40875b
cmp byte [edi + 0xdf], 0
je 0x408513
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x34]
call fcn.004990ae
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push 0xcffc
mov ecx, ebx
call dword [eax + 0x30]
sub dword [esp + 0x20], 0xf
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x408503
cmp byte [edi + 0xe5], 0
je 0x40850c
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
push 1
jmp 0x40875b
cmp byte [edi + 0xd6], 0
je 0x4085ca
add dword [esp + 0x9c], 2
xor eax, eax
movzx ecx, word [eax + 0x525aa8]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x40852a
cmp dword [0x585970], 0
je 0x40856c
mov dword [esp + 0xac], 0x190
xor eax, eax
movzx ecx, word [eax + 0x525350]
mov word [esp + eax + 0xb8], cx
inc eax
inc eax
test cx, cx
jne 0x408556
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
mov byte [esp + 0xb1], 1
jne 0x408587
cmp byte [edi + 0xe5], 0
je 0x40858f
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 + 0x34]
call fcn.004990ae
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
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 0x40875b
cmp byte [edi + 0xe0], 0
je 0x40861e
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xb5], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x34]
call fcn.004990ae
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
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]
add dword [esp + 0x1c], 0xa
add dword [esp + 0x18], 0x23
jmp 0x4084f0
cmp byte [edi + 0xdd], 0
je 0x4086d2
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 0x523938
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.RESOURCESTRING
call fcn.004024df
push ecx
mov byte [esp + 0x17c], 0xb
mov ecx, esp
mov dword [esp + 0x98], esp
push str.IDS_NOT_INSTALLED
call fcn.004024df
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x180], 7
call fcn.004068e2
mov eax, dword [esp + 0x38]
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 + 0x38]
add ecx, 0xfffffff0
call fcn.004027b0
jmp 0x408778
cmp byte [edi + 0xde], 0
je 0x4088a9
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x4086f2
cmp byte [edi + 0xe5], 0
je 0x4086fc
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 0x408720
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 0x4087a8
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.00499106
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], esi
call fcn.00402987
mov byte [esp + 0x170], 5
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
call fcn.00402987
mov byte [esp + 0x170], 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], esi
call fcn.00402987
mov byte [esp + 0x170], 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
call fcn.00402987
mov byte [esp + 0x170], 2
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call fcn.00402987
mov byte [esp + 0x170], 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], esi
call fcn.00402987
mov byte [esp + 0x170], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], esi
call fcn.00402987
xor esi, esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x408868
mov esi, dword [eax + 4]
push esi
push dword [esp + 0x44]
call fcn.0049913d
or dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00498e5b
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.004b96ff
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xe2], 0
je 0x408759
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 [0x585970], 0
je 0x40892f
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.004990ae
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 0x40892f
and dword [esp + 0x1c], 0
cmp dword [edi + 0x90], 0
jne 0x408942
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 0x10
je 0x408972
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.004990ae
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 0x408985
cmp byte [edi + 0xe5], 0
je 0x40898e
add dword [esp + 0x18], 2
inc dword [esp + 0x1c]
mov eax, dword [0x585970]
test eax, eax
je 0x4089a0
cmp eax, 0x13
je 0x4089a0
push 0x14
jmp 0x4089a2
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.00408cd7
jmp 0x408778