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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4041eb
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4041ba
jmp 0x4041eb
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4041db
pop esi
pop ebp
ret

Function at 0x40424b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestBlockingProcess.exe_gMozillaPoisonSize]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x404283
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x1c]
jb 0x4042ad
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042ad
test edi, edi
je 0x40427a
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40427a
test edi, edi
je 0x4042b5
mov eax, edi
jmp 0x40427c
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40427c
int3

Function at 0x4042e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov dword [sym.TestBlockingProcess.exe_gMozillaPoisonSize], eax
call fcn.0040424b
mov ecx, dword [sym.TestBlockingProcess.exe_gMozillaPoisonSize]
mov dword [sym.TestBlockingProcess.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40431a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestBlockingProcess.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x40a58e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 1
lea eax, [ebp - 1]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x14
xor eax, eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x783838cd
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x435a77ee
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40673a
pop dword [ebp - 0x48]
mov eax, 0x42567887
sub eax, 0x4216114d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xb96db15d
sub dword [ebp - 0x58], 0x6b1b6c12
mov dword [ebp - 0x54], 0xdee5dd8d
sub dword [ebp - 0x54], 0xacb29148
mov dword [ebp - 0x50], 0xf4739890
add dword [ebp - 0x50], 0x57d8ab9e
mov dword [ebp - 0x4c], 0xba6e7828
sub dword [ebp - 0x4c], 0xba6e7828
lea eax, [ebp - 0x58]
push eax
mov eax, 0xa720f518
sub eax, 0xa6e07414
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xa5e26ace
add dword [ebp - 0x58], 0xce8ffe88
mov dword [ebp - 0x54], 0xc1b3e804
add dword [ebp - 0x54], 0x7fb87971
mov dword [ebp - 0x50], 0x7cb0a3b9
add dword [ebp - 0x50], 0xe6bec8b3
mov dword [ebp - 0x4c], 0x863faf6c
sub dword [ebp - 0x4c], 0x863faf6c
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xd0c41123
add eax, 0x2f7c6fdd
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x35251
push 0
call eax
mov ecx, 0x1b868526
sub ecx, 0x1b8646a2
mov ebx, eax
mov edx, 0x428e1c22
sub edx, 0x42473822
add edx, dword [ebp - 0x48]
mov edi, 0xe1a48953
mov esi, dword [edx]
mov dword [ebp - 0x1c], 0x6a7e5898
xor esi, edi
xor dword [ebp - 0x2c], ebx
mov dword [ebx], esi
xor dword [ebp - 0x10], 0xa58ac41
add ebx, 0xd88d24ab
add ebx, 0x2772db59
add edx, 0x716047f3
sub edx, 0x716047ef
loop 0x406856
add eax, 0x262fdc75
add eax, 0xd9d1106e
mov ebx, eax
add eax, 5
mov ecx, 0xf6e0fda1
add ecx, 0x95f025f
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10064bc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov byte [0x10095d10], 1
xor esi, esi
nop word [eax + eax]
mov ecx, esi
mov eax, esi
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
mov dword [esi*4 + 0x10095910], eax
inc esi
cmp esi, 0x100
jl 0x10064bd0
pop esi
ret

Function at 0x10064c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10095d10], 0
jne 0x10064c91
call fcn.10064bc0
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10064cc1
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x10064cbf
movzx edx, byte [esi + edi]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10095910]
cmp esi, ebx
jb 0x10064ca7
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x10065987
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d1de
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1008cc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.TElementaryQuery.0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10065954
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10065954
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10065954
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.10065954
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.10065954
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x35], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x36], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x1002fed6
Capabilities:
Copy file

Disassembly:
push 0x724
mov eax, 0x1005f727
call fcn.1004555b
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x72c], edi
mov dword [ebp - 0x728], esi
jb 0x1002ff01
mov eax, dword [esi]
jmp 0x1002ff03
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x1002ff0d
mov ecx, dword [edi]
jmp 0x1002ff0f
mov ecx, edi
xor edx, edx
cmp byte [ebp + 0x10], dl
sete dl
push edx
push eax
push ecx
mov dword [ebp - 0x730], edx
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
jne 0x1002ffd7
mov ebx, dword [sym.imp.kernel32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x1002ffa0
and dword [ebp - 4], 0
push 1
push 0x80
push esi
call fcn.10057ddf
cmp dword [esi + 0x14], 8
jb 0x1002ff56
mov ecx, dword [esi]
jmp 0x1002ff58
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x1002ff62
mov eax, dword [edi]
jmp 0x1002ff64
mov eax, edi
push dword [ebp - 0x730]
push ecx
push eax
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
jne 0x1002ffd7
or dword [ebp - 4], 0xffffffff
jmp 0x1002ffa0
push esi
push edi
push 0x10003e08
call ebx
push eax
push 0xf
lea ecx, [ebp - 0x724]
call fcn.10057ddf
mov esi, eax
push 0x100629b4
lea eax, [ebp - 0x39c]
mov ecx, 0xe2
lea edi, [ebp - 0x39c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10057ddf
call fcn.100455b4
ret 0xc
Function at 0x10032013
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x1005f975
call fcn.10045525
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x10032068
push 0x10004bf0
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.10057ddf
mov esi, eax
push 0x100629b4
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10057ddf
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x10032086
mov eax, dword [esi]
jmp 0x10032088
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x100321de
cmp dword [ebp - 0x744], 7
jne 0x100321de
test ecx, ecx
je 0x100320dd
push esi
lea eax, [edi + 8]
push eax
push 0x10004ac0
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.10057ddf
jmp 0x10032048
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.10057ddf
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x10032136
mov ecx, dword [esi]
jmp 0x10032138
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10032167
push esi
lea ecx, [edi + 8]
push ecx
push 0x10004ac0
push eax
jmp 0x100320cb
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.10057ddf
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10057ddf
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.10057ddf
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x1003216f
lea ecx, [ebp - 0x754]
call fcn.1005ec72
mov al, 1
jmp 0x100321e0
xor al, al
call fcn.100455a8
ret 8
Function at 0x1003d123
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100611af
call fcn.100454bc
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x1003d14c
cmp dword [0x1009b850], edi
je 0x1003d236
push 2
pop ebx
jmp 0x1003d166
cmp edi, 1
jne 0x1003d236
mov eax, ebx
call fcn.1003e014
test al, al
je 0x1003d236
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.1003e036
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x1003d218
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1003d1ad
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.1003d80d
test eax, eax
je 0x1003d24a
push 0x1c049f
push 0
call fcn.10057ddf
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x10069528], 0
push ebx
mov ecx, 0x1009b860
call fcn.10057ddf
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1003d924
mov esi, eax
test esi, esi
je 0x1003d199
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1003e057
inc edi
cmp edi, 2
jl 0x1003d134
mov eax, esi
call fcn.10045594
ret 0x18
push ebx
mov ecx, 0x1009b860
call fcn.10057ddf
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x1003d22a
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x1003d285
cmp dword [ebp - 0x20], 3
jne 0x1003d280
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1003d280
and cl, 0xf
cmp cl, 4
je 0x1003d285
push 2
pop esi
jmp 0x1003d22a
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.1003e057
xor eax, eax
jmp 0x1003d242
Function at 0x1003d70e
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x10061220
call fcn.100454bc
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b858]
jne 0x1003d72c
xor al, al
jmp 0x1003d805
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x1003d73d
xor ecx, ecx
cmp dword [0x1009b850], ecx
jmp 0x1003d748
mov eax, esi
call fcn.1003e014
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x1003d725
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.1003e036
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x1003d7c6
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003d77c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.1003d80d
test eax, eax
je 0x1003d7eb
push 0x1c04c2
xor ebx, ebx
push ebx
call fcn.10057ddf
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b860
mov dword [eax + 0x10069528], ebx
call fcn.10057ddf
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.1003d924
mov ebx, eax
test ebx, ebx
je 0x1003d770
jmp 0x1003d7f8
push dword [ebp + 8]
mov ecx, 0x1009b860
call fcn.10057ddf
lea ecx, [ebp + 0xf]
call fcn.1003e057
test ebx, ebx
sete al
call fcn.10045594
ret 8
Function at 0x1003e078
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10061276
call fcn.100454bc
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b858]
jne 0x1003e096
xor eax, eax
jmp 0x1003e1fb
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x1003e0b9
cmp dword [0x1009b850], ebx
je 0x1003e1bb
push 2
pop edi
jmp 0x1003e0d3
cmp ebx, 1
jne 0x1003e1bb
mov eax, esi
call fcn.1003e014
test al, al
je 0x1003e1bb
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.1003e036
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x1003e17e
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003e107
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x1003e133
cmp dword [ebp - 0x1c], 1
je 0x1003e130
cmp dword [ebp - 0x1c], 2
jne 0x1003e133
push 2
pop edi
mov eax, edi
call fcn.1003d80d
test eax, eax
je 0x1003e19b
push 0x1c0496
xor edi, edi
push edi
call fcn.10057ddf
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b860
mov dword [eax + 0x10069528], edi
call fcn.10057ddf
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.1003d924
mov edi, eax
test edi, edi
je 0x1003e0fb
jmp 0x1003e1ac
push dword [ebp - 0x10]
mov ecx, 0x1009b860
call fcn.10057ddf
test edi, edi
je 0x1003e1c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003e057
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x1003e0a1
jmp 0x1003e1d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003e057
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x1003e1f1
cmp dword [ebp - 0x1c], 2
je 0x1003e1e9
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x1003e1f9
push ecx
call fcn.10057ddf
jmp 0x1003e1f7
push esi
call fcn.10057ddf
mov ecx, eax
mov eax, ecx
call fcn.10045594
ret 4
Function at 0x10044aee
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10066040
call fcn.100498d0
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10044b7c
call fcn.1004989e
test eax, eax
jne 0x10044b12
xor eax, eax
jmp 0x10044c48
call fcn.10048c80
test eax, eax
jne 0x10044b22
call fcn.100498bc
jmp 0x10044b0b
call fcn.10049852
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x100a4834], eax
call fcn.10057ddf
mov dword [0x1009c15c], eax
call fcn.10057ddf
test eax, eax
jns 0x10044b4c
call fcn.10048959
jmp 0x10044b1b
call fcn.10057ddf
test eax, eax
js 0x10044b75
call fcn.1004948a
test eax, eax
js 0x10044b75
push 0
call fcn.10057ddf
pop ecx
test eax, eax
jne 0x10044b75
inc dword [0x1009c158]
jmp 0x10044c45
call fcn.10049437
jmp 0x10044b45
xor edi, edi
cmp eax, edi
jne 0x10044bdb
cmp dword [0x1009c158], edi
jle 0x10044b0b
dec dword [0x1009c158]
mov dword [ebp - 4], edi
cmp dword [0x1009c4d4], edi
jne 0x10044ba0
call fcn.100491c5
cmp dword [ebp + 0x10], edi
jne 0x10044bb4
call fcn.10049437
call fcn.10048959
call fcn.100498bc
mov dword [ebp - 4], 0xfffffffe
call fcn.10044bc7
jmp 0x10044c45
cmp eax, 2
jne 0x10044c39
call fcn.10048925
push 0x214
push 1
call fcn.10057ddf
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x10044b0b
push esi
push dword [0x10099c10]
push dword [0x1009c4b4]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10044c2d
push edi
push esi
call fcn.1004899a
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x10044c45
push esi
call fcn.10057ddf
pop ecx
jmp 0x10044b0b
cmp eax, 3
jne 0x10044c45
push edi
call fcn.10057ddf
pop ecx
xor eax, eax
inc eax
call fcn.10049915
ret 0xc

Function at 0x10045462
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10099c08]
jne 0x10046509
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1009c280], eax
mov dword [0x1009c27c], ecx
mov dword [0x1009c278], edx
mov dword [0x1009c274], ebx
mov dword [0x1009c270], esi
mov dword [0x1009c26c], edi
mov word [0x1009c298], ss
mov word [0x1009c28c], cs
mov word [0x1009c268], ds
mov word [0x1009c264], es
mov word [0x1009c260], fs
mov word [0x1009c25c], gs
pushfd
pop dword [0x1009c290]
mov eax, dword [ebp]
mov dword [0x1009c284], eax
mov eax, dword [ebp + 4]
mov dword [0x1009c288], eax
lea eax, [ebp + 8]
mov dword [0x1009c294], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1009c1d0], 0x10001
mov eax, dword [0x1009c288]
mov dword [0x1009c184], eax
mov dword [0x1009c178], 0xc0000409
mov dword [0x1009c17c], 1
mov eax, dword [0x10099c08]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10099c0c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1009c1c8], eax
push 1
call fcn.1004d289
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10010f4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1009c1c8], 0
jne 0x100465f5
push 1
call fcn.1004d289
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x10057ddf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10057dee
pop dword [ebp - 0x24]
mov eax, 0xd59c5871
sub eax, 0xc596da83
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xede4427b
sub dword [ebp - 0x34], 0x9f91fd30
mov dword [ebp - 0x30], 0x8f5c8e18
add dword [ebp - 0x30], 0xa2d6be2d
mov dword [ebp - 0x2c], 0x84b1f846
add dword [ebp - 0x2c], 0xc79a4be8
mov dword [ebp - 0x28], 0xccf85f0a
add dword [ebp - 0x28], 0x3307a0f6
lea eax, [ebp - 0x34]
push eax
mov eax, 0x94bea05a
add eax, 0x7b41722e
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x3835afee
add dword [ebp - 0x34], 0x3c3cb968
mov dword [ebp - 0x30], 0x2e5e3a60
sub dword [ebp - 0x30], 0xecf1d8eb
mov dword [ebp - 0x2c], 0x2c69a606
sub dword [ebp - 0x2c], 0xc8fa399a
mov dword [ebp - 0x28], 0xca36da7f
add dword [ebp - 0x28], 0x35c92581
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x6036c73a
sub eax, 0x5036b4ee
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x4a997
push 0
call eax
mov ecx, 0xe15aa452
sub ecx, 0xe15a58fb
mov esi, eax
mov edi, 0x22d0a988
add edi, 0xed3c7a78
add edi, dword [ebp - 0x24]
mov edx, 0xc6e27a89
add edx, 0xb59f63ec
sub dword [ebp - 0x10], 0x1d7dfdee
mov ebx, dword [edi]
sub dword [ebp - 0x18], 0x6f8ea238
xor ebx, edx
sub dword [ebp - 0x14], ecx
mov dword [esi], ebx
add esi, 4
add edi, 0x520131ca
add edi, 0xadfece3a
loop 0x10057f10
add eax, 0x10aa1594
sub eax, 0x10a8f565
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

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 0x3080194f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x308249ec]
jne 0x30801959
repz ret
jmp fcn.3081a014

Function at 0x30807ed2
Capabilities:
Get file attributes

Disassembly:
push 0x58
mov eax, 0x3081ac18
call fcn.3081997e
mov eax, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 4], esi
xor ebx, ebx
call fcn.30807c9a
pop ecx
pop ecx
test eax, eax
je 0x30807f69
push str.__
lea ecx, [ebp - 0x64]
call fcn.30814709
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.30814709
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.30814709
push esi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.30814709
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.30814709
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x30807f60
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
and bl, 1
call fcn.30814709
mov al, bl
call fcn.308199b4
ret