joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x41bbb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41bbb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41bba8
mov eax, 1
add ebx, ebx
jne 0x41bbcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41bbc0
jne 0x41bbdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bbc0
xor ecx, ecx
sub eax, 3
jb 0x41bbf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41bc62
mov ebp, eax
add ebx, ebx
jne 0x41bbfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41bc08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41bc2c
inc ecx
add ebx, ebx
jne 0x41bc18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41bc0d
jne 0x41bc29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bc0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41bc4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41bc3d
jmp 0x41bbae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41bc4c
add edi, ecx
jmp 0x41bbae
pop esi
mov edi, esi
mov ecx, 0x4a5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41bc6a
cmp byte [edi], 5
jne 0x41bc6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41bc6f
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41bce7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b688]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b6fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41bc9c
mov ecx, edi
jns 0x41bccb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b704]
or eax, eax
je 0x41bce1
mov dword [ebx], eax
add ebx, 4
jmp 0x41bcb9
call dword [esi + 0x1b700]
mov ebp, dword [esi + 0x1b708]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41bd1b
sub esp, 0xffffff80
jmp 0x40179b
Function at 0x409233
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409272
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409272
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409272
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409272
cmp dword [ecx + 0x74], 0xe
jbe 0x409272
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x415c28
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x426108
push 0x426100
push str.FlsAlloc
push 0x1e
call fcn.00415af2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415c5c
push dword [ebp + 8]
mov ecx, esi
call dword [0x4221a8]
call esi
jmp 0x415c62
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415ca6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x426118
push 0x426110
push str.FlsGetValue
push 0x20
call fcn.00415af2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415cdd
push dword [ebp + 8]
mov ecx, esi
call dword [0x4221a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x418490
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41852d
push ebx
push esi
call fcn.00418459
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004170c5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4184da
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41852c
push edi
push eax
call fcn.004135d9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4184fa
call fcn.0041359f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41852b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004170c5
add esp, 0x20
test eax, eax
jne 0x418519
push edi
call fcn.0041359f
jmp 0x418521
push ebx
call fcn.0041359f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x420700
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42072d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42072d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407d10
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
or esi, 0xffffffff
test eax, eax
je 0x407ec5
push ebx
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
je 0x407ec4
mov eax, dword [0x40c354]
push ebp
push 0x1000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x407ebc
push edi
nop
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x1000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x1c]
cmp edx, 8
mov eax, ebp
mov edi, edx
jb 0x407e7e
mov ebp, edx
shr ebp, 3
lea ebx, [ebx]
movzx ebx, byte [eax]
xor ebx, esi
and ebx, 0xff
add eax, 1
mov ecx, esi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
add eax, 1
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x40a1e0]
add eax, 1
sub edi, 8
sub ebp, 1
mov esi, ecx
jne 0x407da0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x407e9f
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x40a1e0]
add eax, 1
sub edi, 1
jne 0x407e82
cmp edx, 0x1000
je 0x407d70
mov edx, dword [0x40c354]
push ebp
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
not eax
pop esi
add esp, 8
ret 4

Function at 0x407ed0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x438c99
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov edx, 0xa4195255
call fcn.00438cd7
dec edx
inc edi
sub edi, 0xdb19c2ff
xor dword [eax], ecx
inc edx
dec edi
add eax, 1
sub edi, 0x83af8ae9
push edi
pop edx
add edx, 0x5dcabd3e
cmp eax, ebx
jne fcn.00438c99
and edi, edx
ret
Function at 0x4011a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4011ca
jmp 0x4011b0
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x43b2c0]
dec esi
jne 0x4011b0
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x401260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x401282
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
add dword [ebp + 8], 5
add edx, 0xfffffffc
push ebx
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
lea esi, [edi + ecx]
mov dword [ebp - 0xc], esi
cmp esi, edx
jae 0x4012b5
lea ecx, [ecx]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4012af
inc esi
cmp esi, edx
jb 0x4012a0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x4013c5
cmp ecx, 3
jbe 0x4012ce
xor eax, eax
jmp 0x40130c
dec ecx
shl eax, cl
and eax, 7
je 0x40130c
movzx ecx, byte [eax + 0x430568]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x430560], 0
mov cl, byte [edx + 4]
je 0x4012f6
test cl, cl
je 0x4012f6
cmp cl, 0xff
jne 0x401309
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x401293
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x14], ebx
test cl, cl
je 0x40132e
cmp cl, 0xff
je 0x40132e
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x401293
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 8]
shl edx, 8
or edx, ecx
nop
sub edx, edi
sub edx, esi
mov ebx, edx
test eax, eax
je 0x40138f
movzx edx, byte [eax + 0x430568]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0x10], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40137b
cmp dl, 0xff
jne 0x40138f
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0x10]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x401350
mov esi, dword [ebp - 0xc]
mov ecx, ebx
mov edx, dword [ebp - 8]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], bl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x14]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x401293
pop esi
pop ebx
cmp ecx, 3
jbe 0x4013dc
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x402d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push edx
push 0
push 0
call fcn.004191b4
add esp, 0x18
mov dword [esi], eax
mov ecx, eax
call fcn.00402d30
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405570
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x405590
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43a021], 0
push esi
mov esi, edx
jne 0x4055cb
mov edx, ecx
lea ecx, [ebp - 0xc]
push ebx
call fcn.00405450
mov edx, esi
mov ecx, dword [eax]
call fcn.00405570
push dword [ebp - 0xc]
mov bl, al
call fcn.00403e80
add esp, 4
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4055e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43a021], 0
jne 0x405615
mov edx, ecx
lea ecx, [ebp - 0xc]
push ebx
call fcn.00405450
mov ecx, dword [eax]
call fcn.00405580
push dword [ebp - 0xc]
mov bl, al
call fcn.00403e80
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x405640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43a021], 0
jne 0x405675
mov edx, ecx
lea ecx, [ebp - 0xc]
push ebx
call fcn.00405450
mov ecx, dword [eax]
call fcn.00405630
push dword [ebp - 0xc]
mov bl, al
call fcn.00403e80
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x405920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x43a021], 0
push esi
mov esi, ecx
jne 0x405959
push ebx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.00405450
mov ecx, dword [eax]
call fcn.00405900
push dword [ebp - 0xc]
mov bl, al
call fcn.00403e80
add esp, 4
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor edx, edx
call fcn.00405590
test al, al
jne 0x405969
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret
Function at 0x405a10
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4286f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x64]
call fcn.004040d0
push 0x5c
mov edx, esi
mov dword [esp + 0x8c], 0
lea ecx, [esp + 0x24]
call fcn.004063d0
push 0x2a
lea edx, [esp + 0x24]
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x34]
call fcn.004063d0
mov dword [esp + 0x10], 0xffffffff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 3
call fcn.00404130
mov byte [esp + 0x88], 5
push dword [esp + 0x30]
call fcn.00403e80
add esp, 4
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call fcn.00406a80
test al, al
je 0x405af2
sub esp, 0xc
lea eax, [esp + 0x2c]
mov ecx, esp
lea edi, [esp + 0x48]
push eax
call fcn.00404130
mov ecx, edi
call fcn.00405980
test al, al
je 0x405b18
mov eax, edi
lea ecx, [esp + 0x10]
push eax
call fcn.00406a80
test al, al
jne 0x405ac4
push dword [esp + 0x14]
call fcn.00403e80
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004066f0
mov ecx, dword [esi]
xor edx, edx
call fcn.00405570
test al, al
jne 0x405b31
xor bl, bl
jmp 0x405b3a
push dword [esp + 0x14]
call fcn.00403e80
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004066f0
xor bl, bl
jmp 0x405b3a
mov ecx, dword [esi]
call fcn.00405580
mov bl, al
push dword [esp + 0x20]
call fcn.00403e80
add esp, 4
push dword [esp + 0x64]
call fcn.00403e80
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00418a92
mov esp, ebp
pop ebp
ret

Function at 0x406000
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4287b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x406040
push 4
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
call fcn.00403e50
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 4
mov byte [eax], 0
push esi
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00405f30
test al, al
je 0x4060ba
push dword [esi]
call ebx
test eax, eax
je 0x4060ba
mov ecx, dword [esi]
call fcn.004069e0
test al, al
je 0x4060a6
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00405fd0
push dword [ebp - 0x18]
call fcn.00403e80
add esp, 4
jmp 0x406040
mov ecx, dword [esi]
call fcn.00405630
test al, al
jne 0x4060e3
call edi
cmp eax, 0xb7
je 0x40608a
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.00405fd0
push dword [ebp - 0x18]
call fcn.00403e80
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x4060bc
Function at 0x406c40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406c6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x406c6b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x40e930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42959f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebx + 4], 0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
mov dword [ecx], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 8
mov dword [ebx + 0x24], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 4
mov dword [ebx + 0x38], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 4
mov dword [ebx + 0x4c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov byte [ebp - 4], 5
push dword [ebx + 8]
call fcn.00403d00
push dword [ebx + 8]
lea ecx, [ebx + 0x38]
call fcn.00403d00
push dword [ebx + 0xc]
lea ecx, [ebx + 0x4c]
call fcn.00403d00
push dword [ebx + 0xc]
lea ecx, [ebx + 0x4c]
call fcn.00403d00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8