joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa8cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4aa8fa
mov eax, ebx
call fcn.004ab380
cmp dword [ebx + 0x40], 0
je 0x4aa8f3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4aa96b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4aa95d
cmp dword [ebx + 8], 0
je 0x4aa91c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4aa92e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4aa95d
cmp dword [ebx + 8], 0
je 0x4aa90f
cmp eax, 3
je 0x4aa941
dec eax
jne 0x4aa90f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4aa90f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4aa90f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4aa989
cmp dword [ebx + 0x14], 0xcc
je 0x4aa989
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004aa994
pop ebx
ret

Function at 0x4f89a0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
test dl, dl
je 0x4f89b5
add esp, 0xfffffff0
call fcn.00404260
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f8a23
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [0x55e08c]
mov eax, dword [eax]
call fcn.0048decc
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040a128
mov eax, dword [ebp - 4]
call fcn.004052d0
push eax
push 0x4f8a48
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x431c74]
call fcn.00431dc0
mov dword [esi + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8a2a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e34
ret
Function at 0x4ff364
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004052c0
xor eax, eax
push ebp
push 0x4ff467
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x4f0], 0
je 0x4ff3b5
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x4f4]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4ff3b5
cmp dword [ebp - 8], 0x103
je 0x4ff449
mov edx, dword [0x55dc7c]
mov edx, dword [edx]
lea eax, [ebp - 0x60]
mov ecx, 0x4ff47c
call fcn.0040511c
mov eax, dword [ebp - 0x60]
call fcn.00409ed4
test al, al
jne 0x4ff449
cmp dword [ebp - 4], 0
je 0x4ff3f4
push 0
mov cx, word [0x4ff48c]
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.00434c18
cmp eax, 6
jne 0x4ff449
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004080b0
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004080b0
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0x4ff490
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4ff449
mov byte [ebx + 0x4f0], 1
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x4f4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff46e
lea eax, [ebp - 0x60]
call fcn.00404e10
lea eax, [ebp - 4]
call fcn.00404e10
ret
Function at 0x5328ac
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
test dl, dl
je 0x5328c9
add esp, 0xfffffff0
call fcn.00404260
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x532b18
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
push ebp
push 0x532ac9
push dword fs:[edi]
mov dword fs:[edi], esp
xor eax, eax
push ebp
push 0x5329ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov edx, dword [0x55dc7c]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x532b4c
call fcn.0040511c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x418da8]
call fcn.0041e1b0
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
push 4
push 0x1000
mov eax, esi
mov edx, dword [eax]
call dword [edx]
add eax, 0x2000
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx]
shrd eax, edx, 0xc
shr edx, 0xc
add eax, 2
adc edx, 0
push eax
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 1
mov edx, dword [0x532474]
call fcn.004064d0
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00406314
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004080b0
mov dl, 1
mov eax, dword [0x409318]
call fcn.0040f1cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5329cc
mov dl, 1
mov eax, dword [0x418e98]
call fcn.00403ecc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
xor eax, eax
push ebp
push 0x532a17
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x55dc7c]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x532b8c
call fcn.0040511c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0041e45c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x532a37
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 7
call fcn.0041dec4
lea eax, [ebp - 0xc]
mov edx, 0x532ba0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403264
jne 0x532ab8
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
push 0
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx]
sub eax, 7
sbb edx, 0
call fcn.00405fcc
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
add ecx, 7
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x10]
mov edx, esi
dec edx
test edx, edx
jl 0x532abf
inc edx
xor eax, eax
mov esi, eax
add esi, esi
mov dword [ecx + esi*8 + 0xc], ebx
mov esi, eax
add esi, esi
add ebx, dword [ecx + esi*8 + 4]
inc eax
dec edx
jne 0x532aa2
jmp 0x532abf
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x532afd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532b1f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404e34
ret
Function at 0x53ad80
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, dword [0x55dac8]
xor esi, esi
xor ebx, ebx
cmp dword [edi], 0
jne 0x53adb8
mov eax, dword [0x55def0]
mov eax, dword [eax]
call fcn.00500e54
test al, al
je 0x53aeef
mov eax, dword [0x55def0]
mov eax, dword [eax]
call fcn.00500974
jmp 0x53aeef
mov eax, dword [edi]
call fcn.004241f4
mov eax, dword [0x55db84]
mov eax, dword [eax]
cmp eax, 0x50b534
jne 0x53addf
push 0
call fcn.00539d2c
push eax
call sub.kernel32.dll_TerminateProcess
jmp 0x53aeae
cmp dword [edi], 0
je 0x53aeae
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4830e4]
call fcn.00485fcc
mov esi, eax
mov edx, 0x53aefc
mov eax, esi
call fcn.0046bc74
mov ecx, esi
mov dl, 1
mov eax, dword [0x458930]
call fcn.0045ed44
mov ebp, eax
mov edx, 0x53af14
mov eax, ebp
call fcn.0046bc74
mov edx, dword [ebp + 0x48]
add edx, 0x14
mov eax, esi
call fcn.0046b400
mov edx, 0x32
mov eax, esi
call fcn.00486de0
mov edx, 7
mov eax, ebp
call fcn.0046b3b4
mov eax, esi
call fcn.0046b68c
mov edx, eax
sar edx, 1
jns 0x53ae55
adc edx, 0
mov eax, dword [ebp + 0x4c]
sar eax, 1
jns 0x53ae5f
adc eax, 0
sub edx, eax
mov eax, ebp
call fcn.0046b3d8
mov edx, esi
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov dl, 3
mov eax, esi
call fcn.00487790
mov dl, byte [0x53af80]
mov eax, esi
call fcn.00487764
mov dl, 4
mov eax, esi
call fcn.00487df0
mov eax, esi
call fcn.0048a324
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x53aeae
inc ebx
push 0x3e8
call sub.kernel32.dll_Sleep_1
cmp dword [edi], 0
je 0x53aec3
mov eax, dword [edi]
cmp byte [eax + 0x33e], 0
je 0x53aec3
cmp ebx, 0x1e
jl 0x53aea3
cmp ebx, 0x1e
jne 0x53aedd
push 0
mov cx, word [0x53af84]
mov dl, 1
mov eax, 0x53af90
call fcn.00434c18
test esi, esi
je 0x53aeef
mov eax, esi
call fcn.0048a31c
mov eax, esi
call fcn.00403efc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x53afbc
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp byte [0x562724], 0
je 0x53afd5
mov eax, 6
jmp 0x53b091
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x53b08c
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x53b041
dec ecx
jne 0x53b085
cmp eax, 4
jg 0x53b00f
mov eax, 4
jmp 0x53b091
cmp eax, 5
jne 0x53b01f
test edx, edx
jne 0x53b01f
mov eax, 5
jmp 0x53b091
cmp eax, 5
jne 0x53b02e
dec edx
jne 0x53b02e
mov eax, 6
jmp 0x53b091
cmp eax, 5
jle 0x53b03a
mov eax, 7
jmp 0x53b091
mov eax, 0xf423f
jmp 0x53b091
cmp eax, 4
jne 0x53b04e
test edx, edx
jne 0x53b04e
xor eax, eax
jmp 0x53b091
cmp eax, 4
jne 0x53b06d
cmp edx, 0xa
jne 0x53b06d
cmp byte [esp + 0x15], 0x41
jne 0x53b066
mov eax, 2
jmp 0x53b091
mov eax, 1
jmp 0x53b091
cmp eax, 4
jne 0x53b07e
cmp edx, 0x5a
jne 0x53b07e
mov eax, 3
jmp 0x53b091
mov eax, 0xf423f
jmp 0x53b091
mov eax, 0xf423f
jmp 0x53b091
mov eax, 0xf423f
add esp, 0x94
ret
Function at 0x412210
Capabilities:
Parse pe header

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

Function at 0x18b76c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x66c000]
push edi
or ebp, 0xffffffff
jmp 0x18b76e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x18b76e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18b76d8
mov eax, 1
add ebx, ebx
jne 0x18b76fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x18b770c
jne 0x18b772b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18b772b
dec eax
add ebx, ebx
jne 0x18b7718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x18b76f0
add ebx, ebx
jne 0x18b7727
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x18b777d
xor ecx, ecx
sub eax, 3
jb 0x18b7743
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x18b77b2
sar eax, 1
mov ebp, eax
jmp 0x18b774e
add ebx, ebx
jne 0x18b774e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18b771c
inc ecx
add ebx, ebx
jne 0x18b775c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18b771c
add ebx, ebx
jne 0x18b7769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x18b775e
jne 0x18b777a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x18b775e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x18b779c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x18b778e
jmp 0x18b76de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x18b779c
add edi, ecx
jmp 0x18b76de
pop esi
mov edi, esi
mov ecx, 0x2142d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x18b77ba
cmp byte [edi], 0xb5
jne 0x18b77ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x18b77bf
lea edi, [esi + 0x9b3000]
mov eax, dword [edi]
or eax, eax
je 0x18b782e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa33868]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa33994]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x18b77ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa33998]
or eax, eax
je 0x18b7828
mov dword [ebx], eax
add ebx, 4
jmp 0x18b7809
call dword [esi + 0xa339a8]
mov ebp, dword [esi + 0xa3399c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x18b7862
sub esp, 0xffffff80
jmp 0x131f868
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x412590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4125aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4125b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4125a0
mov eax, 1
add ebx, ebx
jne 0x4125c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4125b8
jne 0x4125d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4125b8
xor ecx, ecx
sub eax, 3
jb 0x4125e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41265a
mov ebp, eax
add ebx, ebx
jne 0x4125f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412624
inc ecx
add ebx, ebx
jne 0x412610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412605
jne 0x412621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412605
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412635
jmp 0x4125a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412644
add edi, ecx
jmp 0x4125a6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4126ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x127c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412661
mov ecx, edi
jns 0x412690
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x127cc]
or eax, eax
je 0x4126a6
mov dword [ebx], eax
add ebx, 4
jmp 0x41267e
call dword [esi + 0x127c8]
mov ebp, dword [esi + 0x127d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4126e0
sub esp, 0xffffff80
jmp 0x403ac6
Function at 0x100a6538
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1016f648]
jne 0x100a6542
repz ret
jmp fcn.100a84c9

Function at 0x100ab85f
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.100a7546
and dword [ebp - 4], 0
cmp dword [0x101714a8], 0
mov ebx, eax
jne 0x100ab910
push 0x10156608
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100ab9c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101565fc
push edi
call esi
test eax, eax
je 0x100ab9c1
push eax
call fcn.100a74d4
mov dword [esp], 0x101565ec
push edi
mov dword [0x101714a8], eax
call esi
push eax
call fcn.100a74d4
mov dword [esp], 0x101565d8
push edi
mov dword [0x101714ac], eax
call esi
push eax
call fcn.100a74d4
mov dword [esp], 0x101565bc
push edi
mov dword [0x101714b0], eax
call esi
push eax
call fcn.100a74d4
pop ecx
mov dword [0x101714b8], eax
test eax, eax
je 0x100ab910
push 0x101565a4
push edi
call esi
push eax
call fcn.100a74d4
pop ecx
mov dword [0x101714b4], eax
mov eax, dword [0x101714b4]
cmp eax, ebx
je 0x100ab968
cmp dword [0x101714b8], ebx
je 0x100ab968
push eax
call fcn.100a754f
push dword [0x101714b8]
mov esi, eax
call fcn.100a754f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100ab968
test edi, edi
je 0x100ab968
call esi
test eax, eax
je 0x100ab95f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100ab95f
test byte [ebp - 0xc], 1
jne 0x100ab968
or dword [ebp + 0x10], 0x200000
jmp 0x100ab9a1
mov eax, dword [0x101714ac]
cmp eax, ebx
je 0x100ab9a1
push eax
call fcn.100a754f
pop ecx
test eax, eax
je 0x100ab9a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100ab9a1
mov eax, dword [0x101714b0]
cmp eax, ebx
je 0x100ab9a1
push eax
call fcn.100a754f
pop ecx
test eax, eax
je 0x100ab9a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101714a8]
call fcn.100a754f
pop ecx
test eax, eax
je 0x100ab9c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100ab9c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100ac81e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1016f5e4]
add eax, 0xfffffdcf
mov dword [0x1016f5e4], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100ac901
jmp 0x100ac8d7
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100ac54f
lea ecx, [0x100adaec]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], edx
mov dword [esp + 0x58], 0x12fa00
mov edx, dword [0x1016f5d0]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1016f5d4]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1016f5d8]
mov dword [esp + 0x40], edx
mov edx, dword [0x1016f5dc]
mov dword [esp + 0x54], edx
mov edx, dword [0x1016f5e0]
mov dword [esp + 0x84], edx
mov dword [0x1016f5e4], 0xfffff70e
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x100ac92b
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x100ac92b
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x100ac93c
jmp 0x100ac8c3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x100ac8d7
lea eax, [esp + 0x38]
mov dword [0x1016f5e8], 0xcff
mov dword [esp + 0xc], eax
call fcn.100ad0be
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x100ac855
jmp 0x100ac8f7
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x100ac8e1
jmp 0x100ac8c3
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov dword [0x1016f5e8], 0x2382
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x44], esi
mov dword [0x1016f5e4], 0x17e8
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100ad496
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1016f5e4]
add ecx, 0xfffff71a
mov dword [0x1016f5e4], ecx
mov dword [esp + 0x10], eax
jmp 0x100ac8f7
Function at 0x100acb96
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1016f5f0], 0
mov byte [0x1016f5f4], 0
mov dword [0x1016f5e4], 0x2002
mov dword [0x1016f5e8], 0xf6c
mov dword [0x1016f5ec], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1016f5e4], 0x142c
mov eax, dword [0x1016f5ec]
add eax, 1
mov dword [0x1016f5ec], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100acbe5
mov dword [0x1016f5e8], 0x1a2c
mov dword [0x1016f5ec], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100acc30
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1016f5f8], 0
mov edx, dword [0x1016f5f0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1016f5f8], edi
mov dword [0x1016f5e8], 0x232c
mov eax, edi
cdq
idiv ecx
mov dword [0x1016f5f0], edx
mov dword [0x1016f5e4], 0x347
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1016f5f4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1016f5f4]
mov edx, dword [0x1016f5f0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1016f5ec]
add edx, 1
mov dword [0x1016f5ec], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100acc30
mov eax, dword [0x1016f5e8]
add eax, 0xffffeb75
mov dword [0x1016f5e8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100ad0be
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x3c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1016f5e8]
mov edi, esi
add edi, 0xffffde83
mov dword [0x1016f5e4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jmp 0x100ad1a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x100ad154
jmp 0x100ad25d
mov eax, dword [ebp - 0x2c]
add esp, 0x3c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov dword [0x1016f5e8], 0x9f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x100ad17c
jmp 0x100ad25d
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce0
mov dword [0x1016f5e4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
je 0x100ad230
jmp 0x100ad25d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x32], dx
mov ax, word [ebp - 0x32]
cmp ax, 0x6f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
je 0x100ad1e8
jmp 0x100ad25d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edx
je 0x100ad12d
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], cl
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], edx
jne 0x100ad1a0
jmp 0x100ad12d
mov dword [0x1016f5e8], 0x1815
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp word [eax], 0x61
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
jne 0x100ad25d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x100ad109
jmp 0x100ad25d
mov eax, 1
mov ecx, 0xadf
mov dword [0x1016f5e4], 0xadf
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
je 0x100ad123
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x1016f5e8], eax
mov dword [ebp - 0x2c], ecx
jmp 0x100ad123