joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b071
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4ad280]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x47b0bc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0047b572
test al, al
jne 0x47b0b6
sub edx, 2
cmp edx, edi
jne 0x47b09c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x47b0de
lea eax, [edi + 2]
cmp edx, eax
je 0x47b0de
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0047ac6a
add esp, 0x10
jmp 0x47b1d8
push esi
lea ecx, [ebp - 0x255]
call fcn.0047b572
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47b121
push dword [ebp - 0x25c]
jmp 0x47b0ce
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x47b15e
cmp word [ebp - 0x226], 0
je 0x47b17f
cmp word [ebp - 0x226], ax
jne 0x47b15e
cmp word [ebp - 0x224], 0
je 0x47b17f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0047ac6a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x47b1cb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x47b138
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x47b1b3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x47b1d8
push 0x47a550
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00434a30
add esp, 0x10
jmp 0x47b1a8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433397
leave
ret

Function at 0x481a83
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00433f27
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x481af2
cmp esi, dword [ebp - 4]
je 0x481aed
cmp dword [ebp + 0xc], 0
je 0x481aed
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x481aca
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004814ab
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x481af4
xor eax, eax
inc eax
jmp 0x481af4
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x48f99c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x4fcc60]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48f9dc
cmp byte [ebx], 0xa
jne 0x48f9dc
or byte [edi + eax + 0x28], 4
jmp 0x48f9e1
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x48fae0
mov dl, byte [eax]
cmp dl, 0x1a
je 0x48fac3
inc eax
cmp dl, 0xd
je 0x48fa0d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x48fa33
cmp eax, ecx
jae 0x48fa41
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x48f9f5
jmp 0x48fae0
push 0
lea eax, [ebp - 0x10]
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 0x48fabe
cmp dword [ebp - 0x10], 0
je 0x48fabe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4fcc60]
test byte [eax + edi + 0x28], 0x48
je 0x48fa98
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48fa83
mov byte [esi], dl
jmp 0x48fa94
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4fcc60]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48fae0
cmp byte [ebp - 1], 0xa
jne 0x48faa7
cmp esi, ebx
jne 0x48faa7
mov byte [esi], 0xa
jmp 0x48fadf
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004325b9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48fae0
mov byte [esi], 0xd
jmp 0x48fadf
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4fcc60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48fadd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48fae0
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48fb3c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4fcc60]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48fb82
cmp word [ebx], dx
jne 0x48fb82
or byte [eax + edi + 0x28], 4
jmp 0x48fb87
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x48fcea
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x48fcca
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x48fbc8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48fbfe
cmp eax, edx
jae 0x48fc0c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x48fba3
jmp 0x48fcea
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48fcc5
cmp dword [ebp - 0x18], 0
je 0x48fcc5
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4fcc60]
test byte [eax + edi + 0x28], 0x48
je 0x48fc9b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x48fc5f
mov word [esi], cx
jmp 0x48fc96
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4fcc60]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4fcc60]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4fcc60]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x48fcea
pop eax
cmp word [ebp - 4], ax
jne 0x48fcab
cmp esi, ebx
jne 0x48fcab
mov word [esi], ax
jmp 0x48fce7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004325b9
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x48fcea
push 0xd
pop eax
jmp 0x48fca6
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4fcc60]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x48fce4
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x48fcea
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4090c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5f05
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4fb040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
call dword [0x4ac3c8]
push eax
call dword [0x4ac054]
test eax, eax
jne 0x40911c
xor esi, esi
jmp 0x40925c
test edi, edi
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x14]
xorps xmm0, xmm0
cmovne esi, edi
movlpd qword [ebp - 0x20], xmm0
push 0x94
mov dword [ebp - 0x24], esi
mov dword [esi], 0x94
call fcn.00478e50
mov edi, eax
mov dword [ebp - 0x1c], 0x94
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
push dword [esi]
call fcn.00478e50
push dword [esi]
mov ebx, eax
push 0
push edi
call fcn.00494270
mov esi, dword [0x4ac050]
lea eax, [edi + 4]
add esp, 0x14
mov dword [edi], 9
push eax
push str.SeRestorePrivilege
push 0
call esi
lea eax, [edi + 0x10]
push eax
push str.SeBackupPrivilege
push 0
call esi
lea eax, [edi + 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call esi
lea eax, [edi + 0x28]
push eax
push str.SeSecurityPrivilege
push 0
call esi
lea eax, [edi + 0x34]
push eax
push str.SeTakeOwnershipPrivilege
push 0
call esi
lea eax, [edi + 0x40]
push eax
push str.SeImpersonatePrivilege
push 0
call esi
lea eax, [edi + 0x4c]
push eax
push str.SeSystemProfilePrivilege
push 0
call esi
lea eax, [edi + 0x58]
push eax
push str.SeShutdownPrivilege
push 0
call esi
lea eax, [edi + 0x64]
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call esi
lea eax, [edi + 0x70]
push eax
push str.SeAssignPrimaryTokenPrivilege
push 0
call esi
lea eax, [edi + 0x7c]
push eax
push str.SeTcbPrivilege
push 0
call esi
lea eax, [edi + 0x88]
push eax
push str.SeTrustedCredManAccessPrivilege
push 0
call esi
lea eax, [edi + 0xc]
mov ecx, 0xc
nop
mov dword [eax], 2
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x409220
mov eax, dword [ebp - 0x24]
push eax
push ebx
push dword [eax]
push edi
push ecx
push dword [ebp - 0x18]
call dword [0x4ac04c]
test eax, eax
jne 0x409251
push ebx
xor esi, esi
call fcn.00478e4b
add esp, 4
jmp 0x409253
mov esi, ebx
push edi
call fcn.00478e4b
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x40926f
test ecx, ecx
je 0x40926f
push ecx
call dword [0x4ac2a4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478dff
mov esp, ebp
pop ebp
ret
Function at 0x422ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7270
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
lea ecx, [esi + 0x30]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xfff0f0ff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xc
mov dword [esi + 0x2c], 0
call fcn.004176a0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x14]
mov dword [esi + 0x298], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00422fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x426bc0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x428b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x428b1b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x428bd7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
sub edi, 1
jne 0x428b30
pop edi
test esi, esi
je 0x428bfa
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ec900]
sub esi, 1
jne 0x428be0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x42bd70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x90
mov ebx, edx
mov edi, ecx
call fcn.00478e0d
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
lea ecx, [esi + 0x54]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
call fcn.00402b30
lea ecx, [esi + 0x60]
call fcn.00402b30
lea ecx, [esi + 0x6c]
call fcn.00402b30
lea ecx, [esi + 0x78]
call fcn.00402b30
lea ecx, [esi + 0x84]
call fcn.00402b30
push 0x44
push 0
push esi
call fcn.00494270
add esp, 0xc
lea ecx, [esi + 0x6c]
push edi
call fcn.00402c00
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x60]
push ebx
mov dword [esi + 0x24], eax
call fcn.00402c00
lea ecx, [esi + 0x60]
call fcn.00402d50
test eax, eax
je 0x42be72
lea ecx, [esi + 0x60]
call fcn.00404c10
push dword [ebp + 0x10]
lea ecx, [esi + 0x78]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00402c00
push 0x4cda60
lea ecx, [esi + 0x84]
call fcn.00402c00
push 0
push 0
push esi
push 0x42bf60
push 0
push 0
call dword [0x4ac3c4]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x42bf1a
lea ecx, [esi + 0x84]
call fcn.00402cd0
lea ecx, [esi + 0x78]
call fcn.00402cd0
lea ecx, [esi + 0x6c]
call fcn.00402cd0
lea ecx, [esi + 0x60]
call fcn.00402cd0
lea ecx, [esi + 0x54]
call fcn.00402cd0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x42bef1
push eax
call fcn.00478e4b
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x42bf01
push eax
call fcn.00478e4b
add esp, 4
push 0x90
push esi
call fcn.00478e3d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test byte [ebp + 8], 1
je 0x42bf4e
xor edx, edx
mov ecx, eax
call fcn.00414c20
test al, al
je 0x42bf4e
mov edi, dword [0x4ac348]
call fcn.004056d0
test al, al
jne 0x42bf40
push 5
call edi
mov ecx, dword [esi + 0x3c]
xor edx, edx
call fcn.00414c20
test al, al
jne 0x42bf33
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42e000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7a80
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402b30
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.00402b30
lea ecx, [esi + 0x30]
call fcn.00406220
lea ecx, [esi + 0x34]
call fcn.00406220
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.0042df10
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.0042df10
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.0042df10
lea ecx, [esi + 0x78]
call fcn.00402b30
lea ecx, [esi + 0x84]
call fcn.00402b30
mov dword [esi + 0x98], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
lea ecx, [esi + 0x9c]
call fcn.00406220
lea ecx, [esi + 0xa0]
call fcn.00406220
mov dword [esi + 0xa4], 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0042e230
mov dword [esi + 0x1c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e100
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7aa0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0xc]
call fcn.00402d50
cmp eax, 6
jle 0x42e145
lea ecx, [edi + 0xc]
call fcn.00402e90
push eax
lea ecx, [edi + 0x34]
call fcn.004083a0
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x42e158
push eax
call fcn.00482990
add esp, 4
lea ecx, [edi + 0xa0]
mov dword [edi + 0xa4], 0
call fcn.0042d4d0
lea ecx, [edi + 0x9c]
call fcn.0042d4d0
mov eax, dword [edi + 0x98]
test eax, eax
je 0x42e1b1
push fcn.00402cd0
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.00479158
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.00478e59
add esp, 8
lea ecx, [edi + 0x84]
call fcn.00402cd0
lea ecx, [edi + 0x78]
call fcn.00402cd0
mov eax, dword [edi + 0x70]
test eax, eax
je 0x42e1d4
push eax
call fcn.00478e4b
add esp, 4
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x42e1e4
push eax
call fcn.00478e4b
add esp, 4
mov eax, dword [edi + 0x48]
test eax, eax
je 0x42e1f4
push eax
call fcn.00478e4b
add esp, 4
lea ecx, [edi + 0x34]
call fcn.00407760
lea ecx, [edi + 0x30]
call fcn.00407760
lea ecx, [edi + 0xc]
call fcn.00402cd0
mov ecx, edi
call fcn.00402cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8851
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00405b80
movsd qword [esi], xmm0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0xffffffff
mov dword [ebp - 4], 0
mov dword [esi + 0xd8], 0xffffffff
mov byte [ebp - 4], 1
mov dword [esi + 0xdc], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0x4d0bd8
mov dword [esi + 0x100], 0x4d0c40
call fcn.0040f910
mov byte [esi + 0x104], al
mov dword [esi + 0x108], 0
mov byte [esi + 0x10c], 0
call fcn.0040f910
push ecx
mov ecx, esi
mov byte [esi + 0x48], al
call fcn.004373f0
push ecx
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.00437440
push ecx
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004374d0
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x475e00
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab999
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x40], 0x64
call fcn.00476030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x479cb1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x4ac230]
test eax, eax
je 0x479cf0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x479cf0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x479cf0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x479cf0
cmp dword [ecx + 0x74], 0xe
jbe 0x479cf0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a3a70
Capabilities:
Parse pe header

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

Disassembly:
cmp ecx, dword [0x5c0780]
jne 0x570896
repz ret
jmp fcn.00570b3d

Function at 0x5712d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x5c0764], 0
mov byte [0x5c0768], 0
mov dword [0x5c0758], 0x19f5
mov dword [0x5c0760], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x5713db
mov eax, 0x100
mov dword [0x5c076c], 0
mov ecx, dword [0x5c075c]
add ecx, 0xffffe1b1
mov dword [0x5c075c], ecx
mov ecx, dword [0x5c0764]
mov edx, dword [0x5c0760]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x5c076c], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x5c0764], edx
mov edx, dword [0x5c0760]
mov cl, byte [esi + edx]
mov byte [0x5c0768], cl
mov edx, dword [0x5c0758]
add edx, 0xffffe791
mov dword [0x5c075c], edx
mov edx, dword [0x5c0764]
mov cl, byte [esi + edx]
mov edx, dword [0x5c0760]
mov byte [esi + edx], cl
mov cl, byte [0x5c0768]
mov edx, dword [0x5c0764]
mov byte [esi + edx], cl
mov edx, dword [0x5c0760]
add edx, 1
mov dword [0x5c0760], edx
cmp edx, 0x100
jl 0x57131a
jmp 0x571429
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x5c0758]
add eax, 0x1e60
mov dword [0x5c075c], eax
mov eax, dword [0x5c0760]
add eax, 1
mov dword [0x5c0760], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x5713db
mov dword [0x5c0758], 0x1a82
mov dword [0x5c0760], 0
jmp 0x57131a
mov dword [0x5c075c], 0x2635
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret