Function at 0x42d820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x10]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x50]
lea eax, [edi + 0x178]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
xor ebx, ebx
push ebx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, ecx
push 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
lea ecx, [edi + 0x110]
push eax
push ecx
push esi
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0x19
call fcn.004ae619
mov eax, dword [edi + 0x120]
add esp, 0x10
cmp eax, 1
jne 0x42d967
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x50]
push 0x4d2f04
push edx
mov dword [esp + 0x50], ebx
call sub.MFC42.DLL_CString::Format
lea eax, [esp + 0x38]
push 1
lea ecx, [esp + 0x5c]
push eax
mov ebx, 0x3b
push ecx
push esi
mov dword [esp + 0x48], 5
mov dword [esp + 0x4c], 0x25
mov dword [esp + 0x50], 0x78
mov dword [esp + 0x54], ebx
call fcn.004ae619
mov edx, dword [edi + 0x118]
add esp, 0x18
lea eax, [esp + 0x50]
push edx
push 0x4ce990
push eax
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x3c]
push 1
lea edx, [esp + 0x60]
push ecx
push edx
push esi
mov dword [esp + 0x4c], 0x82
mov dword [esp + 0x50], 0x25
mov dword [esp + 0x54], 0xe6
mov dword [esp + 0x58], ebx
call fcn.004ae619
add esp, 0x1c
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.004ac05e
mov eax, dword [edi + 0x10c]
test eax, eax
jle 0x42d9e8
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x10c]
lea ecx, [esp + 0x50]
push eax
push 0x4ce98c
push ecx
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
lea edx, [eax - 0x28]
sub ecx, ebx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x3c]
push 5
lea eax, [esp + 0x60]
push edx
lea ebx, [ecx - 0x1e]
push eax
push esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
call fcn.004ae619
add esp, 0x1c
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.004ac05e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov ebx, 0x14
add edx, 0x2f
add eax, ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x120]
sub ecx, 0x23
sub edx, ebx
sub eax, 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
je 0x42db70
dec eax
jne 0x42dbd7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 8
push 0x820
add ecx, eax
add edx, eax
mov eax, dword [edi + 0x124]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x128]
add edx, ebx
lea ecx, [esp + 0x10]
push 0x820
mov dword [esp + 0x18], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x12c]
add edx, ebx
lea ecx, [esp + 0x10]
push 0x820
mov dword [esp + 0x18], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, 0x78
sub edx, 0x28
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x134]
lea ecx, [esp + 0x10]
push 0x821
mov dword [esp + 0x18], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x138]
add edx, ebx
lea ecx, [esp + 0x10]
push 0x821
mov dword [esp + 0x18], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x13c]
add edx, ebx
lea ecx, [esp + 0x10]
push 0x821
mov dword [esp + 0x18], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [edi + 0x11c]
mov eax, dword [edx - 8]
test eax, eax
je 0x42dbd7
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 0x11c]
sub edx, 0x82
add ecx, 0xc
add eax, 0x18
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
push 0x821
jmp 0x42dbc8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x114]
lea ecx, [esp + 0x20]
push 0x414
mov dword [esp + 0x2c], edx
mov edx, dword [esi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edi, dword [edi + 0x114]
mov eax, dword [esi]
sub edx, ecx
cmp edx, 0xf
jge 0x42dbc7
push 0x15
jmp 0x42dbc8
push ebx
mov edx, dword [edi - 8]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
mov ecx, esi
call dword [eax + 0x70]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4