Function at 0x412160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455300
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x60]
xor ebp, ebp
push str.ColumnCount
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esi + 0x60], ebp
call fcn.00403e30
mov edi, dword [esp + 0x60]
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
push ebp
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0x60], ebp
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x101f
push ecx
call ebx
cmp eax, ebp
jne 0x412201
xor eax, eax
jmp 0x412207
push eax
call fcn.00421332
mov edx, dword [eax + 0x20]
push ebp
push ebp
push 0x1200
push edx
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jge 0x412224
call dword [sym.imp.KERNEL32.dll_DebugBreak]
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a5b5
add esp, 4
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00426e5d
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb
push eax
call ebx
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
mov ebx, ebp
mov dword [esp + 0x18], eax
jns 0x412314
lea edi, [ebp - 1]
test edi, edi
jl 0x4122c0
mov edx, dword [esi]
mov eax, dword [edx + 0x160]
push edi
mov ecx, esi
call eax
test al, al
je 0x4122bb
cmp ebx, ebp
mov eax, ebx
jge 0x4122a0
lea esp, [esp]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax*4], edi
je 0x4122bb
add eax, 1
cmp eax, ebp
jl 0x412290
mov edx, dword [esi]
mov eax, dword [edx + 0x178]
push edi
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
sub ebx, 1
mov byte [eax + 4], 1
mov dword [ecx + ebx*4], edi
sub edi, 1
jns 0x412272
cmp ebx, ebp
jge 0x4124d2
test ebx, ebx
jle 0x4124c5
add ebp, 0xffffffff
test ebp, ebp
jl 0x41246c
jmp 0x4122e0
mov ecx, dword [esp + 0x20]
cmp ebx, ecx
mov eax, ebx
jge 0x41246c
mov edi, edi
mov edx, dword [esp + 0x14]
cmp dword [edx + eax*4], ebp
je 0x412463
add eax, 1
cmp eax, ecx
jl 0x4122f0
jmp 0x41246c
mov edi, dword [esp + 0x60]
call fcn.00425e9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x412459
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push 0x45a8c0
push edx
mov dword [esp + 0x64], 1
call fcn.00411810
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
add esp, 0xc
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call edx
xor edi, edi
test ebp, ebp
mov dword [esp + 0x28], eax
jle 0x412421
cmp ebx, ebp
mov eax, ebx
jge 0x412390
jmp 0x412380
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax*4], edi
je 0x4123e6
add eax, 1
cmp eax, ebp
jl 0x412380
xor eax, eax
lea edx, [esp + 0x30]
push edx
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x20]
push 0x1019
push eax
mov dword [esp + 0x40], 8
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x44]
jne 0x4123e6
mov edx, dword [esi]
mov eax, dword [edx + 0x164]
push edi
mov ecx, esi
call eax
test al, al
je 0x4123ef
add edi, 1
cmp edi, ebp
jl 0x412375
jmp 0x412421
mov edx, dword [esi]
mov eax, dword [edx + 0x178]
push edi
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov byte [eax + 4], 1
mov eax, dword [esp + 0x60]
mov edx, dword [esi]
mov edx, dword [edx + 0x19c]
push eax
push edi
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
sub ebx, 1
mov dword [eax + ebx*4], edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412449
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub dword [esp + 0x18], 1
jns 0x412310
jmp 0x41226b
push 0x80004005
call fcn.00401790
sub ebp, 1
jns 0x4122e0
mov eax, dword [esi]
mov edx, dword [eax + 0x178]
push ebp
mov ecx, esi
call edx
mov edi, eax
push 0
push ebp
add edi, 4
mov dword [edi + 8], 0xffffffff
mov eax, dword [esi + 0x20]
push 0x101d
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebp
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x20]
push 0x101e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x14]
sub ebx, 1
test ebx, ebx
mov byte [edi], 0
mov dword [edx + ebx*4], ebp
mov ebp, dword [esp + 0x20]
jg 0x4122d0
mov eax, dword [esp + 0x14]
push eax
push ebp
mov ecx, esi
call fcn.00426dd3
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041a5ba
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
add esp, 4
push 0
push 1
push 0xb
push eax
mov dword [esi + 0x60], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4