Function at 0x4058b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431898
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x43ec2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CControlDatFile_:_UpdateAppInfoArray_r_n
push 0x442e1c
call fcn.004013e0
add esp, 8
push 0x4372b0
lea ecx, [ebp - 0x30]
call fcn.00401bf0
xor esi, esi
push 0x4372e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401bf0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
mov eax, dword [eax + 8]
cmp eax, esi
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], esi
jle 0x405f9b
lea ebx, [ebx]
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp eax, edi
jl 0x406002
mov esi, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
jge 0x406002
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
add ecx, ecx
add ecx, ecx
add eax, ecx
cmp dword [ebp - 0x20], edi
mov dword [ebp - 0x14], ecx
mov dword [eax + 0x20], 1
mov dword [ebp - 0x18], edi
jle 0x405b16
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jl 0x406002
cmp edi, dword [ebx + 0x18]
jge 0x406002
mov eax, dword [ebx + 0x14]
add eax, ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [esi + 8]
mov eax, dword [eax]
jge 0x406002
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
setne dl
test edx, edx
je 0x405ff8
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00418d73
mov edx, dword [ebp - 0x10]
add esp, 8
test eax, eax
je 0x405a56
mov esi, dword [ebp + 0xc]
cmp edx, dword [esi + 8]
jge 0x406002
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
lea edx, [eax + ecx]
mov eax, dword [edx + 0x10]
cmp dword [eax - 0xc], 0
je 0x405a40
cmp edi, dword [ebx + 0x18]
jge 0x406002
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [eax + 4]
test eax, eax
setne cl
test ecx, ecx
je 0x405ff8
mov edx, dword [edx + 0x10]
push eax
push edx
call fcn.00418d73
add esp, 8
test eax, eax
jne 0x405a40
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [esi + 8]
jge 0x406002
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + 0x20], ecx
cmp edi, dword [ebx + 0x18]
jge 0x406002
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
add dword [ebp - 0x1c], 0x18
inc edi
cmp edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
jl 0x405971
jmp 0x405b13
mov eax, dword [ebp + 0xc]
cmp edx, dword [eax + 8]
jge 0x406002
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x18]
jge 0x406002
mov ecx, dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebx + 0x14]
lea edi, [edi + edi*2]
add edi, edi
add edi, edi
add edi, edi
add eax, edi
mov esi, dword [eax + 4]
lea edx, [eax + 4]
lea eax, [ecx - 0x10]
sub esi, 0x10
mov dword [ebp - 0x1c], edx
cmp eax, esi
je 0x405ae5
cmp dword [esi + 0xc], 0
jl 0x405ad8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x405ad8
push eax
call fcn.00401610
mov dword [ebp - 0x28], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405acb
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x405ae5
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00401af0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jge 0x406002
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp edx, dword [ebx + 0x18]
jge 0x406002
mov ebx, dword [ebx + 0x14]
mov eax, dword [eax + 4]
add ebx, edi
mov dword [ebx + 0xc], eax
mov edi, edx
cmp dword [ebp - 0x20], edi
jne 0x405f8b
call fcn.0040d18b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405ff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x48], ebx
call fcn.0040d18b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405ff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
call fcn.0040d18b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405ff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp ecx, dword [eax + 8]
jge 0x406002
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x14]
add ebx, 0xfffffff0
mov eax, dword [eax]
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x405c48
cmp dword [ebx + 0xc], 0
jl 0x405c3b
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x405c3b
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405bdf
cmp eax, dword [esi]
jne 0x405bdf
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x405c1a
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x406007
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405c33
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [ebp - 0x48], edi
jmp 0x405c48
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401af0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x40]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x405cf6
cmp dword [ebx + 0xc], 0
jl 0x405ce9
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x405ce9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405c8d
cmp eax, dword [esi]
jne 0x405c8d
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x405cc8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edx, dword [ebp - 0x75]
push ebp
mov ebp, esp
add byte [esi + 0x57], dl
and al, 0xc
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], pe_nt_image_headers32
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00405d2b
push esp
xchg esp, eax
adc dword [ebp + 0x50a8458d], edx
call fcn.00405d3b
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00405cf0
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
inc ebp
scasb al, byte es:[edi]
rol esi, cl
inc ebp
scasd eax, dword es:[edi]
hlt
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
invalid
je 0x406019
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec