joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x452284]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x410ba2
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x40]
mov esi, dword [edi + 0x3c]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edx
call fcn.00410cb0
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
cmp eax, ebx
je 0x410ad3
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x410b1c
cmp ecx, eax
jg 0x410b1c
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x410ad3
mov edx, 0x445c54
lea edi, [esp + 0x10]
call fcn.00410d50
mov edi, dword [ebp + 8]
cmp esi, ebx
jb 0x410adf
ja 0x410b29
cmp dword [esp + 0x14], ebx
ja 0x410b29
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410b07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00410180
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004105e0
test al, al
je 0x410b7a
mov edi, dword [esp + 0x14]
add edi, 0xffffffff
mov eax, ebx
mov ecx, esi
cdq
adc ecx, 0xffffffff
cmp edx, ecx
ja 0x410b61
jb 0x410b51
cmp eax, edi
jae 0x410b61
mov esi, dword [ebp + 8]
call fcn.0041fa10
test eax, eax
jne 0x410bb7
mov esi, dword [esp + 0x18]
inc ebx
mov eax, ebx
cdq
cmp edx, esi
jb 0x410b26
ja 0x410adf
cmp eax, dword [esp + 0x14]
jb 0x410b26
jmp 0x410adf
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410ba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x410b96
Function at 0x41e520
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
cmp eax, 0x40
jne 0x41e543
mov eax, ecx
mov edi, 0x40
jmp 0x41e593
jbe 0x41e55e
push eax
lea edx, [ebp - 0x28]
mov edi, 0x20
call fcn.00422150
lea eax, [ebp - 0x28]
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x41e563
mov dword [ebp - 0x2c], ecx
mov edi, eax
mov esi, 0x40
sub esi, edi
push esi
lea ecx, [ebx + edi + 0x2a0]
push 0x36
push ecx
call fcn.0042b460
add esp, 0xc
push esi
lea edx, [ebx + edi + 0x2e0]
push 0x5c
push edx
call fcn.0042b460
mov eax, dword [ebp - 0x2c]
add esp, 0xc
test edi, edi
jle 0x41e5b6
lea esi, [ebx + 0x2e0]
lea ecx, [ecx]
mov cl, byte [eax]
xor cl, 0x36
mov byte [esi - 0x40], cl
mov dl, byte [eax]
xor dl, 0x5c
mov byte [esi], dl
inc eax
inc esi
sub edi, 1
jne 0x41e5a0
mov eax, dword [0x4534e4]
mov dword [ebx + 0x88], eax
mov ecx, dword [0x4534e8]
mov dword [ebx + 0x8c], ecx
mov edx, dword [0x4534ec]
mov dword [ebx + 0x90], edx
mov eax, dword [0x4534f0]
mov dword [ebx + 0x94], eax
mov ecx, dword [0x4534f4]
mov dword [ebx + 0x98], ecx
mov edx, dword [0x4534f8]
mov dword [ebx + 0x9c], edx
mov eax, dword [0x4534fc]
mov dword [ebx + 0xa0], eax
mov ecx, dword [0x453500]
lea edx, [ebx + 0x2a0]
mov dword [ebx + 0xa4], ecx
push edx
mov eax, 0x40
mov esi, ebx
mov dword [ebx + 4], 0
mov dword [ebx], 0
call fcn.00422210
mov eax, dword [0x4534e4]
lea esi, [ebx + 0xa8]
mov dword [esi + 0x88], eax
mov ecx, dword [0x4534e8]
mov dword [esi + 0x8c], ecx
mov edx, dword [0x4534ec]
mov dword [esi + 0x90], edx
mov eax, dword [0x4534f0]
mov dword [esi + 0x94], eax
mov ecx, dword [0x4534f4]
mov dword [esi + 0x98], ecx
mov edx, dword [0x4534f8]
mov dword [esi + 0x9c], edx
mov eax, dword [0x4534fc]
mov dword [esi + 0xa0], eax
mov ecx, dword [0x453500]
lea edx, [ebx + 0x2e0]
add esp, 4
mov dword [esi + 0xa4], ecx
push edx
mov eax, 0x40
mov dword [ebp - 0x2c], esi
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.00422210
lea edi, [ebx + 0x150]
mov ecx, 0x2a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
add esp, 4
lea edi, [ebx + 0x1f8]
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret
Function at 0x4219d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x4219db
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.004219f0
Function at 0x423330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x423343
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x4233c1
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.004292d0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x423391
sub eax, edi
jmp 0x423393
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423382
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4233b2
sub eax, edi
jmp 0x4233b4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x4233a3
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x4234ef
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x4233e7
mov ebx, ecx
test ebx, ebx
je 0x42343a
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x423409
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00422610
jmp 0x423422
cmp eax, 2
jne 0x423428
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x42341b
xor eax, eax
jmp 0x423425
mov edx, ebx
call fcn.004219f0
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.004292d0
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x423464
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x423478
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x423340
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x4234ef
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x4234be
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x42349f
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.0042b460
add esp, 0xc
add ebx, edi
pop edi
mov dword [esi + 0x16c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x4234ef
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x4234d8
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.0042b460
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425608
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452284]
jne 0x425612
repz ret
jmp fcn.00426e03
Function at 0x431227
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.0042b75a
and dword [ebp - 4], 0
cmp dword [0x4548a0], 0
mov ebx, eax
jne 0x4312d8
push 0x443c58
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x431389
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443c4c
push edi
call esi
test eax, eax
je 0x431389
push eax
call fcn.0042b6e8
mov dword [esp], 0x443c3c
push edi
mov dword [0x4548a0], eax
call esi
push eax
call fcn.0042b6e8
mov dword [esp], 0x443c28
push edi
mov dword [0x4548a4], eax
call esi
push eax
call fcn.0042b6e8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4548a8], eax
call esi
push eax
call fcn.0042b6e8
pop ecx
mov dword [0x4548b0], eax
test eax, eax
je 0x4312d8
push 0x443bf4
push edi
call esi
push eax
call fcn.0042b6e8
pop ecx
mov dword [0x4548ac], eax
mov eax, dword [0x4548ac]
cmp eax, ebx
je 0x431330
cmp dword [0x4548b0], ebx
je 0x431330
push eax
call fcn.0042b763
push dword [0x4548b0]
mov esi, eax
call fcn.0042b763
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x431330
test edi, edi
je 0x431330
call esi
test eax, eax
je 0x431327
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x431327
test byte [ebp - 0xc], 1
jne 0x431330
or dword [ebp + 0x10], 0x200000
jmp 0x431369
mov eax, dword [0x4548a4]
cmp eax, ebx
je 0x431369
push eax
call fcn.0042b763
pop ecx
test eax, eax
je 0x431369
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x431369
mov eax, dword [0x4548a8]
cmp eax, ebx
je 0x431369
push eax
call fcn.0042b763
pop ecx
test eax, eax
je 0x431369
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4548a0]
call fcn.0042b763
pop ecx
test eax, eax
je 0x431389
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43138b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437b40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x437900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x44315a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x443168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x44314a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x443145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x443145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x4431d2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
jmp edx
mov ecx, dword [ebx + 0x28]
cmp ecx, 1
je 0x4431c1
mov ecx, ebx
sub ecx, dword [ebx + 4]
xor cx, cx
mov dword [ebx + 0x24], ecx
add ecx, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x4431f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x443285
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0x28], 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
mov dword [esp + 0x34], edx
jmp edx
Function at 0x1001913
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0xc], 3
push edi
mov dword [ebp - 4], esi
jle 0x10019cd
mov edi, dword [ebp + 8]
push 0x10011d8
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100197a
cmp dword [ebp + 0xc], 5
jne 0x100197a
mov ebx, dword [edi + 0x10]
cmp ebx, esi
je 0x10019cd
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push esi
push esi
lea eax, [ebp + 8]
push eax
push esi
push 1
push esi
push ebx
mov dword [ebp + 8], esi
call edi
test eax, eax
jne 0x1001990
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jg 0x1001984
mov edi, eax
jmp 0x1001a5b
mov edi, 0x80070057
jmp 0x1001a5b
and eax, 0xffff
or eax, 0x80070000
jmp 0x1001973
push dword [ebp + 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp + 0xc], eax
cmp eax, esi
je 0x1001a01
push esi
push esi
lea ecx, [ebp + 8]
push ecx
push eax
push 1
push esi
push ebx
call edi
test eax, eax
jne 0x1001a25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1001a4b
and eax, 0xffff
or eax, 0x80070000
jmp 0x1001a4b
push esi
push esi
lea eax, [ebp + 8]
push eax
push esi
call sub.EFSUTIL.dll_EfsUtilGetCurrentKey
cmp eax, esi
mov ebx, 0x80070000
jle 0x10019e9
and eax, 0xffff
or eax, ebx
mov edi, eax
cmp edi, esi
jl 0x1001a5b
push dword [ebp + 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x1001a08
mov edi, 0x8007000e
jmp 0x1001a4d
push esi
push esi
lea ecx, [ebp + 8]
push ecx
push eax
call sub.EFSUTIL.dll_EfsUtilGetCurrentKey
cmp eax, esi
jle 0x1001a1f
and eax, 0xffff
or eax, ebx
mov edi, eax
cmp edi, esi
jl 0x1001a4d
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [ebp + 0xc]
push eax
push esi
call fcn.010017dd
mov edi, eax
cmp edi, esi
jl 0x1001a4d
cmp dword [ebp - 4], esi
jne 0x1001a4d
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.EFSADU.dll_EfsUIUtilPromptForPin
mov edi, eax
cmp dword [ebp + 0xc], esi
je 0x1001a5b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1001f11
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1002560
call fcn.010020a4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1003380
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1001cc8
cmp eax, esi
jne 0x1001cbb
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1001ccb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001ca2
xor esi, esi
inc esi
mov eax, dword [0x100337c]
cmp eax, esi
jne 0x1001cde
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001d0d
mov eax, dword [0x100337c]
test eax, eax
jne 0x1001d07
mov dword [0x100337c], esi
push 0x1001118
push 0x100110c
call fcn.01001c07
pop ecx
pop ecx
test eax, eax
je 0x1001d0d
jmp 0x1001e35
mov dword [0x1003040], esi
mov eax, dword [0x100337c]
cmp eax, esi
jne 0x1001d31
push 0x1001108
push 0x1001100
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100337c], 2
test ebx, ebx
jne 0x1001d3d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1003384], 0
je 0x1001d61
push 0x1003384
call fcn.01002019
pop ecx
test eax, eax
je 0x1001d61
push 0
push 2
push 0
call dword [0x1003384]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1001dbd
test al, al
je 0x1001d7b
cmp dword [ebp - 0x1c], 0
jne 0x1001dbd
mov al, byte [esi]
test al, al
je 0x1001d8b
cmp al, 0x20
ja 0x1001d8b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001d7b
test byte [ebp - 0x3c], 1
je 0x1001d97
movzx eax, word [ebp - 0x38]
jmp 0x1001d9a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100303c], eax
cmp dword [0x1003030], 0
jne 0x1001e11
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1001dcc
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1001ddf
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1001d68
cmp dword [0x1003040], 0
jne 0x1001e20
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100303c]
jmp 0x1001e41
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010020e9
ret
call fcn.010021f1
jmp 0x1001c68
Function at 0x1002437
Capabilities:
Access pe header
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x30]
cmp byte [edx + 2], 0
mov ecx, 0xdeadbeef
jne 0x1002475
test eax, eax
je 0x100247e
mov edx, dword [eax + 0x60]
sub edx, dword [eax + 0x64]
cmp edx, 0x2000
jae 0x100247e
and dword [0x1003388], 0
jmp 0x1002492
mov edx, dword [ebp + 8]
cmp edx, ecx
jne 0x100248c
test eax, eax
je 0x1002475
mov edx, dword [eax + 0x64]
mov dword [0x1003388], edx
cmp dword [ebp + 0xc], ecx
jne 0x10024a5
test eax, eax
jne 0x10024a0
or eax, 0xffffffff
jmp 0x10024a8
mov eax, dword [eax + 0x64]
jmp 0x10024a8
mov eax, dword [ebp + 0xc]
mov dword [0x100338c], eax
add eax, 8
cmp eax, 8
jae 0x10024bf
mov dword [0x100338c], 0xfffffff7
mov eax, dword [ebp + 0x10]
mov dword [0x1003390], 0x1002412
test eax, eax
je 0x10024d5
mov dword [0x1003390], eax
mov eax, dword [ebp + 0x14]
mov dword [0x1003394], 0x10023ed
test eax, eax
je 0x10024eb
mov dword [0x1003394], eax
pop ebp
ret 0x10
Function at 0x401350
Capabilities:
Delete user account

Disassembly:
sub esp, 0x58
mov eax, dword [0x40d004]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
push 1
push esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x40b944
mov dword [esp + 0x20], 0x40b940
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10040
mov dword [esp + 0x38], esi
call dword [0x45987c]
test eax, eax
jne 0x401420
xor edx, edx
mov word [esp + 0x2c], dx
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov word [esp + 0x52], ax
jmp 0x4013e0
movzx ecx, word [eax + 0x40b944]
mov word [esp + eax + 0x2c], cx
add eax, 2
cmp cx, si
jne 0x4013e0
push 1
lea ecx, [esp + 8]
push ecx
push 3
push str.Administrators
lea eax, [esp + 0x3c]
push esi
mov dword [esp + 0x18], eax
call dword [0x459874]
test eax, eax
je 0x401432
push 0x40b944
push esi
call sub.NETAPI32.dll_NetUserDel
xor al, al
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00402b9c
add esp, 0x58
ret
mov ecx, dword [esp + 0x54]
pop esi
xor ecx, esp
mov al, 1
call fcn.00402b9c
add esp, 0x58
ret
Function at 0x401450
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x40d004]
xor eax, esp
mov dword [esp + 0x30], eax
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x18], 0
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
xor esi, esi
call edi
push eax
call fcn.00402d52
add esp, 4
call fcn.00402d64
cdq
mov ecx, 0x1a
idiv ecx
push 0x32
add dl, 0x61
mov byte [esp + esi + 0x1c], dl
call ebx
inc esi
cmp esi, 0x20
jl 0x401496
push 0
push 0x80
push 2
push 0
push 1
push 0xe0000000
push 0x459468
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401516
push 0
lea edx, [esp + 0x14]
push edx
push 0x49600
push 0x40dc50
mov ecx, 8
lea esi, [esp + 0x28]
mov edi, 0x457226
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40152a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00402b9c
add esp, 0x34
ret
push ebp
push 0
push 0x49600
push 0
push 0x40
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
je 0x401592
push 0x49600
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x40158f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x49600
push edi
call dword [sym.imp.imagehlp.dll_CheckSumMappedFile]
test eax, eax
je 0x401588
mov edx, dword [esp + 0x10]
mov dword [eax + 0x58], edx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call ebp
push ebx
call ebp
mov ecx, dword [esp + 0x40]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00402b9c
add esp, 0x34
ret