Function at 0x422e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44abc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
lea ecx, [esi + 0xb4]
lea eax, [esi + 0x1c]
push ecx
call fcn.0041f9c0
mov edx, dword [esi + 0x1ac]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x1a4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x45fb34]
mov eax, dword [edx + 0xc]
mov ecx, 0x45fb34
call eax
xor ebx, ebx
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebx
xor edi, edi
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0xa8]
cmp eax, ebx
mov dword [esp + 0x14], edi
je 0x4230e5
mov ecx, dword [esi + 0xac]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4230e5
mov eax, dword [esi + 0xa8]
cmp eax, ebx
je 0x422f82
mov ecx, dword [esi + 0xac]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x422f87
call fcn.00434d0f
mov ebx, dword [esi + 0xa8]
add ebx, dword [esp + 0x18]
cmp dword [ebx + 0x20], 0
je 0x4230d6
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebp + 8]
call fcn.0042e410
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebx + 0x10], edx
mov edx, dword [ecx + 4]
lea edi, [ebx + 0x10]
mov dword [edi + 4], edx
mov edx, dword [ecx + 8]
mov dword [edi + 8], edx
mov edx, dword [ecx + 0xc]
add esp, 4
add eax, 0x23
mov dword [edi + 0xc], edx
cmp dword [esi + 0x1d4], 0
je 0x422fef
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x10]
add edx, eax
mov dword [ebx + 0x14], edx
mov edx, dword [esi + 0x1d8]
add edx, dword [ecx + 4]
add edx, eax
mov dword [ebx + 0x1c], edx
jmp 0x423009
mov ecx, dword [esp + 0x10]
add eax, ecx
mov dword [ebx + 0x18], eax
sub eax, ecx
cmp eax, 0x50
mov dword [edi], ecx
jge 0x423009
mov eax, ecx
add eax, 0x50
mov dword [ebx + 0x18], eax
mov ecx, dword [esp + 0x14]
cmp dword [esi + 0xa0], ecx
mov edx, dword [ebp + 8]
push edx
jne 0x42307a
lea eax, [esi + 0x154]
push eax
mov eax, edi
call fcn.0041f9c0
mov ecx, dword [esi + 0x1bc]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 0x1c4]
push 0
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x25
call fcn.004209f0
mov edx, dword [esi + 0x1a4]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x1ac]
mov dword [esp + 0x24], ecx
jmp 0x4230a3
lea eax, [esi + 0x104]
push eax
mov eax, edi
call fcn.0041f9c0
mov ecx, dword [ebx + 8]
mov eax, dword [ebp + 8]
push 0
push ecx
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x25
call fcn.004209f0
cmp dword [esi + 0x1d4], 0
je 0x4230c9
mov ebx, dword [esi + 0x1d8]
mov edi, dword [esp + 0x14]
add dword [esp + 0x10], ebx
add dword [esp + 0x18], 0x24
add edi, 1
xor ebx, ebx
jmp 0x422f28
mov ebx, dword [ebx + 0x18]
sub ebx, dword [edi]
mov edi, dword [esp + 0x14]
add dword [esp + 0x10], ebx
add dword [esp + 0x18], 0x24
add edi, 1
xor ebx, ebx
jmp 0x422f28
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42310d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc