Function at 0x405130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
mov bl, 0x74
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0x69
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x5f
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x6f
mov byte [esp + 0x2c], 0x61
mov byte [esp + 0x2d], 0
call fcn.00417720
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
lea ecx, [esp + 0x2c]
mov edi, eax
mov al, 0x64
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov byte [esp + 0x30], 0x69
mov byte [esp + 0x31], 0x6e
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0x5f
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], al
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0
call fcn.00417720
push eax
call esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
mov ebp, eax
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x68
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0
call fcn.00417720
push eax
call esi
mov ebx, eax
mov eax, dword [esp + 0x44]
cmp eax, 2
jne 0x40526b
mov esi, dword [esp + 0x3c]
mov ax, word [esi + 2]
push eax
call ebx
mov ecx, dword [esp + 0x4c]
mov word [ecx], ax
mov al, byte [esi + 4]
test al, al
je 0x405221
mov esi, dword [esi + 4]
jmp 0x405232
add esi, 9
push esi
call fcn.00404ac0
add esp, 4
push eax
call ebp
mov esi, eax
push esi
call edi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
call dword [esp + 0x14]
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ebp, dword [esp + 0x3c]
mov cl, byte [ebp]
cmp cl, 5
jne 0x405319
cmp eax, 1
jne 0x4052d2
mov esi, dword [ebp + 4]
push esi
call edi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
call dword [esp + 0x14]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x48]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [ebp + 8]
push eax
call ebx
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov word [ecx], ax
mov eax, 1
pop ebx
add esp, 0x28
ret
cmp cl, 5
jne 0x405319
cmp eax, 3
jne 0x405319
mov edi, dword [esp + 0x48]
xor ecx, ecx
mov cl, byte [ebp + 4]
lea esi, [ebp + 5]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, eax
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp + 4]
mov esi, dword [esp + 0x4c]
mov bp, word [eax + ebp + 5]
push ebp
mov word [esi], bp
call ebx
mov word [esi], ax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
test cl, cl
jne 0x4053c7
mov dl, byte [ebp + 1]
test dl, dl
jne 0x405377
cmp eax, 1
jne 0x405377
mov esi, dword [ebp + 4]
push esi
call edi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
call dword [esp + 0x14]
mov ecx, edi
mov edi, dword [esp + 0x48]
mov esi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [ebp + 8]
push eax
call ebx
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov word [ecx], ax
mov eax, 0xa
pop ebx
add esp, 0x28
ret
test cl, cl
jne 0x4053c7
mov cl, byte [ebp + 1]
test cl, cl
jne 0x4053c7
cmp eax, 3
jne 0x4053c7
mov edi, dword [esp + 0x48]
xor ecx, ecx
mov cl, byte [ebp + 4]
lea esi, [ebp + 5]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, eax
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp + 4]
mov esi, dword [esp + 0x4c]
mov ax, word [eax + ebp + 5]
push eax
mov word [esi], ax
call ebx
mov word [esi], ax
xor eax, eax
mov al, byte [ebp + 4]
pop edi
pop esi
pop ebp
add eax, 7
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret