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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10012333
add ebx, 0
push ecx
call 0x10012348
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c5470c9
sub ebx, dword [0x6c566908]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c5668f8
call fcn.1000de12
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000d320
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100124a6
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100124a6
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1001245d
mov eax, 1
lock xchg dword [0x6c566904], eax
push 0x3dd1fc71
call 0x100123ea
push esi
add esp, 8
cmp eax, 0
jne 0x100123d3
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100123f9
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001240e
cmp ecx, edx
cmp eax, 0
je 0x10012433
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1001241d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001244c
dec eax
loope 0x1001244f
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c566904], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10012483
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10012498
jmp 0x100124a3
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10012391
Function at 0x1001950b
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100197e1
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c55357c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c54a542
push 0xffffffffffffffff
call fcn.1001070b
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10019575
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001958d
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100197d5
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100197a9
Function at 0x10028fdb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10028ffd
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10028ffd
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10028ffd
ret
cmp word [ebx + 4], 0x14c
jne 0x10028ffd
test word [ebx + 0x16], 2
je 0x10028ffd
test word [ebx + 0x16], 0x100
je 0x10028ffd
cmp word [ebx + 0x18], 0x10b
jne 0x10028ffd
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10028ffd
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10029089
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1002901d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ff68
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10028ffd
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10029089
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10028ffd
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10028ffd
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10028ffd
ret
cmp word [ebx + 4], 0x14c
jne 0x10028ffd
test word [ebx + 0x16], 2
je 0x10028ffd
test word [ebx + 0x16], 0x100
je 0x10028ffd
cmp word [ebx + 0x18], 0x10b
jne 0x10028ffd
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10028ffd
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10029089
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1002901d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ff68
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10028ffd
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10029140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10029199
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10029140
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002914f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042edf2
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100291a0
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10010016
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002923f
add edi, 4
add eax, 2
dec ecx
jne 0x10029185
call 0x100291ec
loope 0x100291e2
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002923c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002924d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10029200
cmp eax, ecx
ja 0x10029200
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002928a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10029280
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.100104f5
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002914f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10029199
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10029140
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002914f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042edf2
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100291a0
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10010016
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002923f
add edi, 4
add eax, 2
dec ecx
jne 0x10029185
call 0x100291ec
loope 0x100291e2
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002923c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002924d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10029200
cmp eax, ecx
ja 0x10029200
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002928a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10029280
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.100104f5
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x42be7f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00421d20
mov eax, dword [0x43450c]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
push esi
xor esi, esi
cmp ebx, dword [0x4378e8]
mov dword [ebp - 4], eax
jae 0x42bfca
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x437900]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x42bfca
push 1
push esi
push ebx
call fcn.0042249d
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x42bfd4
push 2
push esi
push ebx
call fcn.0042249d
add esp, 0xc
cmp eax, 0xffffffff
je 0x42bfd4
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42bf74
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00428b70
push 0x8000
push ebx
call fcn.0042c869
add esp, 0x14
mov dword [ebp - 0x100c], eax
mov eax, 0x1000
cmp edi, eax
jge 0x42bf30
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00424a11
add esp, 0xc
cmp eax, 0xffffffff
je 0x42bf4e
sub edi, eax
test edi, edi
jg 0x42bf25
jmp 0x42bf64
cmp dword [0x4363f4], 5
jne 0x42bf61
mov dword [0x4363f0], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push ebx
call fcn.0042c869
pop ecx
pop ecx
jmp 0x42bfb4
jge 0x42bfb4
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0042249d
push ebx
call fcn.004298ed
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x42bfb4
mov dword [0x4363f0], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4363f4], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0042249d
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42bfd7
mov dword [0x4363f0], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00428b59
leave
ret

Function at 0x408956
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub ebx, edi
add ebx, edi
call fcn.00408973
xor dword [eax], edx
add ebx, ebx
inc eax
dec edi
cmp eax, esi
jne fcn.00408956
or edi, ebx
and ebx, edi
ret
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, 0x97
and edi, 0x92
inc edi
sub edx, 0xc6
imul edi
bswap edi
ror ebx, 0xe0
imul eax
mov ebx, 0xee
mov esi, 0x23
inc esi
mov esi, 0x2c
and esi, 0x41
bswap edi
bswap edx
sub ebx, 0x56
not edi
not ebx
rcr eax, 0xb6
ror edi, 0x76
neg edx
not esi
rcl edx, 0x75
sub edx, 0x5d
rcr ebx, 0x2c
rcr ebx, 0x13
ror eax, 0x5f
inc eax
rcl edi, 0xdd
imul ebx
sbb eax, 0x8c
dec edi
neg edx
neg ebx
bswap edx
add ebx, 0xf9
mov edi, 0xd9
mov ebx, 0xc0
ror esi, 0xa1
add edi, 0x5d
not edi
rcl ebx, 0xca
sub edx, 0x71
inc edi
neg eax
dec edx
rcr eax, 0x71
inc edi
imul edx
neg edi
xor ecx, ecx
xor edi, edi
and edx, 0x3e
and eax, 0x2c
rol edi, 0x84
dec edi
neg ebx
sbb esi, 0x5d
add edi, 0x2d
sbb eax, 0
ror eax, 0x6d
sbb ebx, 0xbf
rol ebx, 0xa
neg edi
not ebx
imul edx
rcl edx, 0xe4
sbb ebx, 0x27
bswap esi
rcl edx, 0x98
dec ebx
bswap ebx
imul edx
sub ebx, 0x9b
dec ebx
sub eax, 4
dec edx
dec edx
or edi, 0xb8
mov edi, 0x38
add edx, 0xea
bswap edi
not edi
rcr esi, 0xd7
and edx, 0xda
neg ebx
mov esi, 0x21
inc esi
add edx, 0x51
mov edx, 0x24
sub esi, 0x6e
imul esi
and ebx, 0x4b
imul edx
bswap esi
add edi, 0xcb
ror eax, 0xcd
neg edi
dec esi
dec eax
rol edi, 0x65
sbb edi, 0xb7
mov ecx, dword [ebp + 0xc]
sub esi, 0xb
not edi
rol esi, 0xfa
and esi, 0x7a
neg eax
and edx, 0x39
inc edx
rol ebx, 0x94
mov esi, 0x80
rcr esi, 6
bswap edx
bswap edi
imul edi
ror edi, 0x9e
mov ebx, 0xac
dec edi
imul edx
sub esi, 0x19
mov esi, 0x60
rcr ebx, 0x57
inc esi
add ebx, 0xd5
neg esi
rcl edx, 0xf4
and edx, 0xa8
neg eax
and ebx, 8
add edx, 0x4e
or ebx, 0x5d
inc esi
bswap edx
inc esi
and edx, 0xc9
dec ebx
rcl edx, 2
imul ebx
inc edi
sub edx, 0x40
not esi
not edi
rcl eax, 0x50
dec edx
neg esi
and esi, 0x8f
rcr ebx, 0x4b
ror eax, 0x88
rcl edx, 7
rol ebx, 0x69
rcr eax, 0x34
mov edi, 0x14
mov edi, dword [ebp + 8]
mov ebx, ebx
xor esi, eax
xor ebx, eax
xor ebx, ebx
xor eax, eax
mov ebx, esi
mov esi, eax
mov eax, esi
xor ebx, esi
mov ebx, esi
mov ebx, esi
xor ebx, esi
not byte [edi]
xor esi, eax
mov ebx, esi
xor ebx, esi
xor esi, ebx
mov ebx, ebx
mov ebx, ebx
xor ebx, ebx
xor eax, esi
xor esi, ebx
sub byte [edi], 0x46
xor ebx, ebx
xor ebx, esi
mov eax, ebx
mov ebx, eax
xor ebx, ebx
xor eax, ebx
mov esi, ebx
xor esi, eax
mov esi, esi
add byte [edi], 0x88
mov ebx, eax
xor esi, esi
xor esi, esi
mov ebx, esi
xor eax, eax
mov esi, ebx
mov esi, esi
mov ebx, eax
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4011ca
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4058ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4058ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4058ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4058ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4058ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4058ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b3e6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b483
push ebx
push esi
call fcn.0040b3af
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b2f8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b430
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b482
push edi
push eax
call fcn.0040bfe6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b450
call fcn.00409f21
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b481
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b2f8
add esp, 0x20
test eax, eax
jne 0x40b46f
push edi
call fcn.00409f21
jmp 0x40b477
push ebx
call fcn.00409f21
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40c769
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4156a0
push 0x415698
push str.FlsAlloc
push 0x1e
call fcn.0040c62a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c79d
push dword [ebp + 8]
mov ecx, esi
call dword [0x413130]
call esi
jmp 0x40c7a3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40c7e7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4156b0
push 0x4156a8
push str.FlsGetValue
push 0x20
call fcn.0040c62a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c81e
push dword [ebp + 8]
mov ecx, esi
call dword [0x413130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x411ca0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x1003b7a9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x1003b7e1
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1003b7cf
mov al, 1
jmp 0x1003b840
cmp dword [ebx + 0x54], ecx
jne 0x1003b7d8
mov al, 2
jmp 0x1003b840
cmp dword [ebx + 0x7c], ecx
jne 0x1003b840
mov al, 3
jmp 0x1003b840
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1003b7f6
mov al, 4
jmp 0x1003b840
cmp ecx, 5
jne 0x1003b816
cmp ebx, 0
jne 0x1003b804
mov al, 5
jmp 0x1003b840
cmp ebx, 1
jne 0x1003b80d
mov al, 6
jmp 0x1003b840
cmp ebx, 2
jne 0x1003b816
mov al, 7
jmp 0x1003b840
cmp ecx, 6
jne 0x1003b83e
cmp ebx, 0
jne 0x1003b824
mov al, 8
jmp 0x1003b840
cmp ebx, 1
jne 0x1003b82b
mov al, 9
cmp ebx, 2
jne 0x1003b832
mov al, 0xa
cmp ebx, 3
jne 0x1003b839
mov al, 0xb
cmp ebx, 4
jne 0x1003b840
mov al, 0xc
pop ebx
leave
ret

Function at 0x1003fb9a
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.1003fbdc
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003fbce
push ebx
call fcn.1007bb46
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x1003fbd6
mov esp, ebp
pop ebp
ret 8
Function at 0x1007ceb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101554a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1014a136
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10081b40
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1007cf04
jmp dword [ecx*4 + 0x1007d06c]
mov al, byte [esi]
test al, al
je 0x1007cf32
cmp al, 0x20
je 0x1007cf1e
cmp al, 0xa1
jne 0x1007cf32
cmp byte [esi + 1], al
jne 0x1007cf32
test al, 0x80
je 0x1007cf2a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1007cf32
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1007cf11
test ecx, ecx
je case.default.0x1007cf04
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1007cf04
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1007cf78
cmp dl, 0xa1
jne 0x1007cf6c
cmp byte [eax + 1], 0xa1
jne 0x1007cf6c
test ecx, ecx
jne 0x1007cf64
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1007cf8c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1007cfa6
jmp 0x1007cf8c
cmp dl, 0x20
jne 0x1007cf8a
test ecx, ecx
jne 0x1007cf83
mov edi, eax
mov ecx, 1
jmp 0x1007cf8c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1007cf4c
cmp ecx, 1
jne case.default.0x1007cf04
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1007cf04
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1007cf04
mov al, byte [esi]
test al, al
je 0x1007cffe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1007cfe4
mov cl, byte [esi + 1]
test cl, cl
je 0x1007cffe
cmp al, 0xa1
jne 0x1007cfd4
cmp cl, al
je 0x1007cfe1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10081dd0
inc esi
jmp 0x1007cff6
cmp al, 0x20
je 0x1007cff6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10081e10
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1007cfbd
push 0
lea ecx, [esp + 0x14]
call fcn.10081e10
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100922a0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1007d031
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10277200
call fcn.10081d40
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1014a0c8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1007e1c0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x10359254
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1007e180
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007e26a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x1007e2cb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1007e24c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x1007e254
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.10112ad0
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1007e2bf
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x1007e29d
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret