Function at 0x4109c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xec
call fcn.0047f270
mov eax, dword [0x4d4664]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x84], 0
push 0x3f
push 0
lea eax, [ebp - 0x83]
push eax
call fcn.00481190
add esp, 0xc
mov byte [ebp - 0x44], 0
xor ecx, ecx
mov dword [ebp - 0x43], ecx
mov dword [ebp - 0x3f], ecx
mov dword [ebp - 0x3b], ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov word [ebp - 0x27], cx
mov byte [ebp - 0x25], cl
mov byte [ebp - 0xc4], 0
push 0x3f
push 0
lea edx, [ebp - 0xc3]
push edx
call fcn.00481190
add esp, 0xc
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0xe4], 0x40
mov dword [ebp - 0xe0], 0x20
mov dword [ebp - 0xec], 0x40
mov dword [ebp - 0xe8], 0x20
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0xd0], 0
cmp dword [ebp + 0x10], 0
jne 0x410ac3
mov eax, 8
jmp 0x410de5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.KRlyCCon.exe_kc_pwd_validate
add esp, 8
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x410aed
mov eax, dword [ebp - 0xd0]
jmp 0x410de5
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.0049415a
add esp, 8
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x410b14
mov eax, 0xd
jmp 0x410de5
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], 0
jmp 0x410b39
mov ecx, dword [ebp - 0xc8]
add ecx, 1
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ebp - 0xe8]
jae 0x410b88
push 1
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp + eax - 0x24]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00494a14
add esp, 0xc
cmp eax, 1
je 0x410b6a
jmp 0x410b88
mov eax, dword [ebp - 0xc8]
movsx ecx, byte [ebp + eax - 0x24]
cmp ecx, 0x24
jne 0x410b86
mov dword [ebp - 0xdc], 1
jmp 0x410b88
jmp 0x410b2a
cmp dword [ebp - 0xc8], 0
jne 0x410baa
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004938e9
add esp, 4
mov eax, 3
jmp 0x410de5
cmp dword [ebp - 0xdc], 0
jne 0x410bcc
mov eax, dword [ebp - 0xcc]
push eax
call fcn.004938e9
add esp, 4
mov eax, 0x12
jmp 0x410de5
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00490e2d
add esp, 0xc
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x410bf4
cmp dword [ebp - 0xd8], 2
jbe 0x410c0d
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004938e9
add esp, 4
mov eax, 0xe
jmp 0x410de5
mov dword [ebp - 0xc8], 0
jmp 0x410c28
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xe0]
jae 0x410c7c
push 2
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00494a14
add esp, 0xc
cmp eax, 2
je 0x410c52
jmp 0x410c7c
lea ecx, [ebp - 0xd4]
push ecx
push str._02x
lea edx, [ebp - 0x24]
push edx
call fcn.00406dc4
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov cl, byte [ebp - 0xd4]
mov byte [ebp + eax - 0x44], cl
jmp 0x410c19
cmp dword [ebp - 0xc8], 0
jne 0x410c9e
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004938e9
add esp, 4
mov eax, 3
jmp 0x410de5
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.00494a14
add esp, 0xc
cmp eax, 1
jne 0x410cca
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x24]
cmp ecx, 0x24
je 0x410ce3
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004938e9
add esp, 4
mov eax, 0x12
jmp 0x410de5
mov dword [ebp - 0xc8], 0
jmp 0x410cfe
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xec]
jae 0x410d55
push 2
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00494a14
add esp, 0xc
cmp eax, 2
je 0x410d28
jmp 0x410d55
lea ecx, [ebp - 0xd4]
push ecx
push str._02x
lea edx, [ebp - 0x24]
push edx
call fcn.00406dc4
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov cl, byte [ebp - 0xd4]
mov byte [ebp + eax - 0xc4], cl
jmp 0x410cef
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004938e9
add esp, 4
cmp dword [ebp - 0xc8], 0
jne 0x410d74
mov eax, 3
jmp 0x410de5
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.KRlyCCon.exe_kc_pbkdf2
add esp, 0x1c
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x410dbb
mov eax, dword [ebp - 0xd0]
jmp 0x410de5
mov ecx, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.00483043
add esp, 0xc
test eax, eax
je 0x410de3
mov eax, 0xf
jmp 0x410de5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f259
mov esp, ebp
pop ebp
ret