Function at 0x4146f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
push edi
xor esi, esi
mov dword [ebp - 0x78], eax
mov eax, dword [eax]
push esi
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebx + 0x160]
push eax
lea edi, [ecx + 0x14]
push ebx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x68], esi
call fcn.004196e0
add esp, 0xc
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x414782
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx]
add ecx, 0x50
call fcn.00419a80
test eax, eax
je 0x4147ea
push 0x18
push eax
push ebx
call fcn.004196e0
add esp, 0xc
mov dword [ebp - 0x70], eax
test eax, eax
je 0x4147ea
cmp byte [ebx + 0xe8], 0
je 0x414782
push eax
push ebx
call fcn.00418aa0
add esp, 8
test eax, eax
je 0x4147ea
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebx + 0x184]
mov ecx, dword [ebx + 0x178]
push eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x48]
push ecx
push edx
push eax
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x178]
mov edi, eax
lea eax, [edi + edx]
add esp, 0x10
cmp eax, ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], ecx
jle 0x41481d
mov ecx, dword [ebx + 0x10]
add eax, 0x10
mov dword [ebx + 0x178], eax
shl eax, 4
push eax
mov eax, dword [ebx + 0x184]
push eax
call ecx
add esp, 8
test eax, eax
jne 0x414800
mov edx, dword [ebp - 0x5c]
mov dword [ebx + 0x178], edx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f7e0
mov esp, ebp
pop ebp
ret
cmp edi, dword [ebp - 0x5c]
mov dword [ebx + 0x184], eax
jle 0x41481d
push eax
mov eax, dword [ebp - 0x48]
push edi
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x24]
push eax
call ecx
add esp, 0x10
mov edi, dword [ebx + 0x184]
xor edx, edx
cmp dword [ebp - 0x64], edx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x44], edx
jle 0x4149ec
mov dword [ebp - 0x48], edx
jmp 0x414840
mov eax, dword [ebx + 0x184]
add eax, dword [ebp - 0x48]
mov edi, dword [eax]
mov eax, dword [ebp - 0x58]
mov edx, edi
push edx
push eax
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebp - 0x58]
add eax, edi
push eax
push edi
push ecx
push ebx
call fcn.00418b80
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x4147ea
mov eax, dword [edi]
cmp byte [eax - 1], 0
jne 0x414a1e
mov byte [eax - 1], 1
mov edx, dword [edi]
mov eax, dword [ebp - 0x54]
mov dword [eax + esi*4], edx
mov ecx, dword [ebx + 0x184]
mov edx, dword [ebp - 0x48]
inc esi
add ecx, edx
cmp byte [ecx + 0xc], 0
mov dword [ebp - 0x50], esi
jne 0x41492b
cmp byte [edi + 8], 0
mov byte [ebp - 0x74], 1
je 0x4148e7
xor edx, edx
cmp dword [ebp - 0x60], edx
jle 0x4148e7
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x50], eax
jmp 0x4148c5
mov edx, dword [ebp - 0x5c]
cmp edi, dword [eax]
je 0x4148da
inc edx
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x60]
add eax, 0xc
cmp dword [ebp - 0x5c], edx
jl 0x4148c2
jmp 0x4148e7
lea eax, [edx + edx*2]
mov edx, dword [ebp - 0x50]
mov al, byte [edx + eax*4 + 4]
mov byte [ebp - 0x74], al
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea edx, [ebx + 0x19c]
push edx
mov edx, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x58]
push edx
push eax
mov eax, dword [ebp + 0x14]
push ebx
call fcn.00417ca0
add esp, 0x14
test eax, eax
jne 0x415088
mov ecx, dword [ebx + 0x1ac]
mov edx, dword [ebp - 0x54]
mov dword [edx + esi*4], ecx
mov eax, dword [ebx + 0x1a8]
mov dword [ebx + 0x1ac], eax
jmp 0x414995
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov edi, dword [ebp - 0x58]
push edx
lea eax, [ebx + 0x19c]
push ecx
call fcn.00419a10
add esp, 8
test eax, eax
je 0x414978
mov ecx, dword [ebx + 0x1a8]
cmp ecx, dword [ebx + 0x1a4]
lea esi, [ebx + 0x19c]
jne 0x414969
call fcn.00419b30
test al, al
jne 0x414969
xor eax, eax
jmp 0x414975
mov edx, dword [esi + 0xc]
mov byte [edx], 0
inc dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov dword [ecx + esi*4], eax
test eax, eax
je 0x4147ea
mov edx, dword [ebx + 0x1a8]
mov edi, dword [ebp - 0x5c]
mov dword [ebx + 0x1ac], edx
mov eax, dword [edi + 4]
test eax, eax
je 0x4149cf
cmp byte [edi + 9], 0
je 0x4149c3
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x54]
push ecx
mov ecx, dword [edx + esi*4]
push ecx
push edi
push eax
push ebx
call fcn.004150a0
add esp, 0x14
test eax, eax
jne 0x415088
dec esi
jmp 0x4149d0
mov edx, dword [edi]
inc esi
inc dword [ebp - 0x68]
mov byte [edx - 1], 2
jmp 0x4149d0
inc esi
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x48], 0x10
inc eax
cmp eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], eax
jl 0x414840
mov edi, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x17c], esi
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x414a5c
mov eax, dword [ecx]
cmp byte [eax - 1], 0
je 0x414a5c
xor eax, eax
cmp esi, edx
jle 0x414a66
mov ecx, dword [ecx]
lea esp, [esp]
cmp dword [edi + eax*4], ecx
je 0x414a54
add eax, 2
cmp eax, esi
jl 0x414a10
jmp 0x414a66
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebx + 0x90]
jne 0x414a3e
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebx + 0x184]
shl eax, 4
mov edx, dword [eax + ecx]
mov dword [ebx + 0x11c], edx
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f7e0
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x180], eax
jmp 0x414a66
mov dword [ebx + 0x180], 0xffffffff
cmp dword [ebp - 0x60], edx
mov dword [ebp - 0x44], edx
jle 0x414ad6
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + 0x14]
add eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx]
cmp byte [edx - 1], 0
jne 0x414ac1
mov edi, dword [eax + 8]
mov dword [ebp - 0x64], edi
test edi, edi
je 0x414abe
mov edi, dword [ecx + 4]
test edi, edi
je 0x414b99
cmp byte [ecx + 9], 0
je 0x414b7b
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x64]
push edx
push eax
push ecx
push edi
push ebx
call fcn.004150a0
add esp, 0x14
test eax, eax
jne 0x415088
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x48], 0xc
inc eax
cmp eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
jl 0x414a71
mov dword [ebp - 0x50], esi
xor edx, edx
mov dword [edi + esi*4], edx
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x68], edx
je 0x414edd
mov al, byte [ebx + 0x190]
mov edi, dword [ebp - 0x68]
mov edx, dword [ebx + 0x18c]
movzx ecx, al
add edi, edi
mov esi, 1
shl esi, cl
sar edi, cl
mov byte [ebp - 0x49], al
mov dword [ebp - 0x48], esi
test edi, edi
je 0x414ba7
mov cl, al
mov eax, dword [ebp - 0x68]
mov edx, eax
sar edx, cl
inc cl
test edx, edx
jne 0x414b15
mov byte [ebx + 0x190], cl
cmp cl, 3
jae 0x414b31
mov byte [ebx + 0x190], 3
mov cl, byte [ebx + 0x190]
mov edx, dword [ebx + 0x10]
mov esi, 1
shl esi, cl
mov ecx, dword [ebx + 0x188]
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
push eax
push ecx
mov dword [ebp - 0x48], esi
call edx
add esp, 8
test eax, eax
jne 0x414b9f
mov al, byte [ebp - 0x49]
mov byte [ebx + 0x190], al
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f7e0
mov esp, ebp
pop ebp
ret
inc dword [ebp - 0x68]
mov byte [edx - 1], 2
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edi, dword [ebp - 0x54]
mov dword [edi + esi*4], edx
mov eax, dword [eax + 8]
inc esi
mov dword [edi + esi*4], eax
inc esi
jmp 0x414ac1
mov byte [edx - 1], 1
jmp 0x414b82
mov dword [ebx + 0x188], eax
jmp 0x414bab
test edx, edx
jne 0x414bd5
or edx, 0xffffffff
mov eax, esi
test esi, esi
je 0x414bd5
lea esi, [esi + esi*2]
add esi, esi
add esi, esi
jmp 0x414bc0
mov ecx, dword [ebx + 0x188]
dec eax
sub esi, 0xc
mov dword [esi + ecx], 0xffffffff
test eax, eax
jne 0x414bc0
dec edx
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x58], edx
mov dword [ebx + 0x18c], edx
jle 0x414efe
lea esp, [esp]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx + eax*4]
cmp byte [edx - 1], 2
mov dword [ebp - 0x60], edx
jne 0x414f4a
mov ecx, dword [ebx + 0x1d8]
test ecx, ecx
je 0x414c17
call fcn.00412a60
jmp 0x414c1d
mov eax, dword [ebx + 0x1ec]
mov esi, eax
xor ecx, ecx
xor esi, 0x6e646f6d
mov edi, ecx
mov dword [ebp - 0x38], esi
xor esi, esi
xor edi, 0x646f7261
xor ecx, 0x74656462
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x6c]
push esi
mov dword [ebp - 0x24], ecx
push edx
xor eax, 0x79746573
lea ecx, [ebp - 0x20]
add edi, 0x28
push ebx
mov dword [ebp - 0x40], 0x70736575
mov dword [ebp - 0x3c], 0x736f6d65
mov dword [ebp - 0x30], 0x6e657261
mov dword [ebp - 0x2c], 0x6c796765
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov byte [edx - 1], 0
call fcn.004196e0
add esp, 0xc
cmp eax, esi
je 0x4147ea
mov eax, dword [eax + 4]
cmp eax, esi
je 0x4147ea
mov ecx, dword [eax + 4]
mov dword [ebp - 0x64], ecx
cmp ecx, esi
je 0x414f62
xor edi, edi
cmp dword [ecx + 0x14], esi
jle 0x414cf4
lea ecx, [ecx]
mov edx, dword [ecx + 0x10]
mov al, byte [edi + edx]
mov edx, dword [ebx + 0x1a8]
mov byte [ebp - 0x49], al
cmp edx, dword [ebx + 0x1a4]
jne 0x414cdd
lea esi, [ebx + 0x19c]
call fcn.00419b30
test al, al
je 0x4147ea
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x1a8]
mov dl, byte [ebp - 0x49]
mov byte [eax], dl
inc dword [ebx + 0x1a8]
inc edi
cmp edi, dword [ecx + 0x14]
jl 0x414cb0
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
lea esi, [ebp - 0x40]
call fcn.004126a0
mov edi, dword [ebp - 0x60]
mov al, byte [edi]
inc edi
cmp al, 0x3a
jne 0x414d05
xor eax, eax
cmp byte [edi], al
je 0x414d19
inc eax
cmp byte [eax + edi], 0
jne 0x414d12
mov ecx, edi
lea esi, [ebp - 0x40]
call fcn.004126a0
jmp 0x414d30
mov ecx, dword [ebx + 0x1a8]
cmp ecx, dword [ebx + 0x1a4]
jne 0x414d51
lea esi, [ebx + 0x19c]
call fcn.00419b30
test al, al
je 0x4147ea
mov al, byte [edi]
mov edx, dword [ebx + 0x1a8]
mov byte [edx], al
inc dword [ebx + 0x1a8]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x414d30
lea edx, [ebp - 0x40]
push edx
call fcn.004127a0
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebx + 0x188]
dec edi
and edi, eax
mov dword [ebp - 0x5c], eax
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
mov ecx, dword [eax + ecx]
add esp, 4
xor dl, dl
cmp ecx, dword [ebp - 0x58]
jne 0x414e29
jmp 0x414da0
mov esi, dword [ebx + 0x188]
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax + esi + 4]
jne 0x414ddb
mov ecx, dword [ebx + 0x1ac]
mov esi, dword [eax + esi + 8]
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x414dd2
sub esi, ecx
test al, al
je 0x414a3e
mov al, byte [ecx + 1]
inc ecx
cmp al, byte [esi + ecx]
je 0x414dc1
cmp byte [ecx], 0
je 0x414a3e
test dl, dl
jne 0x414dfe
mov esi, dword [ebp - 0x48]
movzx ecx, byte [ebx + 0x190]
dec esi
mov edx, esi
not edx
and edx, dword [ebp - 0x5c]
dec ecx
shr edx, cl
mov eax, esi
shr eax, 2
and dl, al
or dl, 1
movzx eax, dl
cmp edi, eax
jge 0x414e0e
mov ecx, dword [ebp - 0x48]
sub ecx, eax
add edi, ecx
jmp 0x414e10
sub edi, eax
mov ecx, dword [ebx + 0x188]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
mov ecx, dword [eax + ecx]
cmp ecx, dword [ebp - 0x58]
je 0x414da0
cmp byte [ebx + 0xe9], 0
je 0x414e8e
mov eax, dword [ebx + 0x1a8]
mov dl, byte [ebx + 0x1d4]
mov byte [eax - 1], dl
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
jmp 0x414e50
mov edx, dword [ebx + 0x1a8]
cmp edx, dword [ebx + 0x1a4]
jne 0x414e74
lea esi, [ebx + 0x19c]
call fcn.00419b30
test al, al
je 0x4147ea
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x1a8]
mov dl, byte [eax]
mov byte [ecx], dl
inc dword [ebx + 0x1a8]
mov cl, byte [eax]
inc eax
mov dword [ebp - 0x60], eax
test cl, cl
jne 0x414e50
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [ebx + 0x1ac]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov dword [ebx + 0x1ac], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + eax*4], ecx
mov edx, dword [ebx + 0x188]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
sub dword [ebp - 0x68], 1
mov dword [eax + edx], esi
mov edx, dword [ebx + 0x188]
mov esi, dword [ebp - 0x5c]
mov dword [eax + edx + 4], esi
mov edx, dword [ebx + 0x188]
mov dword [eax + edx + 8], ecx
jne 0x414f4e
add dword [ebp - 0x44], 2
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jge 0x414efe
mov edx, dword [ebp - 0x54]
lea ebx, [ebx]
mov esi, dword [edx + eax*4]
add eax, 2
cmp eax, ecx
mov byte [esi - 1], 0
jl 0x414ef0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x414f17
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov byte [edx - 1], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x414f07
cmp byte [ebx + 0xe8], 0
je 0x415086
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
test eax, eax
je 0x414f78
mov esi, dword [eax + 4]
test esi, esi
je 0x414f62
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
cmp dl, 0x3a
jne 0x414f40
jmp 0x414f8e
mov byte [edx - 1], 0
mov eax, dword [ebp - 0x44]
add eax, 2
cmp eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
jl 0x414bf0
jmp 0x414efe
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f7e0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 0x9c]
test esi, esi
je 0x415086
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
xor edi, edi
cmp byte [ebx + 0xe9], 0
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], edi
je 0x414fb8
mov edx, dword [esi]
cmp dword [edx], edi
je 0x414fb8
mov edx, dword [edx]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x74]
mov dl, byte [edx + edi]
inc edi
test dl, dl
jne 0x414faa
mov dword [ebp - 0x6c], edi
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [esi]
mov edx, dword [edx]
mov dword [eax + 8], edx
mov dword [eax + 0x14], edi
xor eax, eax
lea ecx, [ecx]
mov dl, byte [ecx + eax]
inc eax
test dl, dl
jne 0x414fd0
mov dword [ebp - 0x44], eax
add eax, edi
add eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jle 0x415040
add eax, 0x18
mov dword [ebp - 0x74], eax
push eax
mov eax, dword [ebx + 0xc]
call eax
mov edi, eax
add esp, 4
test edi, edi
je 0x4147ea
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x74]
push edx
push eax
push edi
mov dword [esi + 0x18], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x168]
add esp, 0xc
test eax, eax
je 0x415031
nop
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esi + 0x10]
jne 0x41502b
mov dword [eax + 0xc], edi
mov eax, dword [eax]
test eax, eax
jne 0x415020
mov edx, dword [esi + 0x10]
mov eax, dword [ebx + 0x14]
push edx
call eax
add esp, 4
mov dword [esi + 0x10], edi
mov ecx, dword [ebp - 0x44]
mov edi, dword [esi + 0x14]
mov edx, dword [ebp - 0x64]
add edi, dword [esi + 0x10]
push ecx
push edx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x6c], 0
je 0x41507e
mov cl, byte [ebx + 0x1d4]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x6c]
mov byte [edi + eax - 1], cl
mov ecx, dword [esi]
push edx
mov edx, dword [ecx]
push edx
add edi, eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f7e0
mov esp, ebp
pop ebp
ret