joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417a21
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 + 0x485590]
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 0x417a64
cmp word [esi], dx
jne 0x417a64
or byte [edi + eax + 0x28], 4
jmp 0x417a69
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 0x417bbc
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 0x417b9c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x417aab
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417ae1
cmp eax, edx
jae 0x417aed
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 0x417a83
jmp 0x417bbc
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 0x417b98
cmp dword [ebp - 0x14], 0
je 0x417b98
mov eax, dword [ebx*4 + 0x485590]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x417b70
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417b39
mov word [esi], cx
jmp 0x417b6c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x485590]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x485590]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x485590]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x417bbc
pop ebx
cmp word [ebp - 4], bx
jne 0x417b81
cmp esi, dword [ebp + 0xc]
jne 0x417b81
mov word [esi], bx
jmp 0x417bb9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418455
add esp, 0x10
cmp word [ebp - 4], bx
je 0x417bbc
push 0xd
jmp 0x417bb5
mov ecx, dword [ebx*4 + 0x485590]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417bb3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417bbc
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 0x41a74e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41a799
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041a8ed
test al, al
jne 0x41a793
sub edx, 2
cmp edx, edi
jne 0x41a779
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41a7bb
lea eax, [edi + 2]
cmp edx, eax
je 0x41a7bb
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041a69a
add esp, 0x10
jmp 0x41a8b5
push esi
lea ecx, [ebp - 0x255]
call fcn.0041a8ed
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a7fe
push dword [ebp - 0x25c]
jmp 0x41a7ab
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41a83b
cmp word [ebp - 0x226], 0
je 0x41a85c
cmp word [ebp - 0x226], ax
jne 0x41a83b
cmp word [ebp - 0x224], 0
je 0x41a85c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041a69a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41a8a8
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41a815
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41a890
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41a8b5
push 0x41a4ca
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004200d0
add esp, 0x10
jmp 0x41a885
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406d02
leave
ret

Function at 0x421ff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42201d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42201d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4018c6
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
lea edi, [esi + eax*2]
mov dword [esp], 0x4081a8
push edi
call ebp
pop ecx
lea eax, [esp + 0x18]
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and word [edi], bx
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x401913
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4019d4
lea eax, [esp + 0x40]
push 0x4081a4
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401987
lea eax, [esp + 0x40]
push 0x40819c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x401987
lea eax, [esp + 0x40]
push eax
push edi
call ebp
test byte [esp + 0x1c], 0x10
pop ecx
pop ecx
je 0x401967
push 0x408158
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov ecx, esi
call fcn.004018c6
jmp 0x401981
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401983
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x4019ad
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401913
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
jne 0x4019ad
xor ebx, ebx
push dword [esp + 0x10]
and word [edi], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x4019d2
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4019d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret

Function at 0x401a5a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor edx, edx
mov ecx, 0x408220
push 8
mov eax, edx
pop esi
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec esi
jne 0x401a68
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x408620
jb 0x401a63
pop edi
cmp edx, 0x800
pop esi
jae 0x401ac3
lea ecx, [edx*4 + 0x408220]
mov eax, dword [ecx - 0x400]
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x408220]
xor edx, eax
mov dword [ecx], edx
add ecx, 4
cmp ecx, 0x40a220
jb 0x401a9c
mov dword [0x4081f0], fcn.00401ae1
call fcn.00404788
test eax, eax
jne 0x401ae0
mov dword [0x4081f0], 0x401b95
ret
Function at 0x401ae1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov esi, 0xff
mov ecx, edx
mov edx, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 4], ecx
jbe 0x401b23
test cl, 3
je 0x401b23
movzx ebx, byte [ecx]
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
mov edi, dword [edx + edi*4]
xor eax, edi
mov edi, dword [ebp + 8]
dec edi
inc ecx
test edi, edi
mov dword [ebp + 8], edi
mov dword [ebp - 4], ecx
ja 0x401afe
cmp edi, 4
jb 0x401b70
mov ebx, edi
shr ebx, 2
mov dword [ebp + 8], ebx
xor eax, dword [ecx]
xor ecx, ecx
xor ebx, ebx
sub edi, 4
mov dword [ebp + 0xc], eax
mov cl, ah
mov bl, byte [ebp + 0xe]
mov ecx, dword [edx + ecx*4 + 0x800]
xor ecx, dword [edx + ebx*4 + 0x400]
mov ebx, eax
and ebx, esi
shr eax, 0x18
xor ecx, dword [edx + ebx*4 + 0xc00]
xor ecx, dword [edx + eax*4]
mov eax, ecx
mov ecx, dword [ebp - 4]
add ecx, 4
dec dword [ebp + 8]
mov dword [ebp - 4], ecx
jne 0x401b30
test edi, edi
jbe 0x401b8e
mov dword [ebp + 8], edi
movzx ebx, byte [ecx]
mov edi, eax
and edi, esi
xor edi, ebx
shr eax, 8
mov edi, dword [edx + edi*4]
xor eax, edi
inc ecx
dec dword [ebp + 8]
jne 0x401b77
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x401c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
test edi, edi
je 0x401c79
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x401c43
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x401c71
test ecx, ecx
je 0x401c79
test edi, edi
jbe 0x401c79
jmp 0x401c38
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401c7b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401c82
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
mov ebx, ecx
mov edi, dword [esi]
test edi, edi
je 0x401cdb
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x401ca5
mov eax, edi
lea ecx, [ebp + 8]
push 0
and dword [ebp + 8], 0
push ecx
push eax
push dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add dword [ebp - 4], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x401cd3
test ecx, ecx
je 0x401cdb
test edi, edi
jbe 0x401cdb
jmp 0x401c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401cdd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x404546
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edx
push esi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov esi, dword [ecx]
and esi, 7
cmp dword [ebp - 8], 5
jb 0x404698
add dword [ebp + 8], 5
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea edi, [eax + edx]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax - 4]
cmp edi, ecx
jae 0x40458c
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x40458c
inc edi
jmp 0x40457d
mov eax, edi
sub eax, edx
cmp edi, ecx
jae 0x404679
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x4045be
xor esi, esi
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x4045eb
cmp cl, 0xff
je 0x4045eb
and esi, 3
shl esi, 1
or esi, 1
inc eax
jmp 0x404573
dec ecx
shl esi, cl
and esi, 7
je 0x4045a4
movzx ecx, byte [esi + 0x4070d8]
mov ebx, edi
sub ebx, ecx
cmp byte [esi + 0x4070d0], 0
mov cl, byte [ebx + 4]
je 0x4045e6
test cl, cl
je 0x4045e6
cmp cl, 0xff
jne 0x4045a4
mov dword [ebp - 4], eax
jmp 0x4045b3
xor ebx, ebx
mov bh, cl
mov bl, byte [edi + 3]
movzx ecx, byte [edi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + 1]
shl ebx, 8
or ebx, ecx
cmp dword [ebp + 0x10], 0
je 0x404612
lea edx, [ebx + eax]
add edx, dword [ebp + 8]
jmp 0x404619
sub ebx, eax
sub ebx, dword [ebp + 8]
mov edx, ebx
test esi, esi
je 0x40464c
movzx ebx, byte [esi + 0x4070d8]
push 0x18
shl ebx, 3
pop ecx
mov dword [ebp - 0xc], ebx
sub ecx, ebx
mov ebx, edx
shr ebx, cl
test bl, bl
je 0x40463c
cmp bl, 0xff
jne 0x40464c
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
push 1
pop ebx
shl ebx, cl
dec ebx
xor ebx, edx
jmp 0x404604
mov ecx, edx
mov byte [edi + 1], dl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 0x10]
shr ecx, 8
mov byte [edi + 2], cl
add eax, 5
jmp 0x404573
mov edx, eax
push 3
sub edx, dword [ebp - 4]
pop edi
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edi, edx
mov edx, dword [ebp + 0xc]
pop edi
sbb ecx, ecx
pop ebx
not ecx
and ecx, esi
mov dword [edx], ecx
pop esi
leave
ret 0xc
Function at 0x40644f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4070e0
push 0x406590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40a220], 0xffffffff
or dword [0x40a224], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x408200]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4081fc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40a228], eax
call fcn.00406581
cmp dword [0x4081e0], 0
jne 0x4064d2
push 0x40657e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040656c
push 0x40800c
push 0x408008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4081f8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4081f4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x408004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x414060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414082
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414078
mov eax, 1
add ebx, ebx
jne 0x41409b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414090
jne 0x4140ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414090
xor ecx, ecx
sub eax, 3
jb 0x4140c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414132
mov ebp, eax
add ebx, ebx
jne 0x4140cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4140d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4140fc
inc ecx
add ebx, ebx
jne 0x4140e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4140dd
jne 0x4140f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4140dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41411c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41410d
jmp 0x41407e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41411c
add edi, ecx
jmp 0x41407e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41413a
cmp byte [edi], 4
jne 0x41413a
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 0x41413f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4141b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15130]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1516c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41416c
mov ecx, edi
jns 0x41419b
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 + 0x15170]
or eax, eax
je 0x4141b1
mov dword [ebx], eax
add ebx, 4
jmp 0x414189
call dword [esi + 0x15180]
mov ebp, dword [esi + 0x15174]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4141eb
sub esp, 0xffffff80
jmp 0x4010b0
Function at 0xa8834c
Capabilities:
Encode data using xor

Disassembly:
call 0xace4c9
jo 0xa8837d
sbb ebp, dword [ebp - 0x72d091c4]
sub al, 0xae
mulps xmm1, xmmword [eax]
bound edx, qword [ebx]
mov eax, dword [0xff2ae20]
fdivr dword [eax]
mov eax, 0x5004c91d
sub cl, byte [esi + 0x5d]
jne 0xa883ce
sbb ebp, eax
dec edx
mov ch, dh
pushal
mov byte [0x5daea5e], al
cmp ecx, ebp
and eax, 0x62c8e0c8
int 0x25
enter 0xffffffffffffc8e0, 0x62
mov cl, dl
jo 0xa883c8
imul eax, dword [bx + di + 0x5d], 0x41734161
popal
push ebp
popal
pop ecx
jne 0xa883ed
push ebp
push ecx
mov ecx, 0xad2c9223
xchg esi, eax
sub al, 0x9d
cmp ebp, dword [edx - 0x49e84a0c]
in al, dx
fstp qword [edi - 0x3a]
test byte [ecx], cl
add ebx, dword [ecx - 0x60]
test dword [ebx], 0xb6b23723
mov esp, 0xcce8986d
add eax, 0x87021387
fmul st(1), st(0)
dec esp
cmp eax, 0x49848076
ret 0xef51
test eax, 0x1e2a1a1b
invalid
mov eax, dword [0xf2c1afa5]
aam 0x32
fdiv dword [edi - 0x63a96543]
fcmovnu st(0), st(7)
stosb byte es:[edi], al
scasb al, byte es:[edi]
arpl word [ebp + 0x25ef1fa1], dx
fst qword [edx + 0x2a]
test al, 0xae
mov esp, 0x94987263
mov dword [0x5f706aa7], eax
aad 0xf9
push ecx
mov edi, 0x34f543d7
invalid

Function at 0xa9bfce
Capabilities:
Encode data using xor

Disassembly:
mov dword [ebp], edx
call fcn.00ac83fa
mul byte [ebx + esi + 0x53]
invalid

Function at 0xac3672
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x25b6f334
mov dword [esp + eax*2 - 0x4b6de668], eax
lea eax, [esp + eax*2 - 0x4b6de5e0]
call fcn.00a5d4da
xor byte [0x92bcf7a4], al
and al, 0x74
pop es
xor dword [ecx + 0x6cae9fff], esi
cmp byte [edx + 0x61], dl
mov bh, 0xaa
pop edx
push es
sar ebp, cl
lds edx, [esi + 0x3c7933e6]
lodsb al, byte [esi]
mov dword [esi + esi*8 - 0x18], ebx
xor al, 0x7a
rcl ebx, 0xb0
mov bh, 0x30
and ah, cl
inc ecx
outsb dx, byte [esi]
jns 0xac367f
test byte [eax + 0x1a], al
xchg edx, eax
mov ah, 0xe8
push eax
sahf
stc
jmp dword [esi + 0x30]
mov byte [0xeff8cb56], al
inc esp
adc al, 0xdc
dec byte [ebp + 0xc7f35a1]
cmp bh, al
lodsb al, byte [esi]
fst dword [ebx + ebx + 0x7b]
dec edx
jmp [eax + 0x3f7be9dc]

Function at 0xae152a
Capabilities:
Encode data using xor

Disassembly:
dec eax
lea esp, [esp + 0x20]
jmp fcn.00a746c9
jmp 0xab6bcf
dec ecx
mov dword [ebx], ecx
jmp 0xac8bcb

Function at 0xaf6330
Capabilities:
Encode data using xor

Disassembly:
push 0x5f8da087
mov byte [esp], 0x2e
pushfd
xor dword [esp + 4], 0xda292aaa
jb 0xaf6335
mov dword [esp + 8], 0x8cf48989
push dword [esp]
popfd
lea esp, [esp + 8]
call fcn.00af635f
Function at 0x401b90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401bdb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401bd4
test esi, esi
je 0x401bd4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401bb0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401dc0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401ee4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401e4e
cmp eax, 4
jne 0x401e70
test esi, esi
je 0x401e62
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401e54
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401eaf
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401ea1
cmp ecx, 0x40
je 0x401e62
cmp ecx, 4
je 0x401e62
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401dc0
lea esi, [esi]
Function at 0x10047e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10062c4]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x100487b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1004804
sub eax, edx
sar eax, 1
mov ecx, 0x104
cmp eax, ecx
ja 0x100487b
push esi
push ecx
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcscpy_s
lea eax, [ebp - 0x20c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1004835
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x20c]
dec eax
dec eax
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x100485b
cmp cx, 0x2f
jne 0x1004862
xor ecx, ecx
mov word [eax], cx
jmp 0x100484a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x100487d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100525f
leave
ret