joyce8/EMBER2024-capa huggingface dataset:
Function at 0x89d8c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x89daf
jne 0x89db6
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x89dc5
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x89dcd
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret

Function at 0x91ef4
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x92085
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
push 0x92094
call fcn.0008678c
mov esi, eax
test esi, esi
je 0x91f36
push 0x920a0
push esi
call fcn.00086734
mov edi, eax
test edi, edi
je 0x92057
mov dword [ebp - 4], 0x400
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.0008395c
push eax
push 0
call edi
test eax, eax
jne 0x92057
mov edx, dword [ebp - 4]
dec edx
lea eax, [ebp - 8]
call fcn.00083acc
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.000835cc
mov eax, dword [ebx]
call fcn.00083798
cmp eax, 0xf5
jle 0x92057
mov edx, dword [ebx]
mov eax, 0x920c0
call fcn.00083a84
test eax, eax
je 0x91fb2
mov eax, ebx
mov edx, 0x920d0
call fcn.000835cc
jmp 0x92057
mov edx, dword [ebx]
mov eax, 0x92120
call fcn.00083a84
test eax, eax
je 0x91fd3
mov eax, ebx
mov edx, 0x92134
call fcn.000835cc
jmp 0x92057
mov edx, dword [ebx]
mov eax, 0x92184
call fcn.00083a84
test eax, eax
je 0x91ff1
mov eax, ebx
mov edx, 0x92198
call fcn.000835cc
jmp 0x92057
mov edx, dword [ebx]
mov eax, 0x921e8
call fcn.00083a84
test eax, eax
je 0x9200f
mov eax, ebx
mov edx, 0x921fc
call fcn.000835cc
jmp 0x92057
mov edx, dword [ebx]
mov eax, 0x92294
call fcn.00083a84
test eax, eax
je 0x9202d
mov eax, ebx
mov edx, 0x922a8
call fcn.000835cc
jmp 0x92057
mov edx, dword [ebx]
mov eax, 0x92328
call fcn.00083a84
test eax, eax
je 0x9204b
mov eax, ebx
mov edx, 0x9233c
call fcn.000835cc
jmp 0x92057
mov eax, ebx
mov edx, 0x920d0
call fcn.000835cc
mov eax, dword [ebx]
call fcn.00083798
cmp eax, 0xa
jge 0x9206f
mov eax, ebx
mov edx, 0x920d0
call fcn.000835cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9208c
lea eax, [ebp - 8]
call fcn.00083578
ret
Function at 0x925e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x92714
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.000c0ee0
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x926d9
mov ecx, eax
mov ebx, ecx
add ebx, dword [edx + 0x3c]
mov edx, ebx
cmp dword [edx], 0x4550
jne 0x926d9
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, dword [ebx]
mov edx, esi
call fcn.000869a8
lea eax, [ebp - 0x10]
call fcn.0009254c
mov eax, dword [ebp - 4]
call fcn.00083798
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 1
lea ecx, [ebp - 0x1c]
mov edx, 0x9272c
mov eax, 0x92738
call fcn.000c1a7c
lea eax, [ebp - 0x1c]
mov edx, dword [0xd6b40]
mov edx, dword [edx]
call fcn.000837a0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00087dbc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00083cc8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.000b782c
push 0x7530
push eax
call fcn.0008687c
lea eax, [ebp - 0x20]
call fcn.0009245c
mov edx, dword [ebp - 0x20]
mov eax, dword [0xd6c3c]
call fcn.000835cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9271b
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0008359c
lea eax, [ebp - 0x14]
call fcn.00083b48
lea eax, [ebp - 0x10]
call fcn.00083578
lea eax, [ebp - 8]
call fcn.00083b48
lea eax, [ebp - 4]
call fcn.00083578
ret
Function at 0x92b58
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x92b60
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x92cd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00083578
lea eax, [ebp - 0xc]
call fcn.000c0ee0
call fcn.000c1d80
mov ebx, eax
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x92c96
mov edi, ebx
mov esi, edi
add esi, dword [eax + 0x3c]
cmp dword [esi], 0x4550
jne 0x92c96
lea eax, [ebp - 0x18]
call fcn.00092a44
mov eax, dword [esi + 0x50]
add eax, edi
mov edx, eax
add edx, 4
mov edi, edx
mov ebx, eax
mov edx, dword [ebx]
lea eax, [ebp - 8]
call fcn.00083acc
lea eax, [ebp - 8]
call fcn.00083968
mov ecx, dword [ebx]
mov edx, edi
call fcn.000869a8
mov eax, dword [ebp - 8]
call fcn.00083798
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
lea ecx, [ebp - 0x24]
mov edx, 0x92cec
mov eax, 0x92cf8
call fcn.000c1a7c
lea eax, [ebp - 0x24]
mov edx, dword [0xd6b40]
mov edx, dword [edx]
call fcn.000837a0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00087dbc
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00083cc8
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
call fcn.00083968
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.000b782c
mov ebx, eax
push 0xea60
push ebx
call fcn.0008687c
push 0
push ebx
call fcn.0008684c
lea eax, [ebp - 0x14]
call fcn.00092878
mov edx, dword [ebp - 0x14]
mov eax, 0x92d08
call fcn.00083a84
dec eax
jne 0x92c96
mov eax, dword [ebp - 0x14]
call fcn.00083798
cmp eax, 0x100
jge 0x92c96
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 0x14]
call fcn.000839a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x92cdd
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0008359c
lea eax, [ebp - 0x1c]
call fcn.00083b48
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0008359c
lea eax, [ebp - 0xc]
call fcn.00083b48
lea eax, [ebp - 8]
call fcn.00083578
ret
Function at 0xaa01c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0xaa024
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0xaa1b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 3
call fcn.000a9f7c
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xaa15c
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xaa15c
mov edi, dword [edx + 0x50]
add edi, ecx
add edi, 4
mov esi, dword [edx + 0x50]
add esi, eax
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, dword [esi]
mov edx, edi
call fcn.000869a8
lea ecx, [ebp - 0x1c]
mov edx, 0xaa1cc
mov eax, 0xaa1d8
call fcn.000c1a7c
lea eax, [ebp - 0x1c]
mov edx, dword [0xd6b40]
mov edx, dword [edx]
call fcn.000837a0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00087dbc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00083cc8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.000c09a4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00083784
mov eax, dword [esi]
push eax
mov eax, dword [0xd6c14]
push eax
push 0
push 0
lea eax, [ebp - 4]
call fcn.00083968
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00083cc8
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.000c0ee0
mov eax, dword [ebp - 0x24]
pop edx
pop ecx
call fcn.000b782c
mov esi, eax
test esi, esi
je 0xaa153
push 0x6ddd00
push esi
call fcn.0008687c
mov eax, dword [0xd6c14]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.000866ec
neg eax
sbb eax, eax
neg eax
cmp al, 1
jne 0xaa153
cmp dword [ebp - 0xc], 0xa
je 0xaa16d
cmp dword [ebp - 0xc], 0x14
mov eax, dword [0xd6c14]
xor edx, edx
mov dword [eax], edx
push 0x493e0
call fcn.00086844
dec ebx
jne 0xaa042
call fcn.000a9410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xaa1bb
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0008359c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 8]
mov edx, 2
call fcn.0008359c
ret
Function at 0xab864
Capabilities:
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0xab86d
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0008394c
mov eax, dword [ebp - 8]
call fcn.0008394c
mov eax, dword [ebp - 0xc]
call fcn.0008394c
xor eax, eax
push ebp
push 0xab9cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.000ab038
lea eax, [ebp - 0x24]
call fcn.000ab140
push dword [ebp - 0x24]
push 0xab9e4
push dword [ebp - 0x14]
push 0xaba14
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00083858
mov eax, 5
call fcn.000828a4
add eax, 4
lea edx, [ebp - 0x20]
call fcn.000bf3a4
push dword [ebp - 0x10]
push 0xaba44
push dword [ebp - 0x14]
push 0xaba50
push dword [ebp - 0x20]
push 0xaba74
push dword [ebp - 4]
push 0xaba84
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00083858
lea edx, [ebp - 0x1c]
mov eax, 4
call fcn.000ab038
lea eax, [ebp - 0x28]
call fcn.000a978c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.000ab200
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0xaba90
push dword [ebp - 0x14]
push 0xaba9c
push dword [ebp - 0x18]
push 0xabaac
push dword [ebp - 0x20]
push 0xabac0
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00083858
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.000ab790
cmp byte [ebp + 0xc], 0
je 0xab99d
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.000bbe20
jmp 0xab9b2
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000001
call fcn.000bbe20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xab9d4
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0008359c
ret
Function at 0xabadc
Capabilities:
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0xabae5
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0008394c
mov eax, dword [ebp - 8]
call fcn.0008394c
mov eax, dword [ebp - 0xc]
call fcn.0008394c
xor eax, eax
push ebp
push 0xabc3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.000ab038
lea eax, [ebp - 0x24]
call fcn.000ab140
push dword [ebp - 0x24]
push 0xabc54
push dword [ebp - 0x14]
push 0xabc84
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00083858
mov eax, 5
call fcn.000828a4
add eax, 4
lea edx, [ebp - 0x20]
call fcn.000bf3a4
push dword [ebp - 0x10]
push 0xabcb4
push dword [ebp - 0x14]
push 0xabcc0
push dword [ebp - 0x20]
push 0xabce4
push dword [ebp - 4]
push 0xabcf4
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00083858
lea edx, [ebp - 0x1c]
mov eax, 4
call fcn.000ab038
lea eax, [ebp - 0x28]
call fcn.000a978c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.000ab200
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0xabd00
push dword [ebp - 0x14]
push 0xabd0c
push dword [ebp - 0x18]
push 0xabd1c
push dword [ebp - 0x20]
push 0xabd30
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00083858
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.000ab790
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000001
call fcn.000bbe20
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.000bbe20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xabc44
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.0008359c
ret
Function at 0xbf5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xbf62c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xbf616
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xbf616
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
call fcn.000869a8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.000835cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbf633
lea eax, [ebp - 4]
call fcn.00083578
ret

Function at 0xbf63c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.000840a8
xor eax, eax
push ebp
push 0xbf70f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xbf6e2
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xbf6e2
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00083acc
lea eax, [ebp - 0x10]
call fcn.00083968
mov ecx, dword [ebx]
mov edx, esi
call fcn.000869a8
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00083968
push eax
lea eax, [ebp - 0x14]
call fcn.000c0ee0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000b782c
mov ebx, eax
test ebx, ebx
je 0xbf6e9
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbf716
lea eax, [ebp - 0x14]
call fcn.00083b48
lea eax, [ebp - 0x10]
call fcn.00083578
lea eax, [ebp - 4]
call fcn.00083b48
ret
Function at 0xc0b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc0c3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
test esi, esi
je 0xc0bb2
mov eax, esi
and eax, 0xf
cdq
xor eax, edx
sub eax, edx
mov dl, byte [eax + 0xd679c]
lea eax, [ebp - 4]
call fcn.00083720
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov eax, ebx
call fcn.000837e4
shr esi, 4
test esi, esi
jne 0xc0b87
cmp dword [ebx], 0
jne 0xc0bd4
jmp 0xc0bc7
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0xc0c50
call fcn.000837e4
mov eax, dword [ebx]
call fcn.00083798
cmp edi, eax
jg 0xc0bb9
jmp 0xc0c25
mov eax, dword [ebx]
call fcn.00083798
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x2d
jne 0xc0c1a
mov eax, dword [ebx]
call fcn.00083798
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.000839e0
mov edx, ebx
mov ecx, 1
mov eax, 0xc0c5c
call fcn.00083a28
jmp 0xc0c1a
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0xc0c50
call fcn.000837e4
mov eax, dword [ebx]
call fcn.00083798
cmp edi, eax
jg 0xc0c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc0c42
lea eax, [ebp - 4]
call fcn.00083578
ret
Function at 0xc8ea4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0xc8f4b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00083b48
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc8eff
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xc8eff
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
mov esi, dword [edx + 0x50]
add esi, eax
add esi, 4
add esi, dword [ecx]
lea eax, [ebp - 4]
mov edx, esi
call fcn.00083c70
mov eax, dword [ebp - 4]
call fcn.00083ce8
cmp eax, 0xa
jge 0xc8f26
call fcn.000866bc
mov edx, eax
lea eax, [ebp - 8]
call fcn.00083c70
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.000c09a4
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.000c09a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc8f52
lea eax, [ebp - 8]
mov edx, 2
call fcn.00083b60
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5ec50dc5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x12826e5c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40a9e3
Capabilities:
Query environment variable

Disassembly:
push 0x408
mov eax, 0x616305
call fcn.00429e48
push 0x208
xor esi, esi
lea eax, [ebp - 0x3e4]
push esi
push eax
call fcn.0042af50
add esp, 0xc
lea eax, [ebp - 0x3e4]
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40aa67
lea eax, [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.00411838
mov dword [ebp - 4], esi
lea eax, [ebp - 0x3fc]
cmp dword [ebp - 0x3e8], 8
push str._UserProfile_
cmovae eax, dword [ebp - 0x3fc]
push eax
call fcn.004599e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3fc]
call fcn.0041395f
mov ebx, 0xc8
lea eax, [ebp - 0x114]
push ebx
push esi
push eax
call fcn.0042af50
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x64
push eax
push str.USERDNSDOMAIN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40aadc
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.00411838
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3fc]
cmp dword [ebp - 0x3e8], 8
push str._UserDnsDomain_
cmovae eax, dword [ebp - 0x3fc]
push eax
call fcn.004599e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3fc]
call fcn.0041395f
push ebx
lea eax, [ebp - 0x1dc]
push esi
push eax
call fcn.0042af50
add esp, 0xc
lea eax, [ebp - 0x1dc]
push 0x64
push eax
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40ab4c
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.00411838
mov dword [ebp - 4], 2
lea eax, [ebp - 0x3fc]
cmp dword [ebp - 0x3e8], 8
push str._UserName_
cmovae eax, dword [ebp - 0x3fc]
push eax
call fcn.004599e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3fc]
call fcn.0041395f
push 0x3c
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0042af50
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x1e
push eax
push str.COMPUTERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40abb0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x414]
call fcn.00411838
mov dword [ebp - 4], 3
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x400], 8
push str._ComputerName_
cmovae eax, dword [ebp - 0x414]
push eax
call fcn.004599e6
lea ecx, [ebp - 0x414]
call fcn.0041395f
call fcn.00429df7
ret
Function at 0x40b060
Capabilities:
Accept command line arguments

Disassembly:
push 0x80
mov eax, 0x6164e7
call fcn.00429e48
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
mov edi, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x40b081
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov ecx, edi
mov dword [ebp - 0x54], ebx
call fcn.00411785
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x40b1d8
push dword [ebx + esi*4]
lea ecx, [ebp - 0x30]
call fcn.00411838
xor ecx, ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push 0x3a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push ecx
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00411e7f
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40b139
lea eax, [ebp - 0x4d]
push eax
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00411aa8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004117ff
lea ecx, [ebp - 0x6c]
call fcn.0041395f
lea eax, [ebp - 0x4d]
push eax
push ebx
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00411aa8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004117ff
lea ecx, [ebp - 0x6c]
call fcn.0041395f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x84]
call fcn.00411873
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x6c]
call fcn.00411873
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.00412683
lea ecx, [ebp - 0x6c]
call fcn.0041395f
lea ecx, [ebp - 0x84]
call fcn.0041395f
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x40b1bf
mov ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], ecx
cmp eax, 0x1000
jb 0x40b1b6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00413aba
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
call fcn.00429b68
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041395f
mov ebx, dword [ebp - 0x54]
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x40b0a3
call fcn.00429df7
ret 8