Function at 0x403d6d
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3a8
lea rcx, [0x004ab5a0]
call fcn.00412ff0
lea rcx, [0x004ab580]
mov rbx, rax
call fcn.00412ff0
cmp byte [rbx], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x403e15
lea rsi, [0x004b0fc0]
mov ecx, 0xa
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0xd8]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 0xa
xor eax, eax
lea rdi, [rsp + 0x150]
lea rsi, [rsp + 0xd8]
rep movsd dword [rdi], dword [rsi]
mov ecx, 7
mov rdi, rdx
rep stosd dword [rdi], eax
lea r9, [rsp + 0x150]
mov eax, 0xc
mov cx, word [r9 + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x28
jne 0x403dfe
mov byte [rbx], 1
cmp byte [r8 + 0xa], 0
jne 0x403e92
mov rax, rdx
mov r10d, 0xffffff83
mov ecx, dword [r8 + 4]
lea ebx, [rcx + 1]
lea ebp, [rcx + 2]
lea esi, [rcx + 4]
lea r14d, [rcx + 5]
lea r11d, [rcx + 4]
lea r13d, [rcx + 3]
lea edi, [rcx + 2]
lea r12d, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, ebx
jne 0x403e59
xor word [rax], r12w
inc r9d
mov dword [r8], r9d
jmp 0x403e45
cmp r9d, ebp
jne 0x403e63
xor word [rax], di
jmp 0x403e51
cmp r9d, ecx
jne 0x403e6e
xor word [rax], r10w
jmp 0x403e84
cmp r9d, esi
jne 0x403e79
xor word [rax], r13w
jmp 0x403e51
cmp r9d, r14d
jne 0x403e84
xor word [rax], r11w
jmp 0x403e51
inc r10d
add rax, 2
cmp r10w, 0xff91
jne 0x403e25
lea rbx, [rsp + 0x150]
mov byte [r8 + 0xa], 1
mov rcx, rbx
call fcn.00402afc
lea rcx, [0x004ab5e0]
call fcn.00412ff0
lea rcx, [0x004ab5c0]
mov rbp, rax
call fcn.00412ff0
cmp byte [rbp], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x403f3e
lea rsi, [0x004b0f80]
mov ecx, 0xa
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0x98]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 0xa
xor eax, eax
lea rdi, [rsp + 0xd8]
lea rsi, [rsp + 0x98]
rep movsd dword [rdi], dword [rsi]
mov ecx, 7
mov rdi, rdx
rep stosd dword [rdi], eax
lea r9, [rsp + 0xd8]
mov eax, 0xc
mov cx, word [r9 + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x28
jne 0x403f26
mov byte [rbp], 1
cmp byte [r8 + 0xa], 0
jne 0x403fbc
mov rax, rdx
mov r10d, 0xffffff84
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
lea ebp, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea edi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, esi
jne 0x403f82
xor word [rax], di
inc r9d
mov dword [r8], r9d
jmp 0x403f6f
cmp r9d, ebp
jne 0x403f8d
xor word [rax], r12w
jmp 0x403f7a
cmp r9d, ecx
jne 0x403f98
xor word [rax], r10w
jmp 0x403fae
cmp r9d, r13d
jne 0x403fa3
xor word [rax], r14w
jmp 0x403f7a
cmp r9d, r15d
jne 0x403fae
xor word [rax], r11w
jmp 0x403f7a
inc r10d
add rax, 2
cmp r10w, 0xff92
jne 0x403f4e
mov byte [r8 + 0xa], 1
lea rcx, [rbx + 0x20]
call fcn.00402afc
lea rcx, [0x004ab620]
call fcn.00412ff0
lea rcx, [0x004ab600]
mov rbp, rax
call fcn.00412ff0
cmp byte [rbp], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x404061
lea rsi, [0x004b0f40]
mov ecx, 9
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0x98]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 9
xor eax, eax
lea rdi, [rsp + 0xd8]
lea rsi, [rsp + 0x98]
rep movsd dword [rdi], dword [rsi]
mov ecx, 0x16
mov rdi, rdx
rep stosb byte [rdi], al
lea r9, [rsp + 0xd8]
mov eax, 0xc
mov cx, word [r9 + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x22
jne 0x404049
mov byte [rbp], 1
cmp byte [r8 + 0xa], 0
jne 0x4040df
mov rax, rdx
mov r10d, 0xffffff84
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
lea ebp, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea edi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, esi
jne 0x4040a5
xor word [rax], di
inc r9d
mov dword [r8], r9d
jmp 0x404092
cmp r9d, ebp
jne 0x4040b0
xor word [rax], r12w
jmp 0x40409d
cmp r9d, ecx
jne 0x4040bb
xor word [rax], r10w
jmp 0x4040d1
cmp r9d, r13d
jne 0x4040c6
xor word [rax], r14w
jmp 0x40409d
cmp r9d, r15d
jne 0x4040d1
xor word [rax], r11w
jmp 0x40409d
inc r10d
add rax, 2
cmp r10w, 0xff8f
jne 0x404071
mov byte [r8 + 0xa], 1
lea rcx, [rbx + 0x40]
call fcn.00402afc
lea rcx, [0x004ab660]
call fcn.00412ff0
lea rcx, [0x004ab640]
mov rbp, rax
call fcn.00412ff0
cmp byte [rbp], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x404184
lea rsi, [0x004b0f00]
mov ecx, 0xa
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0x98]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 0xa
xor eax, eax
lea rdi, [rsp + 0xd8]
lea rsi, [rsp + 0x98]
rep movsd dword [rdi], dword [rsi]
mov ecx, 7
mov rdi, rdx
rep stosd dword [rdi], eax
lea r9, [rsp + 0xd8]
mov eax, 0xc
mov cx, word [r9 + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x28
jne 0x40416c
mov byte [rbp], 1
cmp byte [r8 + 0xa], 0
jne 0x404202
mov rax, rdx
mov r10d, 0xffffff85
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
lea ebp, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea edi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, esi
jne 0x4041c8
xor word [rax], di
inc r9d
mov dword [r8], r9d
jmp 0x4041b5
cmp r9d, ebp
jne 0x4041d3
xor word [rax], r12w
jmp 0x4041c0
cmp r9d, ecx
jne 0x4041de
xor word [rax], r10w
jmp 0x4041f4
cmp r9d, r13d
jne 0x4041e9
xor word [rax], r14w
jmp 0x4041c0
cmp r9d, r15d
jne 0x4041f4
xor word [rax], r11w
jmp 0x4041c0
inc r10d
add rax, 2
cmp r10w, 0xff93
jne 0x404194
mov byte [r8 + 0xa], 1
lea rcx, [rbx + 0x60]
call fcn.00402afc
lea rcx, [0x004ab6a0]
call fcn.00412ff0
lea rcx, [0x004ab680]
mov rbp, rax
call fcn.00412ff0
cmp byte [rbp], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x4042a7
lea rsi, [0x004b0ec0]
mov ecx, 9
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0x98]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 9
xor eax, eax
lea rdi, [rsp + 0xd8]
lea rsi, [rsp + 0x98]
rep movsd dword [rdi], dword [rsi]
mov ecx, 6
mov rdi, rdx
rep stosd dword [rdi], eax
lea r9, [rsp + 0xd8]
mov eax, 0xc
mov cx, word [r9 + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x24
jne 0x40428f
mov byte [rbp], 1
cmp byte [r8 + 0xa], 0
jne 0x404325
mov rax, rdx
mov r10d, 0xffffff85
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
lea ebp, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea edi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, esi
jne 0x4042eb
xor word [rax], di
inc r9d
mov dword [r8], r9d
jmp 0x4042d8
cmp r9d, ebp
jne 0x4042f6
xor word [rax], r12w
jmp 0x4042e3
cmp r9d, ecx
jne 0x404301
xor word [rax], r10w
jmp 0x404317
cmp r9d, r13d
jne 0x40430c
xor word [rax], r14w
jmp 0x4042e3
cmp r9d, r15d
jne 0x404317
xor word [rax], r11w
jmp 0x4042e3
inc r10d
add rax, 2
cmp r10w, 0xff91
jne 0x4042b7
mov byte [r8 + 0xa], 1
lea rcx, [rbx + 0x80]
call fcn.00402afc
lea rcx, [0x004ab6e0]
call fcn.00412ff0
lea rcx, [0x004ab6c0]
mov rbp, rax
call fcn.00412ff0
cmp byte [rbp], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x4043cd
lea rsi, [0x004b0e80]
mov ecx, 9
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0x98]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 9
xor eax, eax
lea rdi, [rsp + 0xd8]
lea rsi, [rsp + 0x98]
rep movsd dword [rdi], dword [rsi]
mov ecx, 6
mov rdi, rdx
rep stosd dword [rdi], eax
lea r9, [rsp + 0xd8]
mov eax, 0xc
mov cx, word [r9 + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x24
jne 0x4043b5
mov byte [rbp], 1
cmp byte [r8 + 0xa], 0
jne 0x40444b
mov rax, rdx
mov r10d, 0xffffff85
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
lea ebp, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea edi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, esi
jne 0x404411
xor word [rax], di
inc r9d
mov dword [r8], r9d
jmp 0x4043fe
cmp r9d, ebp
jne 0x40441c
xor word [rax], r12w
jmp 0x404409
cmp r9d, ecx
jne 0x404427
xor word [rax], r10w
jmp 0x40443d
cmp r9d, r13d
jne 0x404432
xor word [rax], r14w
jmp 0x404409
cmp r9d, r15d
jne 0x40443d
xor word [rax], r11w
jmp 0x404409
inc r10d
add rax, 2
cmp r10w, 0xff91
jne 0x4043dd
lea rcx, [rbx + 0xa0]
mov byte [r8 + 0xa], 1
call fcn.00402afc
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 6
lea rcx, [rsp + 0x48]
call fcn.00402b6c
lea rsi, [rbx + 0xc0]
sub rsi, 0x20
mov rcx, rsi
call fcn.00497c30
cmp rsi, rbx
jne 0x404480
lea rcx, [0x004ab720]
call fcn.00412ff0
lea rcx, [0x004ab700]
mov rbp, rax
call fcn.00412ff0
cmp byte [rbp], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x40451a
lea rsi, [0x004b0e40]
mov ecx, 0xf
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0xd8]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 0xf
xor eax, eax
lea rsi, [rsp + 0xd8]
mov rdi, rbx
rep movsd dword [rdi], dword [rsi]
mov ecx, 0xc
mov rdi, rdx
rep stosd dword [rdi], eax
mov eax, 0xc
mov cx, word [rbx + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x3c
jne 0x404503
mov byte [rbp], 1
cmp byte [r8 + 0xa], 0
jne 0x404598
mov rax, rdx
mov r10d, 0xffffff86
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
lea ebp, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea edi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, esi
jne 0x40455e
xor word [rax], di
inc r9d
mov dword [r8], r9d
jmp 0x40454b
cmp r9d, ebp
jne 0x404569
xor word [rax], r12w
jmp 0x404556
cmp r9d, ecx
jne 0x404574
xor word [rax], r10w
jmp 0x40458a
cmp r9d, r13d
jne 0x40457f
xor word [rax], r14w
jmp 0x404556
cmp r9d, r15d
jne 0x40458a
xor word [rax], r11w
jmp 0x404556
inc r10d
add rax, 2
cmp r10w, 0xff9e
jne 0x40452a
lea rbp, [rsp + 0x98]
mov byte [r8 + 0xa], 1
mov rcx, rbp
call fcn.00402afc
lea rcx, [0x004ab760]
call fcn.00412ff0
lea rcx, [0x004ab740]
mov r12, rax
call fcn.00412ff0
cmp byte [r12], 0
mov r8, rax
lea rdx, [rax + 0xc]
jne 0x404638
lea rsi, [0x004b0dc0]
mov ecx, 0x1d
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0xd8]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 0x1d
xor eax, eax
lea rsi, [rsp + 0xd8]
mov rdi, rbx
rep movsd dword [rdi], dword [rsi]
mov ecx, 0x66
mov rdi, rdx
rep stosb byte [rdi], al
mov eax, 0xc
mov cx, word [rbx + rax]
mov word [r8 + rax], cx
add rax, 2
cmp rax, 0x72
jne 0x404620
mov byte [r12], 1
cmp byte [r8 + 0xa], 0
jne 0x4046bc
mov rax, rdx
mov r10d, 0xffffff86
mov ecx, dword [r8 + 4]
lea esi, [rcx + 1]
mov dword [rsp + 0x20], esi
lea edi, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea esi, [rcx + 1]
mov r9d, dword [r8]
cmp r9d, dword [rsp + 0x20]
jne 0x404682
xor word [rax], si
inc r9d
mov dword [r8], r9d
jmp 0x40466d
cmp r9d, edi
jne 0x40468d
xor word [rax], r12w
jmp 0x40467a
cmp r9d, ecx
jne 0x404698
xor word [rax], r10w
jmp 0x4046ae
cmp r9d, r13d
jne 0x4046a3
xor word [rax], r14w
jmp 0x40467a
cmp r9d, r15d
jne 0x4046ae
xor word [rax], r11w
jmp 0x40467a
inc r10d
add rax, 2
cmp r10w, 0xffb9
jne 0x404648
mov byte [r8 + 0xa], 1
lea rcx, [rsp + 0xb8]
call fcn.00402afc
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], 2
lea rcx, [rsp + 0x60]
call fcn.00402b6c
jmp 0x404708
lea rcx, [rbp + 0x20]
call fcn.00497c30
mov rcx, rbp
call fcn.00497c30
lea rcx, [0x004ab7a0]
call fcn.00412ff0
lea rcx, [0x004ab780]
mov r12, rax
call fcn.00412ff0
cmp byte [r12], 0
mov rdx, rax
lea r9, [rax + 0xc]
jne 0x4047a3
lea rsi, [0x004b0d80]
mov ecx, 9
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0xd8]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 9
xor eax, eax
lea rsi, [rsp + 0xd8]
mov rdi, rbx
rep movsd dword [rdi], dword [rsi]
mov ecx, 0x16
mov rdi, r9
rep stosb byte [rdi], al
mov eax, 0xc
mov cx, word [rbx + rax]
mov word [rdx + rax], cx
add rax, 2
cmp rax, 0x22
jne 0x40478c
mov byte [r12], 1
cmp byte [rdx + 0xa], 0
jne 0x404825
mov rax, r9
mov r10d, 0xffffff86
mov ecx, dword [rdx + 4]
lea esi, [rcx + 1]
mov dword [rsp + 0x20], esi
lea edi, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea esi, [rcx + 1]
mov r8d, dword [rdx]
cmp r8d, dword [rsp + 0x20]
jne 0x4047eb
xor word [rax], si
inc r8d
mov dword [rdx], r8d
jmp 0x4047d6
cmp r8d, edi
jne 0x4047f6
xor word [rax], r12w
jmp 0x4047e3
cmp r8d, ecx
jne 0x404801
xor word [rax], r10w
jmp 0x404817
cmp r8d, r13d
jne 0x40480c
xor word [rax], r14w
jmp 0x4047e3
cmp r8d, r15d
jne 0x404817
xor word [rax], r11w
jmp 0x4047e3
inc r10d
add rax, 2
cmp r10w, 0xff91
jne 0x4047b2
mov byte [rdx + 0xa], 1
xor r8d, r8d
xor edx, edx
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor esi, esi
test eax, eax
mov r12d, eax
je 0x404cde
lea rsi, [rsp + 0x78]
mov eax, eax
lea rdx, [rsi + 0x10]
cmp rax, 7
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x78], rdx
jbe 0x404886
lea rcx, [rsp + 0xd8]
xor edx, edx
call fcn.0040155e
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x4048a0
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
call fcn.00499cb0
mov rdx, qword [rsp + 0xd8]
mov rcx, rsi
call fcn.00498270
mov rax, qword [rsp + 0x78]
lea rcx, [0x004ab7e0]
mov qword [rsp + 0x28], rax
call fcn.00412ff0
lea rcx, [0x004ab7c0]
mov r13, rax
call fcn.00412ff0
cmp byte [r13], 0
mov rdx, rax
lea r9, [rax + 0xc]
jne 0x404944
lea rsi, [0x004b0d40]
mov ecx, 9
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0xd8]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 9
xor eax, eax
lea rsi, [rsp + 0xd8]
mov rdi, rbx
rep movsd dword [rdi], dword [rsi]
mov ecx, 0x16
mov rdi, r9
rep stosb byte [rdi], al
mov eax, 0xc
mov cx, word [rbx + rax]
mov word [rdx + rax], cx
add rax, 2
cmp rax, 0x22
jne 0x40492d
mov byte [r13], 1
cmp byte [rdx + 0xa], 0
jne 0x4049c4
mov rax, r9
mov r10d, 0xffffff87
mov ecx, dword [rdx + 4]
lea ebx, [rcx + 1]
mov dword [rsp + 0x20], ebx
lea esi, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r11d, [rcx + 4]
lea r14d, [rcx + 3]
lea edi, [rcx + 2]
lea ebx, [rcx + 1]
mov r8d, dword [rdx]
cmp r8d, dword [rsp + 0x20]
jne 0x40498b
xor word [rax], bx
inc r8d
mov dword [rdx], r8d
jmp 0x404976
cmp r8d, esi
jne 0x404995
xor word [rax], di
jmp 0x404983
cmp r8d, ecx
jne 0x4049a0
xor word [rax], r10w
jmp 0x4049b6
cmp r8d, r13d
jne 0x4049ab
xor word [rax], r14w
jmp 0x404983
cmp r8d, r15d
jne 0x4049b6
xor word [rax], r11w
jmp 0x404983
inc r10d
add rax, 2
cmp r10w, 0xff92
jne 0x404953
mov byte [rdx + 0xa], 1
mov r8d, r12d
mov rdx, qword [rsp + 0x28]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor esi, esi
test eax, eax
je 0x404c3f
lea edx, [r12 - 1]
lea rcx, [rsp + 0x78]
call fcn.00498eb0
lea rcx, [0x004ab820]
call fcn.00412ff0
lea rcx, [0x004ab800]
mov r12, rax
call fcn.00412ff0
cmp byte [r12], 0
mov rdx, rax
lea rbx, [rax + 0xc]
jne 0x404a8a
lea rsi, [0x004b0d00]
mov ecx, 9
mov byte [rax + 0xa], 0
lea rdi, [rsp + 0xd8]
mov qword [rax], 0
rep movsd dword [rdi], dword [rsi]
mov word [rax + 8], 0
mov ecx, 9
xor eax, eax
lea rdi, [rsp + 0x150]
lea rsi, [rsp + 0xd8]
rep movsd dword [rdi], dword [rsi]
mov ecx, 6
mov rdi, rbx
rep stosd dword [rdi], eax
lea r8, [rsp + 0x150]
mov eax, 0xc
mov cx, word [r8 + rax]
mov word [rdx + rax], cx
add rax, 2
cmp rax, 0x24
jne 0x404a72
mov byte [r12], 1
cmp byte [rdx + 0xa], 0
jne 0x404b07
mov rax, rbx
mov r9d, 0xffffff87
mov ecx, dword [rdx + 4]
lea r11d, [rcx + 1]
lea edi, [rcx + 2]
lea r13d, [rcx + 4]
lea r15d, [rcx + 5]
lea r10d, [rcx + 4]
lea r14d, [rcx + 3]
lea r12d, [rcx + 2]
lea esi, [rcx + 1]
mov r8d, dword [rdx]
cmp r8d, r11d
jne 0x404acd
xor word [rax], si
inc r8d
mov dword [rdx], r8d
jmp 0x404aba
cmp r8d, edi
jne 0x404ad8
xor word [rax], r12w
jmp 0x404ac5
cmp r8d, ecx
jne 0x404ae3
xor word [rax], r9w
jmp 0x404af9
cmp r8d, r13d
jne 0x404aee
xor word [rax], r14w
jmp 0x404ac5
cmp r8d, r15d
jne 0x404af9
xor word [rax], r10w
jmp 0x404ac5
inc r9d
add rax, 2
cmp r9w, 0xff93
jne 0x404a99
lea rax, [rbp + 0x10]
mov byte [rdx + 0xa], 1
mov rdx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x80]
mov rcx, rbp
add rax, rax
lea r8, [rdx + rax]
call fcn.004981e0
lea rbp, [rsp + 0x98]
mov rdx, rbx
mov rcx, rbp
call fcn.00498820
jmp 0x404b50
lea r13, [rsp + 0x150]
mov rcx, qword [rsp + 0x98]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov r12, rax
je 0x404c0f
mov r15, qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea r14, [r13 + 0x2c]
lea rdi, [rsp + 0xd8]
mov rdx, r14
mov rcx, rdi
call fcn.00402afc
mov rsi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
add rsi, rsi
add rsi, rbx
cmp rbx, rsi
je 0x404bc1
movzx ecx, word [rbx]
add rbx, 2
call sub.msvcrt.dll_towlower
mov word [rbx - 2], ax
jmp 0x404baa
mov rbx, qword [rsp + 0x50]
xor r9d, r9d
mov r8, rdi
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.004a4290
cmp rbx, rax
je 0x404bf1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call fcn.00497c30
jmp 0x404c2e
mov rcx, rdi
call fcn.00497c30
mov rdx, r13
mov rcx, r12
call r15
test eax, eax
jne 0x404b89
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp rbx, rsi
je 0x404c35
mov rcx, rbx
call fcn.00402084
add rbx, 0x20
test eax, eax
je 0x404c19
mov esi, 1
jmp 0x404c37
xor esi, esi
mov rcx, rbp
call fcn.00497c30
lea rcx, [rsp + 0x78]
call fcn.00497c30
jmp 0x404cde
lea rcx, [rsp + 0x60]
call fcn.0040218a
lea rcx, [rsp + 0x48]
call fcn.0040218a
mov eax, esi
add rsp, 0x3a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret