joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425850
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x425945
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x3e
xor eax, eax
mov dword [ebp - 0x24], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.00403170
push 0x2f
push str.HardDiskManager::CheckFreeSpace_FAIL_code_ld_r_n
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00403390
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x4258e4
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx eax, word [ebp - 0x12]
push 0x23
push str.Utils::HardDiskManager::CheckFreeSpace
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.00421d50
mov eax, dword [ebp - 0x24]
add esp, 0x34
cmp eax, 8
jb 0x425941
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.004017c0
xor al, al
jmp 0x425947
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4

Function at 0x425970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareHuDunSoft_siweidaotu_pc
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4259dd
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4259b2
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove esi, ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
Function at 0x425a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareHuDunSoft_siweidaotu_pc
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425a60
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x425a72
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ee25a
mov ecx, dword [ebp - 0xc]
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push esi
call fcn.004d7060
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x425ad7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00402f40
push esi
call fcn.004edf19
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop esi
pop edi
pop ebx
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
Function at 0x42a5b0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 1
push 0
lea eax, [ebp - 0x10]
mov dword [esi + 4], 0
push eax
lea edi, [esi + 4]
mov dword [esi], 0
push esi
push edi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xc
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x42a620
mov eax, dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42a618
push eax
call esi
mov eax, dword [edi]
test eax, eax
je 0x42a637
jmp 0x42a634
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 8
push eax
call esi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004226e0
push 0x575c64
lea eax, [ebp - 0x1c]
push eax
call fcn.004d7590
int3

Function at 0x431d70
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x431d95
or esi, 2
push 1
call edi
test ax, ax
jns 0x431da1
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x431dad
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x431db9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x447ca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x694], 0
je 0x447d0f
cmp dword [ebp + 8], 0x100
jne 0x447cff
cmp word [ebp + 0xc], 0xd
jne 0x447cff
cmp byte [esi + 0x69a], 0
je 0x447cde
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x447cff
cmp byte [esi + 0x69b], 0
jne 0x447cff
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x447cf8
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.00435500
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x694]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x4481b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x4482aa
movzx eax, word [ebx]
test ax, ax
je 0x4482aa
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x4481f0
cmp ax, 0x5c
jne 0x4481f2
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4481e4
cmp edi, ebx
je 0x44823f
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.00516833
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4482ba
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004481b0
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x448250
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x448262
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x448280
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
call fcn.004ee96a
int3

Function at 0x4489a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x448a39
cmp dword [esi + 4], 0xffffffff
jne 0x448a39
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4489d0
cmp dword [ebp + 0x10], 1
mov eax, dword [0x5634a0]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x448a03
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x448a03
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0044b320
add esp, 0x10
test eax, eax
jne 0x448a23
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.0044bb60
add esp, 4
mov dword [esi], eax
mov eax, dword [0x57dd30]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x1029058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010291a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x102907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102906a
add dl, dl
jne 0x1029089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10290dc
xor eax, eax
add dl, dl
jne 0x1029096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102917d
add dl, dl
jne 0x10290a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10290b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10290bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10290c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10290d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1029075
mov eax, 1
add dl, dl
jne 0x10290ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10290f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10290e1
sub eax, ebx
mov ebx, 1
jne 0x1029128
mov ecx, 1
add dl, dl
jne 0x102910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1029119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1029105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1029075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x102913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x102914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1029136
cmp eax, 0x7d00
jae 0x102916d
cmp eax, 0x500
jb 0x1029168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1029075
cmp eax, 0x7f
ja 0x1029170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1029075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x102919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1029075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x577b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x5770ac]
push esi
push edi
test eax, eax
jne 0x577bcd
mov esi, 0x577284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x577b8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x577b7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x57729c
mov dword [edx], eax
jl 0x577b6d
mov ecx, dword [0x5770ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x5772ac
push ecx
mov dword [0x5770a4], eax
call fcn.00577d80
add esp, 0xc
mov dword [0x5770a8], eax
mov dword [ebp - 4], 0
mov esi, 0x577284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x577c16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x577c16
cmp al, 0x5a
jg 0x577c02
cmp al, 0x41
jl 0x577c02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x577c08
xor al, 0x55
cmp cl, al
jne 0x577c16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x577be1
cmp byte [edx], 0
je 0x577c36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x57729c
mov dword [ebp - 4], edx
jl 0x577bd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x577280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret

Function at 0x578780
Capabilities:
Encode data using xor

Disassembly:
ror cl, 1
push eax
sub dh, byte [eax - 0x2e]
cmp cl, byte [esi + 0x2a9f10e3]
pop ebx
push cs
aad 0xb4
adc dword [ebx + 0x36], esi
fdiv qword [edx - 0x61]
add ah, byte [eax + 0x5350c987]
inc edi
invalid
Function at 0x406bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406bcf
pop dword [ebp - 0x18]
mov eax, 0x91a728ef
sub eax, 0x9166bd20
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xcd930843
add dword [ebp - 0x28], 0x80bf3d08
mov dword [ebp - 0x24], 0x185b318a
sub dword [ebp - 0x24], 0xe627e545
mov dword [ebp - 0x20], 0xd42347d3
add dword [ebp - 0x20], 0x7828fc5b
mov dword [ebp - 0x1c], 0x2f176f57
sub dword [ebp - 0x1c], 0x2f176f57
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xb8fd5915
sub dword [ebp - 0x28], 0x448aefbf
mov dword [ebp - 0x24], 0x47cfe171
add dword [ebp - 0x24], 0xf99c8004
mov dword [ebp - 0x20], 0xb9d67957
sub dword [ebp - 0x20], 0x56670ceb
mov dword [ebp - 0x1c], 0x6434416b
add dword [ebp - 0x1c], 0x9bcbbe95
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x9417c7b2
sub eax, 0x93d69776
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3bdfe
push 0
call eax
mov ecx, 0x52f09969
sub ecx, 0x52f05263
xor edx, edx
add edx, eax
mov ebx, 0x828db893
add ebx, 0x7db3f76d
add ebx, dword [ebp - 0x18]
mov esi, 0x9722858b
sub esi, 0xe82d457f
sub dword [ebp - 8], 0x76d42bb3
mov edi, dword [ebx]
sub dword [ebp - 0x14], ecx
xor edi, esi
add dword [ebp - 8], 0xbd2ae0b1
mov dword [edx], edi
sub dword [ebp - 4], eax
add edx, 0xe194b80c
sub edx, 0xe194b808
add ebx, 0x4d0500ab
add ebx, 0xb2faff59
loop 0x406cee
add eax, 0xe07acd5b
sub eax, 0xe079be70
mov ebx, eax
add eax, 0x147826cc
add eax, 0xeb87d939
mov ecx, 0x94c64044
sub ecx, 0x94864044
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret

Function at 0x778ebab0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x778ebaee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x778ebae6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x778ebaf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x778ebad6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x778ebbc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x778ebbf1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x778ebbf1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x778ebbf1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6dff17f3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6a571862
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4209ab
Capabilities:
Parse pe header

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

Function at 0x433160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43318d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43318d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x4013e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x554
mov eax, dword [0x4251c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00401a90
add esp, 4
test eax, eax
je 0x401408
jmp 0x401608
mov ecx, dword [ebp + 8]
push ecx
push str._s
push 0x200
lea edx, [ebp - 0x404]
push edx
call fcn.00402370
add esp, 0x10
lea eax, [ebp - 0x544]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x54c], eax
cmp dword [ebp - 0x54c], 0xffffffff
jne 0x40144d
jmp 0x401608
push 0x425164
lea edx, [ebp - 0x518]
push edx
call fcn.00406f90
add esp, 8
test eax, eax
je 0x4015de
push 0x425168
lea eax, [ebp - 0x518]
push eax
call fcn.00406f90
add esp, 8
test eax, eax
je 0x4015de
lea ecx, [ebp - 0x518]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s
push 0x200
lea eax, [ebp - 0x204]
push eax
call fcn.00402370
add esp, 0x14
mov ecx, dword [ebp - 0x544]
and ecx, 0x10
je 0x4014dd
cmp dword [ebp + 0x14], 3
jge 0x4014d8
mov edx, dword [ebp + 0x14]
add edx, 1
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.004013e0
add esp, 0x10
jmp 0x4015de
push 0x2e
lea eax, [ebp - 0x518]
push eax
call fcn.00404d20
add esp, 8
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401970
add esp, 4
test eax, eax
jne 0x401531
cmp dword [ebp - 0x550], 0
je 0x401525
push str..lnk
mov edx, dword [ebp - 0x550]
push edx
call fcn.0040712b
add esp, 8
test eax, eax
je 0x401531
mov eax, dword [ebp + 8]
push eax
call fcn.004019f0
add esp, 4
push 0x34
call fcn.0040721f
add esp, 4
mov dword [ebp - 0x548], eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.0040701c
add esp, 4
mov edx, dword [ebp - 0x548]
mov dword [edx], eax
push 0x20
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x548]
add ecx, 4
push ecx
call fcn.004047a0
add esp, 0xc
push 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x548]
add eax, 0x24
push eax
call fcn.004047a0
add esp, 0xc
push 0x426800
mov ecx, dword [ebp - 0x548]
push ecx
push 0x401620
call dword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
mov dword [ebp - 0x554], eax
cmp dword [ebp - 0x554], 0
je 0x4015be
mov edx, dword [ebp - 0x554]
push edx
call dword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
nop
jmp 0x4015de
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax]
push ecx
call fcn.00407204
add esp, 4
mov edx, dword [ebp - 0x548]
push edx
call fcn.00407204
add esp, 4
lea eax, [ebp - 0x544]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40144d
mov edx, dword [ebp - 0x54c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402404
mov esp, ebp
pop ebp
ret