Function at 0x436f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7b6ace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
call fcn.00440510
mov al, byte [esp + 0x30]
xor esi, esi
mov dword [esp + 0x20], esi
mov byte [ebp + 0x18], al
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
mov cl, byte [esp + 0x30]
lea ebx, [ebp + 0x28]
mov byte [esp + 0x20], 1
mov byte [ebx], cl
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov byte [esp + 0x20], 2
mov dword [ebp], fcn.004406c0
cmp dword [0x87121c], esi
jne 0x437012
push esi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push 0x82b794
push 2
push 4
push esi
push esi
push 1
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [0x871218], eax
call dword [sym.imp.gdi32.dll_CreateFontA]
push 0x8b15c0
mov edi, eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp edi, esi
je 0x437007
mov edx, dword [0x871218]
push edi
push edx
call dword [sym.imp.gdi32.dll_SelectObject]
mov dword [0x871220], eax
push eax
mov eax, dword [0x871218]
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
push edi
call dword [sym.imp.gdi32.dll_DeleteObject]
push 0x8b15c0
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [0x87121c]
mov edi, 0x82b78c
inc eax
or ecx, 0xffffffff
mov dword [0x87121c], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x18], edi
call fcn.00401b40
test al, al
je 0x437069
mov eax, dword [ebx + 4]
mov ecx, edi
mov edx, ecx
mov esi, 0x82b78c
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
xor esi, esi
mov byte [ebx], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], ecx
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x60], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x4370a4
call fcn.007a02eb
mov ecx, dword [ebp + 0x1c]
lea edi, [ebp + 0x18]
cmp ecx, esi
je 0x4370cc
mov al, byte [ecx - 1]
test al, al
je 0x4370cc
cmp al, 0xff
je 0x4370cc
cmp ebx, esi
jne 0x4370f0
dec al
push esi
mov byte [ecx - 1], al
mov ecx, edi
call fcn.00404e60
jmp 0x43711d
cmp ebx, esi
jne 0x4370db
push 1
mov ecx, edi
call fcn.00404e60
jmp 0x43711d
mov eax, dword [edi + 0xc]
cmp eax, 0x1f
ja 0x4370e7
cmp eax, ebx
jae 0x4370f8
push 1
mov ecx, edi
call fcn.00404e60
push ebx
mov ecx, edi
call fcn.00401c60
mov edi, dword [edi + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x20], ebx
add eax, ebx
xor esi, esi
mov byte [eax], 0
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
not eax
shr eax, 3
and eax, 1
mov dword [ebp + 0x58], esi
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x6c], 0x3f800000
mov dword [ebp + 0x74], esi
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x7c], esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc