Function at 0x418864
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a668
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x484060]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x40]
call fcn.004184cf
and dword [esp + 0x90], 0
lea eax, [esp + 0x58]
call fcn.004185e4
mov byte [esp + 0x90], 1
mov eax, dword [0x4872ec]
mov esi, 0x4872ec
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x90], 2
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x90], 3
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x90], 4
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x90], 5
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x90], 6
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x90], 7
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x90], 8
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x90], 9
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x90], 0xa
mov eax, dword [0x4872ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov edi, dword [ebp + 0xc]
mov byte [esp + 0x90], 0xb
test edi, edi
je 0x4189d5
mov esi, dword [edi + 0x15c]
add esi, 0x3f4
lea eax, [esp + 0x40]
call fcn.004190a1
cmp dword [ebp + 0x10], 0
je 0x418e21
lea eax, [esp + 0x40]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontFace
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
mov esi, 0x473338
test eax, eax
je 0x418b1b
test edi, edi
je 0x418a3d
xor edi, edi
inc edi
mov ecx, edi
lea edx, [esp + 0x3c]
lea eax, [esp + 0x40]
call fcn.00401c1d
mov byte [esp + 0x90], 0xc
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.004014b1
test eax, eax
jne 0x418a3d
mov bl, 1
jmp 0x418a3f
xor bl, bl
mov dword [esp + 0x90], 0xb
test byte [esp + 0x10], 1
je 0x418a62
mov eax, dword [esp + 0x3c]
and dword [esp + 0x10], 0xfffffffe
add eax, 0xfffffff0
call fcn.004017b8
test bl, bl
je 0x418ab0
mov eax, dword [esp + 0x40]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0xc]
call fcn.00427ce1
lea edi, [esp + 0x40]
mov byte [esp + 0x90], 0xd
call fcn.00401470
mov byte [esp + 0x90], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [esp + 0x40]
push eax
mov ecx, str.DefaultGUIFont
call fcn.004014b1
test eax, eax
jne 0x418ada
lea eax, [esp + 0x3c]
push eax
xor ebx, ebx
call fcn.0041bb39
pop ecx
mov byte [esp + 0x90], 0xe
jmp 0x418afe
lea eax, [esp + 0x40]
push eax
mov ecx, str.SystemIconFont
call fcn.004014b1
test eax, eax
jne 0x418b1b
lea edi, [esp + 0x3c]
call fcn.0041bad6
mov byte [esp + 0x90], 0xf
lea edi, [esp + 0x40]
call fcn.00401470
mov byte [esp + 0x90], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [esp + 0x18]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontSize
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418bf1
cmp dword [ebp + 0xc], 0
je 0x418b75
xor ecx, ecx
inc ecx
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
call fcn.00401c1d
mov byte [esp + 0x90], 0x10
or dword [esp + 0x10], 2
push eax
mov ecx, esi
call fcn.004014b1
test eax, eax
jne 0x418b75
mov bl, 1
jmp 0x418b77
xor bl, bl
mov dword [esp + 0x90], 0xb
test byte [esp + 0x10], 2
je 0x418b95
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004017b8
test bl, bl
je 0x418be3
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0xc]
call fcn.00427ce1
lea edi, [esp + 0x18]
mov byte [esp + 0x90], 0x11
call fcn.00401470
mov byte [esp + 0x90], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004017b8
push dword [esp + 0x18]
call fcn.0044b6b6
fstp dword [esp + 0x48]
pop ecx
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontColor
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418c36
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
call fcn.0041da12
pop ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontColorDisabled
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418c7b
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
call fcn.0041da12
pop ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontColorHover
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418cc0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
call fcn.0041da12
pop ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontWeight
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418cfe
lea eax, [esp + 0x2c]
push eax
mov ecx, str.bold
call fcn.004014b1
test eax, eax
jne 0x418cfe
mov dword [esp + 0x48], 1
lea eax, [esp + 0x28]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontStyle
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418d3c
lea eax, [esp + 0x28]
push eax
mov ecx, str.italic
call fcn.004014b1
test eax, eax
jne 0x418d3c
mov dword [esp + 0x4c], 1
lea eax, [esp + 0x38]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.HtmlText
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
mov ebx, dword [esp + 0x38]
test eax, eax
je 0x418d81
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
call fcn.0041d97a
pop ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontUnderline
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418dc6
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
call fcn.0041d97a
pop ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.FontUnderlineHover
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418e0b
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
call fcn.0041d97a
pop ecx
mov dword [esp + 0x74], eax
cmp dword [esp + 0x50], 0
jne 0x418e19
cmp dword [esp + 0x74], 0
je 0x418e21
mov dword [esp + 0x7c], 1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x418e36
mov eax, dword [eax + 0x15c]
mov edi, dword [eax + 0x40c]
jmp 0x418e38
xor edi, edi
cmp dword [ebp + 0x10], 0
je 0x418f4d
lea eax, [esp + 0x34]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.TextFormat
push eax
call fcn.004021e4
push dword [ebp + 0x10]
call fcn.0041858b
test eax, eax
je 0x418f4d
mov esi, dword [esp + 0x34]
push edi
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x44], esp
mov eax, esi
lea edi, [esp + 0x74]
mov dword [esp + 0x44], esp
call fcn.004015e7
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
call fcn.0041864f
pop ecx
pop ecx
test eax, eax
jne 0x418f5c
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [ebx - 0x10]
call fcn.004017b8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, esi
call fcn.004017b8
xor esi, esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
test edi, edi
setne al
lea eax, [eax + eax + 0x24]
mov dword [esp + 0x6c], eax
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41903e
lea eax, [esp + 0x20]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.TextShadow
push eax
call fcn.004021e4
push esi
call fcn.0041858b
test eax, eax
je 0x418fa2
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
je 0x418fa2
lea eax, [esp + 0x20]
lea edi, [esp + 0x80]
call fcn.00401470
lea eax, [esp + 0x30]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.Text
push eax
call fcn.004021e4
push esi
call fcn.0041858b
cmp dword [ebp + 0xc], 0
je 0x41900f
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0xc]
call fcn.00427ce1
lea edi, [esp + 0x64]
mov byte [esp + 0x90], 0x12
call fcn.00401470
mov byte [esp + 0x90], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [esp + 0x24]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push str.TextDrawCount
push eax
call fcn.004021e4
push esi
call fcn.0041858b
test eax, eax
je 0x41903e
push dword [esp + 0x24]
call fcn.0044b0d0
pop ecx
mov dword [esp + 0x68], eax
push dword [ebp + 0x14]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004190cd
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [ebx - 0x10]
call fcn.004017b8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.004017b8
jmp 0x418edc