joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xa
push dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40142f
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40142f
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp loc.0040a277

Function at 0x401583
Capabilities:
Packed with generic packer

Disassembly:
push esi
xor esi, esi
inc esi
jmp loc.0040958f

Function at 0x40159c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov cl, byte [eax]
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
and dword [ebp - 4], esi
mov byte [ebx], cl
lea ecx, [ebx + 1]
inc eax
push edi
jmp loc.00409c2d

Function at 0x401a94
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x401ab4
xor eax, eax
jmp loc.0040935d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x4550
je 0x401ad2
xor eax, eax
jmp fcn.00401c2f
push 4
push 0x2000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x50]
jmp loc.0040a256

Function at 0x401c33
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push dword [ebp + 8]
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401ccc
push edi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401cc0
push esi
jmp loc.00409872
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call edi
pop edi
jmp 0x401cd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 4]
pop ebx
leave
ret 8

Function at 0x401cda
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x2c0
push ebx
push esi
push edi
call fcn.004029c6
mov esi, 0x9c
push esi
mov ebx, eax
xor edi, edi
lea eax, [ebp - 0x40]
push edi
push eax
jmp loc.00409e6c
Function at 0x401e99
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x104
dec eax
jne 0x401f62
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
lea eax, [ebp - 0x104]
push eax
call fcn.004021bb
push 0x4011a8
lea eax, [ebp - 0x104]
push eax
call fcn.004025cb
push eax
call fcn.00403590
pop ecx
pop ecx
test eax, eax
je 0x401f69
push 0x40119c
lea eax, [ebp - 0x104]
push eax
call fcn.004025cb
push eax
call fcn.00403590
pop ecx
pop ecx
test eax, eax
je 0x401f69
push 0x401190
lea eax, [ebp - 0x104]
push eax
call fcn.004025cb
push eax
call fcn.00403590
pop ecx
pop ecx
test eax, eax
jne 0x401f60
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.0040289c
test eax, eax
je fcn.00401faf
cmp dword [ebp + 0xc], 0x3000
jb fcn.00401faf
jmp loc.00409f6e
pop edi
pop esi
xor eax, eax
inc eax
leave
ret 0xc
push 0x401180
push edi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ebx, eax
cmp ebx, edi
je 0x401f8d
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401f93
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp loc.00409b2d

Function at 0x401fb2
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x401ff4
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x401ff4
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x401fe5
test eax, eax
je 0x401fe5
cmp eax, 2
je 0x401fe5
cmp eax, 3
jne 0x401ff4
push dword [esp + 0x10]
push eax
push esi
call fcn.00401e99
pop esi
ret 0xc
jmp 0x409557

Function at 0x402001
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [0x405030], eax
inc ecx
mov eax, 0x405030
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x4059ec
jl 0x402013
mov dword [0x405020], ecx
pop esi
ret 4

Function at 0x4021ed
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x402288
push esi
lea eax, [ebp - 0x104]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x402288
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
jmp loc.00409284
pop esi
leave
ret

Function at 0x4022dc
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
xor esi, esi
call fcn.00402291
mov edi, eax
test edi, edi
je 0x402303
jmp loc.00409cf6
pop edi
mov eax, esi
pop esi
ret
Function at 0x402308
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xa0
jmp loc.0040a520

Function at 0x402481
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
cmp dword [0x405a14], 0
jne fcn.004024a1
cmp dword [0x405a04], 0
jne fcn.004024a1
cmp dword [0x405a10], 0
jne fcn.004024a1
jmp loc.0040976d

Function at 0x4024aa
Capabilities:
Packed with generic packer
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp loc.00409a28

Function at 0x40250c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
jmp loc.00409a07

Function at 0x4027dd
Capabilities:
Check os version
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x402818
xor eax, eax
jmp loc.00409000
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
leave
ret

Function at 0x402822
Capabilities:
Enumerate processes
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40288e
lea eax, [ebp - 0x128]
push eax
push esi
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40287f
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp + 8]
je 0x402877
jmp loc.00409d53
mov edi, dword [ebp - 0x110]
jmp 0x402885
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402894
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x40289c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa4
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
push edi
xor edi, edi
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], edi
cmp ebx, edi
je 0x4029ba
mov esi, 0x9c
push esi
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebx], edi
call fcn.00403510
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4028fa
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0x94
call esi
test eax, eax
je 0x4029ba
cmp dword [ebp - 0x30], 6
jmp 0x40a1ce
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x4029c6
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf8
push ebx
push esi
push edi
mov esi, 0x9c
push esi
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00403510
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x402a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp loc.0040a3f7
cmp dword [ebp - 0x2c], 2
jmp loc.0040a0b6

Function at 0x402af9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x402b0f
mov dword [eax], esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.00403e9d
pop ecx
pop ecx
jmp loc.00409ff8

Function at 0x402bdc
Capabilities:
Check os version
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6bc
push esi
push edi
jmp loc.0040a500

Function at 0x402f02
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, 0x402f01
sub esi, 0x402e88
mov dword [ebp - 0xc], esi
call fcn.004020ec
and dword [ebp - 4], 0
lea eax, [eax + esi + 0x111]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
add esi, eax
movzx edi, word [esi + 6]
movzx eax, word [esi + 0x14]
lea ebx, [eax + esi + 0x18]
test edi, edi
je 0x40305b
push 5
push 0x4013b4
push ebx
call fcn.0040214c
test eax, eax
je 0x402f6c
add ebx, 0x28
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jb 0x402f4b
jmp 0x40305b
mov eax, dword [ebp - 8]
cmp dword [ebx + 0x10], eax
jae 0x402f7b
xor eax, eax
jmp 0x4092ed
mov edi, dword [ebx + 0x14]
add edi, dword [ebp + 8]
push 0x110
push 0
push edi
call fcn.004020ce
mov eax, dword [esi + 0x28]
push 0x4013a4
push 0x40137c
mov dword [edi + 8], eax
jmp 0x4091ee
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x403065
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push 0x30
pop esi
push esi
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.004020ce
movzx eax, word [ebp + 0xc]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 6
xor edi, edi
lea eax, [ebp - 0x30]
push eax
jmp loc.0040a057
Function at 0x403143
Capabilities:
Copy file
Get common file path
Lock the desktop
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
push esi
mov dword [ebp - 0x18], esi
call edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4013bc
lea eax, [ebp - 0x32c]
push eax
call fcn.004020ec
lea eax, [ebp + eax - 0x32c]
push eax
call fcn.00402194
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x124]
push eax
push esi
call ebx
jmp loc.00409080

Function at 0x403a11
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
push esi
jmp loc.004096a2

Function at 0x403b50
Capabilities:
Packed with generic packer

Disassembly:
mov ecx, dword [esp + 8]
push edi
push ebx
push esi
mov dl, byte [ecx]
mov edi, dword [esp + 0x10]
test dl, dl
je 0x403bd0
mov dh, byte [ecx + 1]
test dh, dh
je 0x403bbd
mov esi, edi
mov ecx, dword [esp + 0x14]
mov al, byte [edi]
add esi, 1
cmp al, dl
je 0x403b8e
test al, al
je 0x403b88
jmp 0x409cce
cmp al, dl
je 0x403b8e
test al, al
jne 0x403b7b
pop esi
pop ebx
pop edi
xor eax, eax
ret
mov al, byte [esi]
add esi, 1
cmp al, dh
jne 0x403b80
lea edi, [esi - 1]
mov ah, byte [ecx + 2]
test ah, ah
je 0x403bc9
mov al, byte [esi]
add esi, 2
cmp al, ah
jne 0x403b68
mov al, byte [ecx + 3]
test al, al
je 0x403bc9
mov ah, byte [esi - 1]
add ecx, 2
cmp al, ah
je 0x403b9a
jmp 0x403b68
xor eax, eax
pop esi
pop ebx
pop edi
mov al, dl
jmp 0x403dc6
lea eax, [edi - 1]
pop esi
pop ebx
pop edi
ret
mov eax, edi
pop esi
pop ebx
pop edi
ret
lea eax, [edx - 1]
pop ebx
ret
push ebx
mov ebx, eax
shl eax, 8
mov edx, dword [esp + 8]
test edx, 3
je 0x403ded
mov cl, byte [edx]
add edx, 1
cmp cl, bl
je 0x403db0
test cl, cl
je 0x403e36
test edx, 3
jne 0x403dd8
or ebx, eax
push edi
mov eax, ebx
shl ebx, 0x10
push esi
or ebx, eax
mov ecx, dword [edx]
mov edi, 0x7efefeff
mov eax, ecx
mov esi, edi
xor ecx, ebx
add esi, eax
add edi, ecx
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, edi
xor eax, esi
add edx, 4
and ecx, 0x81010100
jne 0x403e3a
and eax, 0x81010100
je 0x403df8
and eax, 0x1010100
jne 0x403e34
and esi, 0x80000000
jne 0x403df8
pop esi
pop edi
pop ebx
xor eax, eax
ret
mov eax, dword [edx - 4]
cmp al, bl
je 0x403e77
test al, al
je 0x403e34
cmp ah, bl
je 0x403e70
test ah, ah
je 0x403e34
shr eax, 0x10
cmp al, bl
je 0x403e69
test al, al
je 0x403e34
cmp ah, bl
je 0x403e62
test ah, ah
je 0x403e34
jmp 0x403df8
pop esi
pop edi
lea eax, [edx - 1]
pop ebx
ret
lea eax, [edx - 2]
pop esi
pop edi
pop ebx
ret
lea eax, [edx - 3]
pop esi
pop edi
pop ebx
ret
lea eax, [edx - 4]
pop esi
pop edi
pop ebx
ret
Function at 0x442024
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x442029
pushal
clc
jae 0x44202f
int1
sub eax, 0x4e8
add dl, dh
xchg ecx, eax
call 0x442038
xchg ecx, eax
xor ecx, ecx
pop ebx
jmp 0x44203e
add ebx, 0xffffffcc
jmp 0x44204c
cmp dword [ebx], 0
clc
jae 0x442059
sbb edx, edx
jp 0x442064
fcom dword [ebp - 1]
je 0x4420ee
jae 0x442067
inc eax
fsubr dword [eax + ecx*8 - 0x4740fa9]
enter 0xfffffffffffff057, 0xffffffffffffff8b
sti
mov edi, ebx
jae 0x44206e
push esp
stc
lodsd eax, dword [esi]
add ebx, 4
jmp 0x44207b
mov eax, dword [ebx]
jmp 0x442088
add eax, ebx
clc
jmp 0x442096
mov edx, dword [ebx + 4]
jmp 0x44209f
sub dword [eax], 0xbee1edea
jmp 0x4420ab
add eax, 4
jmp 0x4420b5
sub edx, 1
stc
jb 0x4420bf
iretd
jne 0x442099
jb 0x4420ce
cmp eax, esi
in al, dx
xlatb
mul dword [eax]
add ebx, 8
jmp 0x4420d8
sub dword [edi], 1
clc
jae 0x4420df
ret 0x850f
jne 0x442071
stc
jmp 0x4420e9
call 0x4420fc
jmp 0x4420f2
popal
stc
jb 0x4420f7
daa
jmp 0x43bfd0
Function at 0x40abfb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040720a
and dword [ebp - 0x14], 0
cmp dword [0x44c060], 0
mov dword [ebp - 0x18], eax
jne 0x40acae
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ad56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40ad56
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x44c060], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x44c064], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x44c068], eax
call edi
push eax
call esi
mov dword [0x44c070], eax
test eax, eax
je 0x40acae
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x44c06c], eax
mov eax, dword [0x44c06c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ad07
cmp dword [0x44c070], ecx
je 0x40ad07
push eax
call esi
push dword [0x44c070]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ad07
test ebx, ebx
je 0x40ad07
call edi
test eax, eax
je 0x40acfe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40acfe
test byte [ebp - 8], 1
jne 0x40ad07
or dword [ebp + 0x10], 0x200000
jmp 0x40ad3a
mov eax, dword [0x44c064]
cmp eax, dword [ebp - 0x18]
je 0x40ad3a
push eax
call esi
test eax, eax
je 0x40ad3a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ad3a
mov eax, dword [0x44c068]
cmp eax, dword [ebp - 0x18]
je 0x40ad3a
push eax
call esi
test eax, eax
je 0x40ad3a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44c060]
call esi
test eax, eax
je 0x40ad56
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ad58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af75
leave
ret

Function at 0x40af75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d410]
jne 0x40af7f
repz ret
jmp fcn.00413ece
Function at 0x41b200
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0xc2c
cmp dword [0x2b75bc4], 0x37
jne 0x41b26d
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleSelectionInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea edx, [esp]
push edx
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea ecx, [esp + 0x42c]
push ecx
push 0x4035f0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov edx, dword [0x2b75fd8]
mov ecx, dword [0x2b756a8]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0xc2c
ret
Function at 0x101d3f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10208938], 0x132a
mov dword [0x10208934], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101d418b
lea eax, [0x101d6603]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x13c]
add esi, 0x11c251
mov edi, dword [ebp - 0x13c]
add edi, 0x925b7
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], esi
call fcn.101d4578
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x150]
mov dword [esp + 0xc], edx
call fcn.101d4b51
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x14c]
mov dword [ecx], edx
mov dword [ecx + 4], 0x12a400
mov edx, dword [ebp - 0x140]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f60
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x154]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101d6624]
mov dh, byte [eax + 0x101d65f5]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x154], ecx
je 0x101d411b
jmp 0x101d403b
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x15c]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0x2c
mov edi, dword [ebx]
imul ebx, eax, 0x178
add edx, ebx
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x13c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
call fcn.101d4ac5
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add eax, ecx
mov edx, dword [ebp - 0x160]
add edx, 1
cmp edx, 0x21c
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
je 0x101d3f8e
jmp 0x101d4071
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x16c], eax
mov dword [0x10208938], 0x156a
call fcn.101d47e4
mov dword [esp], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], eax
call fcn.101d50f9
mov ecx, eax
mov dword [0x10208954], eax
mov eax, esp
mov edx, dword [ebp - 0x150]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], ecx
jmp 0x101d4071
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
add edx, edi
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x21c
mov ecx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x101d418b
xor eax, eax
mov dword [0x10208934], 0x1177
mov dword [ebp - 0x154], eax
jmp 0x101d403b
Function at 0x101d41fb
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.1000108e
cmp eax, 0
sete cl
mov byte [esp + 0x2f], cl
xor eax, eax
mov cl, byte [esp + 0x2f]
test cl, 1
mov dword [esp + 0x28], eax
jne 0x101d4347
jmp 0x101d4390
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.101d3f50
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
lea eax, [0x101d532c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], 0x12a400
mov dword [0x10208934], 0x15a6
mov edx, dword [0x10208920]
mov dword [esp + 0x60], edx
mov edx, dword [0x10208924]
mov dword [esp + 0x44], edx
mov edx, dword [0x10208928]
mov dword [esp + 0x8c], edx
mov edx, dword [0x1020892c]
mov dword [esp + 0x50], edx
mov edx, dword [0x10208930]
mov dword [esp + 0x74], edx
mov dword [0x10208938], 0x109b
mov dword [esp + 0x1c], eax
jmp 0x101d42cf
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x101d42e3
jmp 0x101d4379
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x101d42b6
jmp 0x101d4379
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [0x10208934], 0xfffff682
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101d4d9b
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10208934]
add ecx, 0xffffe5c3
mov dword [0x10208938], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jmp 0x101d4390
lea eax, [esp + 0x40]
mov ecx, dword [0x10208934]
add ecx, 0xffffefd3
mov dword [0x10208934], ecx
mov dword [esp + 0xc], eax
call fcn.101d46da
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x101d4231
jmp 0x101d433d
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101d42cf
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret