Function at 0x415790
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x4157b0
sar eax, 1
mov ebx, dword [edi + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4157d0
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x4157ee
mov eax, 0xffffffff
jmp 0x4157f7
add eax, ecx
lea eax, [eax*2 + 0x36]
push eax
call fcn.004095a0
add esp, 4
mov esi, eax
mov dword [esp + 8], 0xf520964
mov dword [esp + 0xc], 0x3650d7f
mov dword [esp + 0x10], 0x77a0161
mov dword [esp + 0x14], 0x1b5f0524
mov dword [esp + 0x18], 0x1f6a1990
mov dword [esp + 0x1c], 0x13601d79
mov dword [esp + 0x20], 0x176f1167
mov dword [esp + 0x24], 0x2b581567
mov dword [esp + 0x28], 0x2f792908
mov dword [esp + 0x2c], 0x23562d49
mov dword [esp + 0x30], 0x275f2154
mov dword [esp + 0x34], 0x3b412556
mov dword [esp + 0x38], 0x3f52394f
mov word [esp + 0x3c], 0x3d3c
mov dword [esp + 0x3e], 0
mov byte [esp + 0x42], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x3a
ja 0x4158be
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xbc6d7b82
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x76
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x3b
jb 0x415890
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x4158e1
add ecx, 2
mov eax, esi
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4158d0
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x415911
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415900
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x415941
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x415930
mov word [eax], 0
mov ebp, dword [ebp]
mov eax, 0xfffffffe
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x415950
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x415970
mov ebx, dword [edi]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x415990
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0x4159b4
mov eax, 0xffffffff
jmp 0x4159bd
add ecx, edx
lea eax, [ecx*2 + 0x1c]
push eax
call fcn.004095a0
add esp, 4
mov edi, eax
movzx ecx, word [ebp]
test cx, cx
je 0x4159f2
add ebp, 2
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x4159e0
mov word [eax], 0x2f
mov dword [esp + 8], 0x4387416f
mov dword [esp + 0xc], 0x47d245dc
mov dword [esp + 0x10], 0x4ba449ad
mov dword [esp + 0x14], 0x4fa74ddf
mov dword [esp + 0x18], 0x739c719f
mov dword [esp + 0x1c], 0x775975e7
mov word [esp + 0x20], 0x7978
mov dword [esp + 0x22], 0
mov byte [esp + 0x26], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1e
ja 0x415a80
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0xbcb69c10
xor ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0xb0
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x1f
jb 0x415a50
add eax, 2
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 8]
movzx edx, word [ecx]
test dx, dx
je 0x415ab1
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x415aa0
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x415ae1
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415ad0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x415b11
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x415b00
mov word [eax], 0
mov dword [esp], 0xd9dadb3a
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x415b61
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx]
add eax, 0x9ebbbbaf
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x95
mov ecx, dword [esp + 4]
mov byte [esp + ecx], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x415b30
mov eax, esp
push 0
push 0
push 0
push 0xc00000
push eax
push esi
push edi
push dword [esp + 0x74]
call fcn.00417d30
add esp, 0x20
mov ebx, eax
jmp dword [0x43bf10]