joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469300
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41587c]
call fcn.00404f60
xor eax, eax
push ebp
push 0x469444
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47c0dc], 0
jne 0x469353
mov ecx, dword [0x47c23c]
mov dl, 1
mov eax, dword [0x407984]
call fcn.0040c864
call fcn.00403f54
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031b8
mov eax, ebx
call fcn.00404e2c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x469454
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405fa0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e3c
test eax, eax
jle 0x4693eb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4693e4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040484c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404834
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408814
test eax, eax
jne 0x4693e4
mov ebx, 0x15
jmp 0x4693f0
mov ebx, 0x10
jmp 0x4693f0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x47c0dc]
call fcn.00469258
mov eax, dword [ebp - 8]
call fcn.00469258
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46944b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045e8
lea eax, [ebp - 0x10]
mov edx, dword [0x41587c]
call fcn.00405030
ret
Function at 0x470c98
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470e7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, 0x470e94
mov eax, 0x80000002
call fcn.0045cfcc
cmp dword [ebp - 8], 0
jne 0x470ce0
lea ecx, [ebp - 8]
mov edx, 0x470e94
mov eax, 0x80000001
call fcn.0045cfcc
cmp dword [ebp - 8], 0
je 0x470d10
push 0x470ec0
push dword [ebp - 8]
push 0x470eec
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404944
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov eax, 0x80000002
call fcn.0045cfcc
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x470d25
mov edx, dword [ebp - 4]
mov eax, 0x470f08
call fcn.0045d12c
lea ecx, [ebp - 8]
mov edx, 0x104
xor eax, eax
call fcn.00404c74
mov eax, dword [ebp - 8]
call fcn.00404884
push eax
mov eax, dword [ebp - 8]
call fcn.00404a84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a84
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00408884
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x470e5b
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dl, 0x22
call fcn.0045d434
cmp dword [ebp - 8], 0
je 0x470e5b
mov eax, dword [ebp - 4]
call fcn.004045c4
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403784
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x470e3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0041a2d0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x470e26
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x470f18
call fcn.0040d520
test eax, eax
jg 0x470e22
mov edx, dword [ebp - 8]
mov eax, 0x470f24
call fcn.0040d520
test eax, eax
jg 0x470e22
mov edx, dword [ebp - 8]
mov eax, 0x470f30
call fcn.0040d520
test eax, eax
jg 0x470e22
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebp - 8]
push 0x470f3c
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00404944
inc esi
dec ebx
jne 0x470dc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470e43
mov eax, dword [ebp - 0xc]
call fcn.004037b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470e85
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045e8
lea eax, [ebp - 8]
call fcn.004045c4
ret
Function at 0x47116c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x471224
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x34], 0
je 0x471209
cmp dword [ebx + 0x38], 0
jne 0x4711d4
push 5
push 0
push 0
mov eax, dword [ebx + 0x34]
call fcn.00404a84
push eax
push 0x471230
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x471209
push 5
lea eax, [ebp - 4]
mov ecx, dword [ebx + 0x34]
mov edx, 0x471240
call fcn.004048d0
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
call sub.kernel32.dll_WinExec
jmp 0x471209
push 5
lea ecx, [ebp - 0xc]
mov dl, 0x22
mov eax, dword [ebx + 0x38]
call fcn.0045d3e0
push dword [ebp - 0xc]
push 0x471254
push dword [ebx + 0x34]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404944
mov eax, dword [ebp - 8]
call fcn.00404a84
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47122b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004045e8
ret

Function at 0x471258
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x34], 0
je 0x471294
push 5
push 0
push 0
mov eax, dword [esi + 0x34]
call fcn.00404a84
push eax
push 0x471298
push 0
call sub.shell32.dll_ShellExecuteA
test bl, bl
je 0x471294
cmp eax, 2
je 0x471294
cmp eax, 0x20
jg 0x471294
mov eax, esi
call fcn.0047116c
pop esi
pop ebx
ret
Function at 0x473404
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47359c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0041ad1c
mov ebx, eax
mov eax, dword [0x47c1f8]
call fcn.00404884
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00404c10
mov eax, dword [ebp - 0x1c]
call fcn.00404884
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404a84
mov edx, eax
mov eax, dword [ebp - 0xc]
pop ecx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x47c1f8]
call fcn.004049d0
jne 0x473562
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.0046087c
mov eax, dword [ebp - 0xc]
call fcn.00460838
mov edx, dword [ebp - 4]
mov byte [edx + 0x44], al
mov eax, dword [ebp - 0xc]
call fcn.0046084c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x44], 0
je 0x473559
cmp dword [ebp - 8], 0
jle 0x473559
mov eax, dword [ebp - 8]
call fcn.00402ac0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x473552
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00460e14
xor eax, eax
push ebp
push 0x473535
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0041ada0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004073a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47353c
mov eax, dword [ebp - 0x14]
call fcn.00402af0
ret
push ebp
call fcn.004733c0
pop ecx
jmp 0x473581
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.0041ad3c
mov eax, dword [ebp - 0xc]
call fcn.0046084c
mov dword [ebp - 8], eax
push ebp
call fcn.004733c0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4735a3
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004045e8
ret
Function at 0x4765cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x476677
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004092c4
test al, al
jne 0x476609
mov eax, dword [ebp - 4]
call fcn.004092d4
test al, al
je 0x476661
lea eax, [ebp - 4]
mov dl, 1
call fcn.004764c4
lea eax, [ebp - 0x23]
mov dl, byte [ebp - 5]
call fcn.00476508
test byte [ebp - 5], 1
je 0x476631
lea eax, [ebp - 4]
mov edx, 0x476690
call fcn.0040488c
mov dword [ebp - 0x1f], 3
mov eax, dword [ebp - 4]
call fcn.00404a84
mov dword [ebp - 0x1b], eax
xor eax, eax
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.00476554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47667e
lea eax, [ebp - 4]
call fcn.004045c4
ret
Function at 0x431980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e000]
push edi
or ebp, 0xffffffff
jmp 0x4319a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4319a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431998
mov eax, 1
add ebx, ebx
jne 0x4319bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4319b0
jne 0x4319cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4319b0
xor ecx, ecx
sub eax, 3
jb 0x4319e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x431a52
mov ebp, eax
add ebx, ebx
jne 0x4319eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4319f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x431a1c
inc ecx
add ebx, ebx
jne 0x431a08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4319fd
jne 0x431a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4319fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x431a3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x431a2d
jmp 0x43199e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x431a3c
add edi, ecx
jmp 0x43199e
pop esi
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x431aa4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431a59
mov ecx, edi
jns 0x431a88
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x31080]
or eax, eax
je 0x431a9e
mov dword [ebx], eax
add ebx, 4
jmp 0x431a76
call dword [esi + 0x3107c]
mov ebp, dword [esi + 0x31084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x431ad8
sub esp, 0xffffff80
jmp 0x42d758
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
jmp 0x50a204

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x266b74af
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x7ccb56dc
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40beb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40bed2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40bed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40bec8
mov eax, 1
add ebx, ebx
jne 0x40beeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40bee0
jne 0x40befc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40bee0
xor ecx, ecx
sub eax, 3
jb 0x40bf10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40bf82
mov ebp, eax
add ebx, ebx
jne 0x40bf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40bf28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40bf4c
inc ecx
add ebx, ebx
jne 0x40bf38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40bf2d
jne 0x40bf49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40bf2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40bf6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40bf5d
jmp 0x40bece
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40bf6c
add edi, ecx
jmp 0x40bece
pop esi
mov edi, esi
mov ecx, 0x128
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40bf8a
cmp byte [edi], 1
jne 0x40bf8a
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 eax, ebx
loop 0x40bf8f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40c007
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe148]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe1d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40bfbc
mov ecx, edi
jns 0x40bfeb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe1d8]
or eax, eax
je 0x40c001
mov dword [ebx], eax
add ebx, 4
jmp 0x40bfd9
call dword [esi + 0xe1dc]
popal
jmp 0x4036aa
Function at 0x402a90
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x422eac
call fcn.00402dd0
push 0x40
push 0x40d418
push 0x422eac
push 0x422eac
call fcn.00402cf0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x402b1b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x41264c]
mov ecx, 8
mov esi, eax
mov edi, 0x422e8c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00402c30
mov ecx, dword [0x412648]
mov edx, dword [0x41264c]
push 0x20
push ecx
push edx
call fcn.00402d40
mov edi, dword [0x412648]
add esp, 0x14
mov ecx, 8
mov esi, 0x422e8c
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x402acf
jmp 0x402b74
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x412648]
mov ecx, 8
mov esi, eax
mov edi, 0x422e8c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00402c30
mov ecx, dword [0x41264c]
mov edx, dword [0x412648]
push 0x20
push ecx
push edx
call fcn.00402d40
mov edi, dword [0x41264c]
add esp, 0x14
mov ecx, 8
mov esi, 0x422e8c
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x402b2a
push 0x40
push 0x40d458
push 0x422eac
push 0x422eac
call fcn.00402cf0
mov eax, dword [esp + 0x24]
push 0x40
push 0x422eac
push eax
call fcn.00402e10
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x402bb0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x422e4c
call fcn.00402dd0
push 0x38
push str.91__
push 0x422e4c
push 0x422e4c
call fcn.00402cf0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x40d550]
mov edx, dword [0x412650]
push ecx
push 0x1c
push edx
call fcn.00402d70
movsx eax, byte [esi + 0x40d550]
mov ecx, dword [0x412654]
push eax
push 0x1c
push ecx
call fcn.00402d70
push 0x30
push 0x40d520
push 0x422e4c
push edi
call fcn.00402cf0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x402be2
pop edi
pop esi
ret

Function at 0x402c30
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x40d498
push esi
push 0x422e1c
call fcn.00402cf0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x422e1c
call fcn.00402d40
push 0x422e1c
push esi
call fcn.00402c80
push 0x20
push 0x40d4c8
push esi
push esi
call fcn.00402cf0
add esp, 0x34
pop esi
ret

Function at 0x402d40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x402d62
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x402d54
pop ebx
pop esi
ret
Function at 0x403320
Capabilities:
Delete file

Disassembly:
sub esp, 0xcc
mov ecx, 0x33
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, eax
mov eax, dword [esp + 0xdc]
neg ecx
sbb ecx, ecx
pop edi
inc ecx
mov dword [eax + 4], 0
mov dword [eax], ecx
pop esi
add esp, 0xcc
ret

Function at 0x403370
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x320
mov ecx, 0x33
push esi
mov esi, dword [esp + 0x328]
push edi
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x5c]
test eax, eax
jge 0x4033cb
push 0
push 0
lea eax, [esp + 0x68]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
mov eax, dword [esp + 0x330]
pop edi
setl cl
mov dword [eax], ecx
mov dword [eax + 4], 0
pop esi
add esp, 0x320
ret
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x60]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x12c]
push str.cmd.exe__c___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x41270c
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x148]
mov dword [esp + 0x38], 0x44
push eax
push 0
mov dword [esp + 0x48], str.WinSta0Default
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403486
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
mov eax, dword [esp + 0x330]
pop edi
pop esi
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x320
ret
mov eax, dword [esp + 0x330]
pop edi
pop esi
mov dword [eax], 1
mov dword [eax + 4], 0
add esp, 0x320
ret

Function at 0x4034b0
Capabilities:
Copy file

Disassembly:
sub esp, 0xcc
mov ecx, 0x33
lea eax, [esp + 0x68]
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 1
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, eax
mov eax, dword [esp + 0xdc]
neg edx
sbb edx, edx
pop edi
inc edx
mov dword [eax + 4], 0
mov dword [eax], edx
pop esi
add esp, 0xcc
ret

Function at 0x403500
Capabilities:
Move file

Disassembly:
sub esp, 0xcc
mov ecx, 0x33
lea eax, [esp + 0x68]
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, eax
mov eax, dword [esp + 0xdc]
neg edx
sbb edx, edx
pop edi
inc edx
mov dword [eax + 4], 0
mov dword [eax], edx
pop esi
add esp, 0xcc
ret
Function at 0x403550
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x24]
cmp esi, 1
push edi
jae 0x403569
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x28]
push 4
push eax
push 8
push 0xffff
push edi
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x403596
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
lea eax, [esi + esi*4]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc], ecx
lea eax, [eax + eax*4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea eax, [eax + eax*4]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edx
shl eax, 3
push edx
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push 0xc
push edx
lea eax, [esp + 0x1c]
push 0xc
push eax
push 0x98000004
push edi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], 0x3e8
call dword [sym.imp.WS2_32.dll_WSAIoctl]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x18
ret

Function at 0x403600
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, ebp
test ebp, ebp
jle 0x40363f
mov eax, dword [esp + 0x14]
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
je 0x403638
cmp eax, 0xffffffff
je 0x403638
add ebx, eax
add esi, eax
sub edi, eax
cmp ebx, ebp
jge 0x40363f
jmp 0x403614
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x403650
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, ebp
test ebp, ebp
jle 0x40368f
mov eax, dword [esp + 0x14]
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x403688
cmp eax, 0xffffffff
je 0x403688
add ebx, eax
add esi, eax
sub edi, eax
cmp ebx, ebp
jge 0x40368f
jmp 0x403664
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x403a60
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x403a84
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x403a7d
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
ret