joyce8/EMBER2024-capa huggingface dataset:
Function at 0x516e78
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405d48
xor eax, eax
push ebp
push 0x51707d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
add eax, edx
cmp eax, 0xc2e8
jge 0x516f67
cmp eax, 0xb7a2
jge 0x516f0a
cmp eax, 0xb2c1
jge 0x516edf
add eax, 0xffff4f5f
sub eax, 0x24
jb 0x517009
sub eax, 0x1fc
jb 0x51700d
jmp 0x517065
add eax, 0xffff4d3f
sub eax, 0x22d
jb 0x517011
sub eax, 0x1fc
jb 0x517015
sub eax, 0xb8
jb 0x517019
jmp 0x517065
cmp eax, 0xbbf7
jge 0x516f3c
add eax, 0xffff485e
sub eax, 0x11f
jb 0x51701d
sub eax, 0x13d
jb 0x517021
sub eax, 0x1f9
jb 0x517025
jmp 0x517065
add eax, 0xffff4409
sub eax, 0x3af
jb 0x517029
sub eax, 0x106
jb 0x51702d
sub eax, 0x23c
jb 0x517031
jmp 0x517065
cmp eax, 0xc8f6
jge 0x516fc7
cmp eax, 0xc5be
jge 0x516f9e
add eax, 0xffff3d18
sub eax, 0x1db
jb 0x517035
sub eax, 0xf3
jb 0x517039
sub eax, 8
jb 0x51703d
jmp 0x517065
add eax, 0xffff3a42
sub eax, 0x11c
jb 0x517041
sub eax, 0x1e1
jb 0x517045
sub eax, 0x3b
jb 0x517049
jmp 0x517065
cmp eax, 0xcef4
jge 0x516fea
add eax, 0xffff370a
sub eax, 0x304
jb 0x51704d
sub eax, 0x1e0
jb 0x517051
sub eax, 0x11a
jb 0x517055
jmp 0x517065
add eax, 0xffff310c
sub eax, 0x295
jb 0x517059
add eax, 0xffffffd0
sub eax, 0x318
jb 0x51705d
sub eax, 0x329
jb 0x517061
jmp 0x517065
mov bl, 0x41
jmp 0x517067
mov bl, 0x42
jmp 0x517067
mov bl, 0x43
jmp 0x517067
mov bl, 0x44
jmp 0x517067
mov bl, 0x45
jmp 0x517067
mov bl, 0x46
jmp 0x517067
mov bl, 0x47
jmp 0x517067
mov bl, 0x48
jmp 0x517067
mov bl, 0x4a
jmp 0x517067
mov bl, 0x4b
jmp 0x517067
mov bl, 0x4c
jmp 0x517067
mov bl, 0x4d
jmp 0x517067
mov bl, 0x4e
jmp 0x517067
mov bl, 0x4f
jmp 0x517067
mov bl, 0x50
jmp 0x517067
mov bl, 0x51
jmp 0x517067
mov bl, 0x52
jmp 0x517067
mov bl, 0x53
jmp 0x517067
mov bl, 0x54
jmp 0x517067
mov bl, 0x57
jmp 0x517067
mov bl, 0x58
jmp 0x517067
mov bl, 0x59
jmp 0x517067
mov bl, 0x5a
jmp 0x517067
mov bl, 0x20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517084
lea eax, [ebp - 4]
call fcn.004058c8
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40288e
pop dword [ebp - 0x2c]
mov eax, 0x91aa15ad
sub eax, 0x9169ed1f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x68c9612e
sub dword [ebp - 0x3c], 0x1a771be3
mov dword [ebp - 0x38], 0x7e9407ca
add dword [ebp - 0x38], 0xb39f447b
mov dword [ebp - 0x34], 0xfe2ad517
sub dword [ebp - 0x34], 0xb1de90e9
mov dword [ebp - 0x30], 0x242db8a5
add dword [ebp - 0x30], 0xdbd2475b
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xd5570087
add dword [ebp - 0x3c], 0x9f1b68cf
mov dword [ebp - 0x38], 0xd88bb4e8
sub dword [ebp - 0x38], 0x971f5373
mov dword [ebp - 0x34], 0xa1bc1dd0
add dword [ebp - 0x34], 0xc1b34e9c
mov dword [ebp - 0x30], 0xe74558d3
add dword [ebp - 0x30], 0x18baa72d
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x99f50ffb
add eax, 0x664b70d9
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38146
push 0
call eax
mov ecx, 0xfca4a2c
sub ecx, 0xfc9fc3d
xor esi, esi
add esi, eax
mov edx, 0x411000
add edx, dword [ebp - 0x2c]
mov ebx, 0x5f3011ae
sub ebx, 0x70a0c3ce
xor dword [ebp - 0x14], ebx
mov edi, dword [edx]
sub dword [ebp - 8], 0x4a3905d9
sub edi, ebx
add dword [ebp - 0x20], 0x95d32807
mov dword [esi], edi
sub dword [ebp - 0x24], ebx
add esi, 0x4ae612f5
add esi, 0xb519ed0f
add edx, 4
loop 0x4029a7
add eax, 0x66a4c6d1
sub eax, 0x66a39c42
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x58f96a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x58f987
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x58f98c
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x58f9cc
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x58fa0a
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x58fa12
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.0058fa38
pop ecx
test eax, eax
pop ecx
jne 0x58fa00
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x58f9d9
jmp 0x58fa12
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x58fa30
cmp dword [ebp - 4], esi
jbe 0x58fa30
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x58fa30
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x58fa33
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x58fa62
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x58fa6e
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x58fa79
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80

Function at 0x4738ad
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4735cc
mov ecx, ecx
dec eax
add eax, 0xabfad33c
call fcn.004738e2
add ecx, eax
dec eax
mov ecx, 0xa2960220
xor dword [edx], esi
add ecx, eax
add edx, 2
or ecx, ecx
sub eax, 0xdaaf3720
cmp edx, ebx
jl fcn.004738ad
dec eax
ret
Function at 0x401290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x214
mov edi, ecx
mov esi, edx
push 0
push edi
call fcn.0040abc0
add esp, 0xc
movzx eax, si
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [edi + 0x210], 0
push str.Binary
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401311
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [edi + 4], eax
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov al, byte [ebp + 0xc]
mov byte [edi + 0x210], al
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x401320
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x418008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x40134b
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401350
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx - 1]
test eax, eax
js 0x401371
cmp word [ebx + eax*2], 0x5c
je 0x401383
dec eax
jns 0x401367
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
lea esi, [ebx + eax*2]
test esi, esi
je 0x401371
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4013a7
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0040abc0
sub esi, ebx
add esp, 0xc
sar esi, 1
test esi, esi
jle 0x4013da
mov ecx, esi
mov esi, ebx
push edi
shr ecx, 1
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
pop edi
lea ecx, [ebp - 0x20c]
call fcn.00401320
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
test eax, eax
pop esi
setne al
xor ecx, ebp
pop ebx
call fcn.004034cd
mov esp, ebp
pop ebp
ret
Function at 0x401410
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4107c8
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x418008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40154c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4014d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x416520
mov byte [esi], 0
call fcn.004021b0
cmp dword [ebp - 0x18], 0x10
jb 0x40158c
push dword [ebp - 0x2c]
call fcn.00403d4f
add esp, 4
jmp 0x40158c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x401545
push edi
call fcn.004034c4
add esp, 4
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jle 0x401539
cmp dword [ebp - 0x14], edi
jne 0x401539
lea eax, [ebp - 0x4c]
push eax
push edi
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0xc0]
push edi
call fcn.00402880
mov ecx, eax
call fcn.00403190
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f00
lea ecx, [ebp - 0x4c]
call fcn.00401f80
jmp 0x40153c
mov edi, dword [ebp - 0x30]
push edi
call fcn.00403d28
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jae 0x40157e
mov eax, dword [ebp - 0x1c]
inc eax
je 0x401583
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004034e0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
jmp 0x401583
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
Function at 0x4015b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x418008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4015fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004034cd
mov esp, ebp
pop ebp
ret
Function at 0x401630
Capabilities:
Check if file exists
Hash data with md5
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410800
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x418008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0x41a490
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40167c
mov ecx, 0x41a490
call fcn.00401320
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4017d1
cmp byte [esi + 0x210], 0
je 0x401834
mov edx, ebx
lea ecx, [ebp - 0x48]
call fcn.00401410
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
push dword [esi + 4]
mov byte [ebp - 0xc4], 0
push dword [esi]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xc0], 0x67452301
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
call fcn.004029d0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00403190
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00402110
test eax, eax
je 0x40179b
cmp byte [0x41a480], 0
je 0x401741
push 0x419320
jmp 0x401759
push dword [esi + 4]
mov edx, dword [esi]
mov ecx, ebx
call fcn.004015b0
add esp, 4
test al, al
jne 0x40179b
push 0x419250
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x18], 0x10
jb 0x401771
push dword [ebp - 0x2c]
call fcn.00403d4f
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x401794
push dword [ebp - 0x48]
call fcn.00403d4f
add esp, 4
xor al, al
jmp 0x401836
cmp dword [ebp - 0x18], 0x10
jb 0x4017ac
push dword [ebp - 0x2c]
call fcn.00403d4f
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x401834
push dword [ebp - 0x48]
call fcn.00403d4f
add esp, 4
jmp 0x401834
mov eax, dword [esi + 4]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov dword [ebp - 0x50], eax
mov eax, dword [esi]
push ebx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401813
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x419250
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor al, al
jmp 0x401836
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
Function at 0x401d20
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x2027c
call fcn.00410520
mov eax, dword [0x418008]
xor eax, esp
mov dword [esp + 0x20278], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push eax
call fcn.0040abc0
add esp, 0xc
lea eax, [esp + 0x70]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401ed4
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x401ed4
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401ed4
xor eax, eax
push 0xfffe
push eax
mov word [esp + 0x10280], ax
lea eax, [esp + 0x10282]
push eax
call fcn.0040abc0
add esp, 0xc
lea ecx, [esp + 0x10278]
call fcn.00401860
test al, al
je 0x401ec3
push 0x44
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0040abc0
add esp, 0xc
mov dword [esp + 0x28], 0x44
mov eax, 1
mov dword [esp + 0x54], 1
mov word [esp + 0x58], ax
xorps xmm0, xmm0
xor eax, eax
movdqa xmmword [esp + 0x10], xmm0
push 0xfffe
push eax
mov word [esp + 0x280], ax
lea eax, [esp + 0x282]
push eax
call fcn.0040abc0
add esp, 0xc
lea eax, [esp + 0x278]
push 0x41659c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x278]
push 0x41a698
push eax
call esi
push 0x4165a0
lea eax, [esp + 0x27c]
push eax
call esi
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x27c]
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x298]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401ed4
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20278]
xor ecx, esp
call fcn.004034cd
mov esp, ebp
pop ebp
ret
push 0x10
push 0x416590
lea eax, [esp + 0x10280]
push eax
jmp 0x401ee0
push 0x10
push 0x416590
push 0x419250
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x2027c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004034cd
mov esp, ebp
pop ebp
ret

Function at 0x402880
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov byte [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004029d0
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x40bc7e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407ff5
mov dword [ebp - 0x14], eax
cmp dword [0x41a458], esi
jne 0x40bd71
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40bcfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40be51
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40be51
push 0x415bfc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40be51
push eax
call ebx
push 0x415c08
push edi
mov dword [0x41a458], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41a45c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41a460], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41a468], eax
test eax, eax
je 0x40bd6e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41a464], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40bd96
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40bd89
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40bdab
push 4
pop eax
jmp 0x40be53
cmp dword [ebp - 0x14], esi
je 0x40bdab
push dword [0x41a458]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40bd90
mov eax, dword [0x41a464]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40be09
cmp dword [0x41a468], edi
je 0x40be09
push eax
call ebx
push dword [0x41a468]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40be09
test eax, eax
je 0x40be09
call ecx
test eax, eax
je 0x40bdfe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40bdfe
test byte [ebp - 8], 1
jne 0x40be09
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40be39
mov eax, dword [0x41a45c]
cmp eax, edi
je 0x40be36
push eax
call ebx
test eax, eax
je 0x40be36
call eax
mov esi, eax
test esi, esi
je 0x40be36
mov eax, dword [0x41a460]
cmp eax, edi
je 0x40be36
push eax
call ebx
test eax, eax
je 0x40be36
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41a458]
call ebx
test eax, eax
je 0x40be51
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40be53
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004034cd
mov esp, ebp
pop ebp
ret
Function at 0x41f4f8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f4fe
ret

Function at 0x454412
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.kernel32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x454438
jmp 0x45454e
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x454458
jmp 0x45454e
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00459551
add esp, 4
mov dword [0x4670a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x4544a5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x4544c5
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x4544a2
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.kernel32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45452d
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004590f4
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll__lwrite]
jmp 0x4544e1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.kernel32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret