joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f20
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x409f31
pop edi
pop esi
pop ebx
ret 4

Function at 0x409f60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esp + 0x18]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x409f73
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8

Function at 0x40a280
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0xc], edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x10], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [esp + 0x10]
shr esi, 4
mov edx, dword [ebp + ecx*4]
movzx ecx, word [eax + edi*2 + 8]
add edx, dword [ebp + esi*4]
mov eax, ecx
add edx, dword [esp + 0x14]
xor ecx, 0x7f0
mov esi, dword [esp + 0x1c]
shr eax, 4
shr ecx, 4
mov eax, dword [ebp + eax*4]
add eax, edx
mov dword [esi + ebx*4], eax
mov eax, dword [ebp + ecx*4]
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x40a297
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x40a320
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
mov ebx, edx
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x28]
movzx esi, word [ecx]
mov eax, esi
mov dword [esp + 0x14], ebx
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov dword [esp + 0x10], ebp
mov edx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [esp + 0x28], eax
movzx eax, word [ecx + 0x10]
mov esi, dword [esp + 0x28]
shr eax, 4
mov dword [esp + 0x1c], edx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x40a3b6
lea ebx, [ebp + 4]
mov esi, ecx
mov ebp, dword [esp + 0x14]
lea ebx, [ebx]
push edi
push ebx
mov ecx, esi
call fcn.0040a280
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0x20]
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.0040a280
mov edx, dword [esp + 0x1c]
add ebx, 0x440
add esi, 0x20
dec ebp
jne 0x40a380
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov ebx, dword [ebp]
cmp ebx, 0x10
jbe 0x40a490
lea eax, [ebp + 0x44]
add ebx, 0xfffffff1
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr ebx, 1
shr eax, 4
lea ebp, [ebx + 0x180]
add esi, dword [edi + eax*4]
lea ebp, [ecx + ebp*2]
mov dword [esp + 0x28], esi
lea ebx, [ebx]
dec ebx
lea ebp, [ebp - 2]
mov dword [esp + 0x1c], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [esp + 0x24]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x40a402
movzx ecx, word [ebp]
mov ebx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x18]
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [esp + 0x28]
mov dword [edx + ebx*8 + 4], eax
test ebx, ebx
jne 0x40a3f0
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [esp + 0x14]
cmp eax, 1
jbe 0x40a490
add esi, 0x484
lea edi, [eax - 1]
push ebx
push edx
push esi
call fcn.004e4930
mov edx, dword [esp + 0x24]
add esp, 0xc
add esi, 0x440
dec edi
jne 0x40a478
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x40d0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movdqa xmm0, xmmword [0x506fb0]
push ebx
push esi
mov esi, ecx
mov ebx, 0x400
push edi
mov edi, 0xc
mov dword [esi + 0x2c], 0
lea edx, [esi + 0x1e54]
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x201c]
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movdqu xmmword [esi + 0x1e1c], xmm0
movdqu xmmword [esi + 0x1e2c], xmm0
jmp 0x40d190
mov ecx, 0x10
jmp 0x40d1a0
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
dec ecx
jne 0x40d1a0
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
dec edi
jne 0x40d190
mov eax, 0x4000400
lea edi, [esi + 0x219c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x239c]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x94]
mov eax, 0x300
add ecx, dword [esi + 0x98]
shl eax, cl
test eax, eax
je 0x40d20e
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x249c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x269c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x289c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2a9c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbca4]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
dec ecx
jne 0x40d260
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x94]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shr eax, cl
mov ecx, dword [esi + 0x98]
shl edx, cl
sub edx, eax
pop edi
mov dword [esi + 0x48], edx
pop esi
pop ebx
ret
Function at 0x40d6f0
Capabilities:
Create thread

Disassembly:
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40d718
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x40d729
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x40d73d
call edi
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x40d797
cmp dword [esi + 0x14], 0
mov dword [esi + 8], 0
jne 0x40d77a
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x40dde0
push 0
push 0
call fcn.004e02a8
add esp, 0x18
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40d77a
call edi
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x40d797
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40d7b5
call edi
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
je 0x40d7b5
jle 0x40d7a2
movzx ecx, cx
or ecx, 0x80070000
pop edi
mov eax, ecx
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004df96c
add esp, 8
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 8
ret

Function at 0x40e380
Capabilities:
Create thread

Disassembly:
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
call fcn.0040e300
mov edx, eax
test edx, edx
jne 0x40e3e7
cmp dword [esi + 0x18], eax
je 0x40e3b3
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004df96c
add esp, 8
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push fcn.0040f3d0
push 0
push 0
call fcn.004e02a8
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x40e3a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edx, 1
cmovne edx, eax
test edx, edx
je 0x40e3a1
jle 0x40e3f2
movzx edx, dx
or edx, 0x80070000
mov ecx, dword [esp + 8]
mov eax, edx
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 8
ret
Function at 0x40f6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x20
push edi
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], 0
cmova eax, ecx
mov dword [esi + 0x7c], 0
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x58], 0
cmp eax, dword [esi + 0x20]
je 0x40f7e4
lea ebx, [esi + 0xd0]
mov ebp, ecx
mov edi, edi
mov ecx, dword [ebx]
test ecx, ecx
je 0x40f7c5
mov dword [ebx], 0
lea esp, [esp]
mov eax, dword [ebx - 8]
mov edi, dword [ecx]
push ecx
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [eax + 4]
call eax
mov ecx, edi
test edi, edi
jne 0x40f7b0
add ebx, 0x28
dec ebp
jne 0x40f7a0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x40f7df
mov eax, dword [esi + 0x14]
push ecx
push eax
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x5c], ebp
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*8]
lea eax, [ecx + 1]
mov ecx, ebx
mov dword [esi + 0x58], eax
call fcn.0040e300
mov edi, eax
test edi, edi
jne 0x40f8ac
push dword [ebx + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40f877
call edi
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
jne 0x40f8ac
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0x1c]
call ebp
test eax, eax
jne 0x40f890
call edi
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
jne 0x40f8ac
push ebx
call fcn.0040f3d0
mov edi, eax
test edi, edi
je 0x40f8be
mov ecx, esi
mov dword [esi + 0x44], 0
call fcn.0040e4e0
test edi, edi
jle 0x40f8b7
movzx edi, di
or edi, 0x80070000
test edi, edi
je 0x40f8be
mov dword [esi + 0x40], edi
cmp dword [esi + 0x38], 0
jne 0x40f8d7
cmp dword [esi + 0x40], 0
jne 0x40f8d7
cmp dword [esi + 0x3c], 0
jne 0x40f8d7
mov dword [esi + 0x44], 0
xor eax, eax
cmp dword [esi + 0x44], eax
cmovne edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4107d0
Capabilities:
Create thread

Disassembly:
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push ecx
push 0
push eax
push edx
push 0
push 0
call fcn.004e02a8
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x410814
xor eax, eax
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004df96c
add esp, 8
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004df96c
add esp, 8
ret 4
Function at 0x4171d0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ec028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
call fcn.0041ba70
mov edi, eax
cmp edi, 1
je 0x417224
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x417224
mov al, 1
jmp 0x4172e4
test edi, edi
je 0x4172e2
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
push 8
mov dword [esp + 0x18], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x417266
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 3
mov word [eax], cx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.0041bb40
test al, al
je 0x4172ce
cmp dword [esp + 0x18], 0
jne 0x4172a8
cmp edi, 1
jne 0x4172ce
push esi
lea ecx, [esp + 0x18]
call fcn.00412850
mov esi, dword [esp + 0x14]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
push esi
setne bl
call fcn.004df97b
add esp, 4
mov al, bl
jmp 0x4172e4
mov dword [esp + 0x2c], 0xffffffff
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret

Function at 0x417310
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4ec028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041ba70
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
cmp edi, 1
je 0x417363
push esi
call ebx
test eax, eax
je 0x417363
mov al, 1
jmp 0x41741e
test edi, edi
je 0x41741c
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
push 8
mov dword [esp + 0x18], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4173a5
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 3
mov word [eax], cx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.0041bb40
test al, al
je 0x417408
cmp dword [esp + 0x18], 0
jne 0x4173e7
cmp edi, 1
jne 0x417408
push esi
lea ecx, [esp + 0x18]
call fcn.00412850
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
push esi
setne bl
call fcn.004df97b
add esp, 4
mov al, bl
jmp 0x41741e
mov dword [esp + 0x2c], 0xffffffff
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret
Function at 0x417440
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4ec060
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.0041ba70
mov esi, eax
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.0041ba70
mov edi, eax
cmp esi, 1
je 0x4174ab
cmp edi, 1
je 0x4174ab
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4174ab
mov al, 1
jmp 0x417619
test esi, esi
jne 0x4174b7
test edi, edi
je 0x417617
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
push 8
mov dword [esp + 0x30], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4174f1
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 3
mov word [eax], cx
mov dword [esp + 0x44], ecx
xorps xmm0, xmm0
movq qword [esp + 0x20], xmm0
push 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ecx
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
jne 0x417542
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 3
mov word [esi], ax
cmp dword [esp + 0x18], 1
mov byte [esp + 0x44], 1
je 0x417570
cmp edi, 1
je 0x417570
mov bl, 1
jmp 0x417572
xor bl, bl
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
mov ecx, edi
call fcn.0041bb40
test al, al
je 0x4175f8
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.0041bb40
test al, al
je 0x4175f4
cmp dword [esp + 0x30], 0
mov esi, dword [esp + 0x24]
jne 0x4175b1
test esi, esi
jne 0x4175a7
test bl, bl
jne 0x4175f4
push edi
lea ecx, [esp + 0x30]
call fcn.00412850
test esi, esi
jne 0x4175bf
push ebp
lea ecx, [esp + 0x24]
call fcn.00412850
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov byte [esp + 0x44], 0
push esi
setne bl
call fcn.004df97b
push edi
mov dword [esp + 0x4c], 0xffffffff
call fcn.004df97b
add esp, 8
mov al, bl
jmp 0x417619
mov esi, dword [esp + 0x20]
push esi
mov byte [esp + 0x48], 0
call fcn.004df97b
mov dword [esp + 0x48], 0xffffffff
push dword [esp + 0x30]
call fcn.004df97b
add esp, 8
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df96c
add esp, 0x34
ret
Function at 0x417820
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4ec0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041ba70
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
cmp edi, 1
je 0x417886
push 0
push esi
call ebx
test eax, eax
je 0x417875
mov al, 1
jmp 0x41790a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x417908
test edi, edi
je 0x417908
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
movq qword [esp + 0x10], xmm0
call fcn.00412560
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0
mov ecx, esi
call fcn.0041bb40
test al, al
je 0x4178f4
cmp dword [esp + 0x14], 0
jne 0x4178d1
cmp edi, 1
jne 0x4178f4
push esi
lea ecx, [esp + 0x14]
call fcn.00412850
mov esi, dword [esp + 0x10]
push 0
push esi
call ebx
test eax, eax
mov dword [esp + 0x28], 0xffffffff
push esi
setne bl
call fcn.004df97b
add esp, 4
mov al, bl
jmp 0x41790a
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 0x10]
call fcn.004df97b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret
Function at 0x417930
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4ec11b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041ba70
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 1
je 0x41799c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41798f
mov al, 1
jmp 0x417af2
call edi
cmp eax, 0xb7
je 0x417a9c
test ebx, ebx
je 0x417a9c
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
movq qword [esp + 0x10], xmm0
call fcn.00412560
lea edx, [esp + 0x10]
mov dword [esp + 0x98], 0
mov ecx, esi
call fcn.0041bb40
test al, al
je 0x417a85
cmp dword [esp + 0x14], 0
jne 0x4179f6
cmp ebx, 1
jne 0x417a85
push esi
lea ecx, [esp + 0x14]
call fcn.00412850
mov esi, dword [esp + 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x417a1a
mov bl, 1
mov dword [esp + 0x98], 0xffffffff
push esi
jmp 0x417ae8
call edi
cmp eax, 0xb7
je 0x417a36
xor bl, bl
mov dword [esp + 0x98], 0xffffffff
push esi
jmp 0x417ae8
lea ecx, [esp + 0x1c]
call fcn.00417b20
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 1
call fcn.00419180
test al, al
jne 0x417a59
xor bl, bl
jmp 0x417a63
mov ebx, dword [esp + 0x3c]
shr ebx, 4
and bl, 1
mov byte [esp + 0x98], 0
push dword [esp + 0x44]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x98], 0xffffffff
push esi
jmp 0x417ae8
mov dword [esp + 0x98], 0xffffffff
push dword [esp + 0x10]
call fcn.004df97b
add esp, 4
call edi
cmp eax, 0xb7
je 0x417aa9
xor al, al
jmp 0x417af2
lea ecx, [esp + 0x54]
call fcn.00417b20
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x9c], 2
call fcn.00419180
test al, al
jne 0x417acf
xor bl, bl
jmp 0x417ad9
mov ebx, dword [esp + 0x74]
shr ebx, 4
and bl, 1
mov dword [esp + 0x98], 0xffffffff
push dword [esp + 0x7c]
call fcn.004df97b
mov al, bl
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004df96c
add esp, 0x8c
ret
Function at 0x417de0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ec028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00419050
cmp eax, 0xffffffff
je 0x417e39
test al, 0x10
jne 0x417e39
test al, 1
je 0x417e39
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.004171d0
test al, al
je 0x417f14
mov ecx, esi
call fcn.0041ba70
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
cmp edi, 1
je 0x417e5b
push esi
call ebx
test eax, eax
je 0x417e5b
mov al, 1
jmp 0x417f16
test edi, edi
je 0x417f14
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
push 8
mov dword [esp + 0x18], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x417e9d
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 3
mov word [eax], cx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.0041bb40
test al, al
je 0x417f00
cmp dword [esp + 0x18], 0
jne 0x417edf
cmp edi, 1
jne 0x417f00
push esi
lea ecx, [esp + 0x18]
call fcn.00412850
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
push esi
setne bl
call fcn.004df97b
add esp, 4
mov al, bl
jmp 0x417f16
mov dword [esp + 0x2c], 0xffffffff
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret