Function at 0x435060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x651f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.00434e00
mov ecx, dword [ebx + 0x6c]
mov esi, eax
call fcn.00433da0
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xf0]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ecx
jne 0x43513d
cmp ecx, edi
jle 0x435237
mov ebp, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
imul eax, edi
add eax, edx
mov eax, dword [eax]
test eax, eax
je 0x4350dd
add eax, 0xc
jmp 0x4350e2
mov eax, 0x73d670
push eax
lea ecx, [esp + 0x1c]
call fcn.00623a41
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
mov edx, dword [eax - 8]
push edx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x435116
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x435126
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
call fcn.006239d3
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4350c7
jmp 0x435233
cmp eax, 1
jne 0x435237
xor ebx, ebx
push 0x73d670
lea ecx, [esp + 0x44]
mov ebp, 1
call fcn.00623a41
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], 0
lea edi, [eax - 1]
test edi, edi
jl 0x435222
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x14]
imul ecx, edi
add ecx, eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00498a90
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 1
test eax, eax
je 0x435199
mov ecx, dword [eax + 4]
jmp 0x43519b
xor ecx, ecx
cmp ebx, ecx
jge 0x4351b8
test eax, eax
je 0x4351aa
movsx eax, byte [eax + ebx + 0xc]
jmp 0x4351ac
xor eax, eax
push eax
lea ecx, [esp + 0x44]
call fcn.00623dd6
xor ebp, ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.00498970
dec edi
jns 0x435172
test ebp, ebp
jne 0x435222
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
lea edi, [esp + 0x28]
inc ebx
mov eax, dword [edx]
mov edx, dword [ecx - 8]
push edi
push edx
mov eax, dword [eax + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x4351fc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x43520c
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.006239d3
jmp 0x435148
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.006239d3
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0xc0], eax
imul eax, ecx
mov dword [ebx + 0xc8], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0xc4], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov eax, 1
push esi
mov ecx, ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
call fcn.004352a0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x6c]
push edx
call fcn.00433de0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4