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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412ac0
push 0x40fcc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
dec byte [0x415819]
and dword [ebp - 0x1c], 0
mov al, byte [0x415828]
or al, byte [0x415824]
add byte [0x415813], al
and dword [ebp - 4], 0
push 0x40
call fcn.00404292
pop ecx
call eax
test eax, 0x80000000
je 0x4019c0
push 0x1235ffff
movsx eax, byte [0x415817]
push eax
call fcn.0040309f
pop ecx
pop ecx
mov dword [0x415838], eax
push edx
push ebx
push eax
sub eax, edx
xor eax, 0xfae3ffff
inc ebx
pop eax
pop ebx
pop edx
mov ecx, dword fs:[0x20]
push edx
push ecx
add ecx, edx
pop ecx
pop edx
mov dword [ebp - 0x1c], ecx
push edx
push eax
nop
inc edx
mov eax, 0xd6c7ffff
pop eax
pop edx
jmp 0x401a41
mov ax, word [0x415820]
add eax, 0x5180001
mov byte [0x415819], al
push edx
push ebx
push eax
mov eax, edx
inc ebx
pop eax
pop ebx
pop edx
mov ecx, dword fs:[0x30]
push edx
push ebx
xor ebx, 0x62bfffff
inc edx
inc edx
pop ebx
pop edx
mov al, byte [ecx + 2]
push edx
push ecx
push ebx
push eax
xor eax, edx
and ecx, 0x5f5dffff
or edx, 0xee0fffff
mov ebx, 0x9169ffff
pop eax
pop ebx
pop ecx
pop edx
movzx ecx, al
push edx
push ebx
mov ebx, edx
pop ebx
pop edx
mov dword [ebp - 0x1c], ecx
push ebx
push eax
and ebx, 0xa9c3ffff
nop
mov eax, 0x46b3ffff
pop eax
pop ebx
jmp 0x401a41
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403453
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov ebx, ecx
xor esi, esi
dec byte [0x415819]
mov dword [ebp - 4], esi
cmp dword [ebx + 0x400], esi
jne 0x40347e
push 0x47
call fcn.00404292
pop ecx
mov dword [ebx + 0x400], eax
mov al, byte [0x415828]
push 0x1235ffff
or al, byte [0x415824]
add byte [0x415813], al
movsx eax, byte [0x415817]
push eax
call fcn.0040309f
mov dword [0x415838], eax
mov eax, dword [ebp + 8]
pop ecx
mov eax, dword [eax + 4]
pop ecx
cmp eax, esi
jne 0x4034b7
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [0x415c40]
mov cl, byte [0x415820]
mov dword [ebp + 8], eax
inc cl
cmp eax, 0xffffffff
mov byte [0x415819], cl
je 0x4035b2
xor eax, eax
cmp word [0x41581e], si
push edi
push 0x1d
setne al
add dword [0x415850], eax
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 8], esi
call sub.MSVCRT.dll_memset
push 0xc9fdffff
push 0xdf5fffff
mov dword [ebp - 0x28], esi
call fcn.004030d8
mov edi, 0x400
mov dword [0x415850], eax
push edi
push esi
push ebx
mov dword [ebp - 0x24], esi
call sub.MSVCRT.dll_memset
mov al, byte [0x415848]
push 0xff09ffff
imul byte [0x415818]
mov byte [0x415813], al
movsx eax, byte [0x415815]
push eax
call fcn.0040302e
add byte [0x415813], al
add esp, 0x28
lea eax, [ebp - 8]
push esi
push eax
push edi
push ebx
lea eax, [ebp - 0x28]
push 0x1d
push eax
push 0x2d1400
push dword [ebp + 8]
call dword [ebx + 0x400]
test eax, eax
pop edi
je 0x4035a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add word [0x415826], ax
mov ecx, ebx
call fcn.004035bb
movsx ax, byte [0x415817]
sub word [0x415828], ax
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [0x415840], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x408791
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040fc90
movsx eax, byte [0x415814]
push ebx
push esi
push edi
push eax
movsx eax, byte [0x415811]
push eax
call fcn.00402f6c
pop ecx
and byte [ebp - 0x40c], 0
pop ecx
mov word [0x415820], ax
push 0
lea eax, [ebp - 0x40c]
push 0x24
push eax
push 0
push 0x2a
call fcn.00404292
pop ecx
call eax
movsx eax, word [0x41581c]
add eax, 0x55fffff
cmp byte [ebp - 0x40c], 0
mov dword [0x415848], eax
mov edi, 0x400
jne 0x408830
mov esi, dword [0x412994]
mov al, byte [esi]
sub al, 0x11
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040fc90
mov eax, esp
lea ecx, [ebp - 0x40c]
push edi
push ecx
push esi
push eax
call fcn.0040ef68
pop ecx
pop ecx
push eax
push 0x41
call fcn.00404292
pop ecx
call eax
push 0x1a01ffff
push 0x7d15ffff
call fcn.004030d8
cmp byte [ebp - 0x40c], 0
pop ecx
pop ecx
mov dword [0x415850], eax
jne 0x408884
mov esi, dword [0x412998]
mov al, byte [esi]
sub al, 0x11
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040fc90
mov eax, esp
lea ecx, [ebp - 0x40c]
push edi
push ecx
push esi
push eax
call fcn.0040ef68
pop ecx
pop ecx
push eax
push 0x41
call fcn.00404292
pop ecx
call eax
movsx eax, byte [0x415819]
push eax
push 0xad7dffff
call fcn.00403002
add byte [0x415812], al
cmp byte [ebp - 0x40c], 0
pop ecx
pop ecx
jne 0x4088d7
mov esi, dword [0x41299c]
mov al, byte [esi]
sub al, 0x11
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040fc90
mov eax, esp
push esi
push eax
call fcn.0040ef68
push eax
lea eax, [ebp - 0x40c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [0x415844], eax
lea eax, [ebp - 0x40c]
push eax
push 0xe
call fcn.00404292
pop ecx
call eax
push 0x9bd7ffff
mov ebx, eax
push dword [0x415840]
call fcn.004030d8
add byte [0x415811], al
pop ecx
test ebx, ebx
pop ecx
jl 0x408950
cmp ebx, 0x19
jg 0x408950
mov esi, dword [0x4129a0]
mov al, byte [esi]
sub al, 0x11
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040fc90
add ebx, 0x41
mov eax, esp
push ebx
push esi
push eax
call fcn.0040ef68
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x408982
mov esi, dword [0x41297c]
mov al, byte [esi]
sub al, 0x11
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040fc90
mov eax, esp
push esi
push eax
call fcn.0040ef68
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
pop ecx
pop ecx
movsx ax, byte [0x415811]
dec eax
push edi
add word [0x41581a], ax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x100c]
push edi
push eax
lea eax, [ebp - 0x80c]
xor esi, esi
push eax
push 0x3d
call fcn.00404292
pop ecx
call eax
test eax, eax
je 0x4089c8
mov esi, dword [ebp - 4]
movsx eax, word [0x415820]
push eax
push 0xc2cbffff
call fcn.00402fbe
pop ecx
mov byte [0x415812], al
pop ecx
mov eax, esi
lea esp, [ebp - 0x1018]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ba80
Capabilities:
Hash data with md5

Disassembly:
movsx eax, word [0x41581c]
push esi
mov esi, ecx
movsx ecx, byte [0x415812]
imul eax, ecx
add dword [0x415854], eax
push 8
lea eax, [esi + 0x10]
push 0
push eax
call sub.MSVCRT.dll_memset
movsx eax, byte [0x415810]
push 0x335dffff
push eax
call fcn.0040302e
mov dword [0x415838], eax
add esp, 0x14
mov dword [esi], 0x67452301
cmp byte [0x415814], 0
jne 0x40badd
cmp byte [0x415818], 0
jne 0x40badd
xor eax, eax
jmp 0x40bae0
push 1
pop eax
add dword [0x415854], eax
mov dword [esi + 4], 0xefcdab89
movsx eax, word [0x415822]
push eax
push 0xd84bffff
call fcn.004030d8
add word [0x41581e], ax
mov dword [esi + 8], 0x98badcfe
movsx eax, word [0x41581c]
push 0x2509ffff
push eax
call fcn.00402eff
add byte [0x415819], al
push 0x38b9ffff
push 0x31c5ffff
mov dword [esi + 0xc], 0x10325476
call fcn.00402fbe
add byte [0x415812], al
add esp, 0x18
pop esi
ret
Function at 0x402044
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42f040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x47e160]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4020b4
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00402bc8
lea ecx, [esp + 0x1c]
call fcn.00401e74
cmp eax, dword [esp + 0x10]
je 0x4020cb
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403484
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x402084
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040833e
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403e0f
push eax
call fcn.00404088
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403484
jmp 0x4020b6
Function at 0x419180
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418e22

Function at 0x41918b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418fb1

Function at 0x419585
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409270
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004164e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4195c7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x419723
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004235a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47dd58]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041a755
mov ecx, dword [esi*4 + 0x47dd58]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41971c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41971c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41971c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a755
add esp, 0x14
test edx, edx
jl 0x41971c
jg 0x419692
test eax, eax
jb 0x41971c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41971c
jl 0x4196ac
cmp dword [ebp - 0x1008], eax
ja 0x41971c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4196ca
test ebx, ebx
je 0x419703
cmp ecx, edi
jae 0x419703
mov al, byte [ecx]
cmp al, 0xd
jne 0x4196e4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4196f0
cmp byte [ecx + 1], 0xa
jne 0x4196f0
inc ecx
jmp 0x4196f0
movzx eax, al
movsx eax, byte [eax + 0x42f300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4196ca
cmp edx, ebx
jne 0x4196ca
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419721
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040833e
leave
ret
Function at 0x419bf3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47dd58]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x419c33
cmp byte [ebx], 0xa
jne 0x419c33
or byte [eax + edi + 0x28], 4
jmp 0x419c38
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x419d36
mov al, byte [edx]
cmp al, 0x1a
je 0x419d18
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x419c67
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x419c8c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x419c96
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x419c49
jmp 0x419d36
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419d13
cmp dword [ebp - 0xc], 0
je 0x419d13
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47dd58]
test byte [eax + edi + 0x28], 0x48
je 0x419ced
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x419cd8
mov byte [esi], dl
jmp 0x419ce9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47dd58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x419d36
cmp byte [ebp - 1], 0xa
jne 0x419cfc
cmp esi, ebx
jne 0x419cfc
mov byte [esi], 0xa
jmp 0x419d35
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041a773
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x419d36
mov byte [esi], 0xd
jmp 0x419d35
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47dd58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419d32
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419d36
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419d3f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47dd58]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x419d82
cmp word [esi], dx
jne 0x419d82
or byte [edi + eax + 0x28], 4
jmp 0x419d87
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x419eda
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x419eba
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x419dc9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x419dff
cmp eax, edx
jae 0x419e0b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x419da1
jmp 0x419eda
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419eb6
cmp dword [ebp - 0x14], 0
je 0x419eb6
mov eax, dword [ebx*4 + 0x47dd58]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x419e8e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x419e57
mov word [esi], cx
jmp 0x419e8a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47dd58]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47dd58]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47dd58]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x419eda
pop ebx
cmp word [ebp - 4], bx
jne 0x419e9f
cmp esi, dword [ebp + 0xc]
jne 0x419e9f
mov word [esi], bx
jmp 0x419ed7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041a773
add esp, 0x10
cmp word [ebp - 4], bx
je 0x419eda
push 0xd
jmp 0x419ed3
mov ecx, dword [ebx*4 + 0x47dd58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419ed1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419eda
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10a96058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10a961a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10a9607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10a9606a
add dl, dl
jne 0x10a96089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10a960dc
xor eax, eax
add dl, dl
jne 0x10a96096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10a9617d
add dl, dl
jne 0x10a960a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10a960b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10a960bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10a960c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10a960d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10a96075
mov eax, 1
add dl, dl
jne 0x10a960ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10a960f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10a960e1
sub eax, ebx
mov ebx, 1
jne 0x10a96128
mov ecx, 1
add dl, dl
jne 0x10a9610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10a96119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10a96105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10a96075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10a9613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10a9614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10a96136
cmp eax, 0x7d00
jae 0x10a9616d
cmp eax, 0x500
jb 0x10a96168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10a96075
cmp eax, 0x7f
ja 0x10a96170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10a96075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10a9619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10a96075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401370
Capabilities:
Create pipe
Create process on windows
Query environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.00409c40
mov eax, dword [0x45ad2c]
mov ecx, dword [0x45a7b8]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
je 0x4014a4
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x45ad2c], 0x959
jne 0x40148e
push 0
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
push 0
push str.pihonalurexotorohematabezizo
push 0
push 0
push 0
call esi
push 0
lea ecx, [ebp - 0x1808]
push ecx
push 0
call edi
mov edx, dword [ebp - 4]
push edx
call fcn.004010e0
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x4013ae
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40406b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b770]
jne 0x404075
repz ret
jmp fcn.004078fc

Function at 0x40969b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44b770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405dd8
and dword [ebp - 0x14], 0
cmp dword [0x451e30], 0
mov dword [ebp - 0x18], eax
jne 0x40974e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4097f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4097f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x451e30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x451e34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x451e38], eax
call edi
push eax
call esi
mov dword [0x451e40], eax
test eax, eax
je 0x40974e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x451e3c], eax
mov eax, dword [0x451e3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4097a7
cmp dword [0x451e40], ecx
je 0x4097a7
push eax
call esi
push dword [0x451e40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4097a7
test ebx, ebx
je 0x4097a7
call edi
test eax, eax
je 0x40979e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40979e
test byte [ebp - 8], 1
jne 0x4097a7
or dword [ebp + 0x10], 0x200000
jmp 0x4097da
mov eax, dword [0x451e34]
cmp eax, dword [ebp - 0x18]
je 0x4097da
push eax
call esi
test eax, eax
je 0x4097da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4097da
mov eax, dword [0x451e38]
cmp eax, dword [ebp - 0x18]
je 0x4097da
push eax
call esi
test eax, eax
je 0x4097da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x451e30]
call esi
test eax, eax
je 0x4097f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4097f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040406b
leave
ret
Function at 0x4ba956
Capabilities:
Authenticate hmac

Disassembly:
or dword [eax], eax
pop esp
add cl, ch
add byte [ecx], cl
add byte [eax], ah
out dx, al
add byte [esi], cl
add byte [eax + eax - 8], ah
add byte [esi], cl
add byte [eax], ch
xchg edx, eax
add esp, dword [eax]
add byte [ebx + 0x2e007100], al
add byte [ebx], bh
add byte [ebx + 0x13002e08], bl
add byte [eax], al
or byte [esi], ch
add byte [ebx], ah
add byte [eax + 8], cl
add byte cs:[ebx], ch
add byte [eax + ecx + 0x2e], bl
add byte [ebx], dh
add byte [eax + 0x5b002e08], al
add byte [eax + 9], bh
add byte cs:[ebx], al
mov ebx, 0x4b002e08
add bh, ch
or byte [esi], ch
add byte cs:[ebx], ch

Function at 0x4ba9a4
Capabilities:
Authenticate hmac

Disassembly:
add byte cs:[ebx], ch
scasb al, byte es:[edi]
or dword [esi], ebp
add byte [ebx], bh
ror byte [ecx], 0x2e
add byte [ebx], ah
or dword [ecx], 0x2e
add byte [ebx], dh
mov bh, 9
jecxz 0x4ba9be
sti
add dword [ecx], esi
push es
push ecx
pop es
jg 0x4ba9cf
wait
pop es
mov byte [edi], 0xd9
pop es
cli
pop es
clc
or edi, edi
push es
add eax, 0xd014007
add byte [edx + 2], bl
add dword [eax], eax
inc eax
add dword [edi], ecx
add byte [ebx + 2], ch
add dword [eax], eax
add byte [ecx], al
adc dword [eax], eax
jge 0x4ba9ee
add dword [eax], eax
add byte [ecx], al
adc eax, dword [eax]
cwde
add al, byte [ecx]
add byte [eax], al
add dword [0x103bb00], ebx
add byte [eax + eax*4], al
add byte [eax], 0