joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a40
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x144
mov eax, dword [0x1004ac8c]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x148]
push ebx
push esi
push edi
push eax
push 0
push 0x10
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10002ae2
push 0xf4
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x1c], 0
call fcn.10011ec0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0xc
push 0
push 0x40
lea edx, [esp + 0x110]
push edx
push edi
push esi
call ebx
mov eax, 0x5a4d
cmp ax, word [esp + 0x108]
jne 0x10002acb
mov edx, dword [esp + 0x144]
push 0
push 0xf8
lea ecx, [esp + 0x18]
push ecx
add edi, edx
push edi
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0x4550
jne 0x10002ae2
mov eax, dword [esp + 0x44]
jmp 0x10002ae4
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100102e0
add esp, 0x144
ret 4

Function at 0x10002b00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10021782
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1004ac8c]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
mov eax, dword [0x1004ac8c]
xor eax, esp
push eax
lea eax, [esp + 0x834]
mov dword fs:[0], eax
mov dword [esp + 0x83c], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
call fcn.10003e61
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10002b69
push 0x80004005
call fcn.10002010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x820
lea ecx, [esp + 0x14]
push 0
mov dword [esp + 0x844], 0
push ecx
mov dword [esp + 0x14], 1
call fcn.10011ec0
add esp, 0xc
call fcn.100072ae
mov eax, dword [eax + 8]
push 0x40f
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
mov word [esp + 0x832], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002bea
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002bd7
sub eax, edx
lea edx, [esp + 0x10]
jmp 0x10002c0d
mov eax, dword [0x1004e058]
mov edx, dword [eax]
test edx, edx
jne 0x10002bf9
xor eax, eax
jmp 0x10002c0f
mov eax, edx
lea ebx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002c00
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.10001f00
mov eax, edi
mov ecx, dword [esp + 0x834]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.100102e0
add esp, 0x838
ret
Function at 0x10004975
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x1004ac8c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x10004a0d
push 0x1003ba74
push 4
push eax
call fcn.10010f87
push eax
call fcn.10001970
add esp, 0x10
push ebx
push edi
call fcn.10011b52
mov edi, dword [eax]
call fcn.10011b52
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.10011aef
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.10011b52
cmp dword [eax], ebx
je 0x10004a24
call fcn.10011b52
push dword [eax]
call fcn.1000407a
pop ecx
jmp 0x10004a2b
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100049b8
jmp 0x10004ab2
call fcn.10011b52
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x10004aae
cmp dword [ebp - 0x234], esi
jae 0x10004aae
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.10011ec0
add esp, 0xc
push 0x1003b7d4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x10004a9d
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10004a9d
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x10004a9d
push ebx
push ebx
push esi
jmp 0x10004aa6
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x10004ab0
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100102e0
leave
ret

Function at 0x100102e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004ac8c]
jne 0x100102ea
repz ret
jmp fcn.10013e5f
Function at 0x1001b2e5
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.10014917
and dword [ebp - 4], 0
cmp dword [0x1004eadc], 0
mov ebx, eax
jne 0x1001b396
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001b447
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001b447
push eax
call fcn.100148a5
mov dword [esp], 0x1003e350
push edi
mov dword [0x1004eadc], eax
call esi
push eax
call fcn.100148a5
mov dword [esp], 0x1003e33c
push edi
mov dword [0x1004eae0], eax
call esi
push eax
call fcn.100148a5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004eae4], eax
call esi
push eax
call fcn.100148a5
pop ecx
mov dword [0x1004eaec], eax
test eax, eax
je 0x1001b396
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100148a5
pop ecx
mov dword [0x1004eae8], eax
mov eax, dword [0x1004eae8]
cmp eax, ebx
je 0x1001b3ee
cmp dword [0x1004eaec], ebx
je 0x1001b3ee
push eax
call fcn.10014920
push dword [0x1004eaec]
mov esi, eax
call fcn.10014920
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001b3ee
test edi, edi
je 0x1001b3ee
call esi
test eax, eax
je 0x1001b3e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001b3e5
test byte [ebp - 0xc], 1
jne 0x1001b3ee
or dword [ebp + 0x10], 0x200000
jmp 0x1001b427
mov eax, dword [0x1004eae0]
cmp eax, ebx
je 0x1001b427
push eax
call fcn.10014920
pop ecx
test eax, eax
je 0x1001b427
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001b427
mov eax, dword [0x1004eae4]
cmp eax, ebx
je 0x1001b427
push eax
call fcn.10014920
pop ecx
test eax, eax
je 0x1001b427
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004eadc]
call fcn.10014920
pop ecx
test eax, eax
je 0x1001b447
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001b449
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41aecd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x41aedc
pop dword [ebp - 0x3c]
mov eax, 0x4e9ef251
sub eax, 0x4e5d4375
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3a514
push 0
mov eax, 0xd18f58df
sub eax, 0xd14c98b3
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x583c0863
sub ecx, 0x583bbc59
mov edx, eax
mov edi, 0x43b800
add edi, dword [ebp - 0x3c]
mov esi, 0xc43f1dd6
sub esi, 0xa18ae0ba
sub dword [ebp - 0x34], 0x42c6fcb
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0xa8704019
xor ebx, esi
sub dword [ebp - 0x10], edx
mov dword [edx], ebx
mov dword [ebp - 4], 0xd3efcc5f
add edx, 0x401268ac
add edx, 0xbfed9758
add edi, 4
loop 0x41af35
add eax, 0x11b1da5b
add eax, 0xee4f48a0
xor ebx, ebx
add ebx, eax
add eax, 0xeb99e5b7
sub eax, 0xeb99e5b2
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x421730
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x42176d
push str.SetDefaultDllDirectories
push 0x42c874
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x42176d
push 0xc00
call eax
test eax, eax
jne 0x421806
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x421806
cmp eax, 0x104
ja 0x421806
cmp word [esp + eax*2 + 6], 0x5c
je 0x42179c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x421806
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x4217db
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x4217c7
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x4217bc
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0xfae3a4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfae3ae
pushal
call 0xfae3b4
pop ebp
sub ebp, 0x10
sub ebp, 0xbae3a4
jmp 0xfae3ca
mov eax, 0xbae3a4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e8
mov edx, 0x14b67108
xor byte [eax], dl
inc eax
dec ecx
jne 0xfae3e1
jmp 0xfae3f4
add ebp, 0xffffff83
xor dword [eax + ecx], 0xc9890808
lock or byte [eax], cl
or byte [ebx], cl
lds esi, [eax + 0x808080e]
mov dl, 0x20
or byte [eax], cl
or bh, bh
ljmp 0x804
Function at 0x10009bdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10016eb8
call fcn.100165db
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10009c59
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10009c59
call fcn.1000836f
mov esi, eax
jmp 0x10009d5f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10009c7c
call fcn.1000836f
jmp 0x10009d52
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10009c72
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009caf
mov esi, 0x8007000e
jmp 0x10009d54
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009d8d
jb 0x10009cca
cmp eax, 0xffffffff
ja 0x10009d8d
cmp eax, 0x400
jbe 0x10009cdf
push eax
lea ecx, [ebp - 0x418]
call fcn.1000d095
jmp 0x10009d01
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009d01
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009ca5
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10009c72
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1000d095
mov esi, eax
test edi, edi
je 0x10009d5f
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009d78
lea ecx, [ebp - 0x418]
call fcn.10008337
lea ecx, [ebp - 0x428]
call fcn.10001550
mov eax, esi
call fcn.1001652c
ret 0x10
push 0x80070216
call fcn.1000d095
int3
Function at 0x1000d095
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1000d0a4
pop dword [ebp - 4]
mov eax, 0x5c541262
sub eax, 0x4c5341be
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x3b9a7
push 0
mov eax, 0xded07701
sub eax, 0xcecef5b1
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x509e
xor edi, edi
add edi, eax
mov esi, 0x294b67b3
sub esi, 0x1948b1b3
add esi, dword [ebp - 4]
mov ebx, 0x384a9a9f
sub ebx, 0x9569656d
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add edi, 0x13fbdd8
add edi, 0xfec0422c
add esi, 0x6b62011a
sub esi, 0x6b620116
loop 0x1000d0ff
add eax, 0x44fc1eeb
add eax, 0xbb051660
xor ebx, ebx
add ebx, eax
add eax, 0x92ad2185
sub eax, 0x92ad2180
mov ecx, 0x954e7e5a
sub ecx, 0x854e7e5a
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x11ea058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011ea1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x11ea07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11ea06a
add dl, dl
jne 0x11ea089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11ea0dc
xor eax, eax
add dl, dl
jne 0x11ea096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11ea17d
add dl, dl
jne 0x11ea0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ea0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ea0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ea0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11ea0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11ea075
mov eax, 1
add dl, dl
jne 0x11ea0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ea0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11ea0e1
sub eax, ebx
mov ebx, 1
jne 0x11ea128
mov ecx, 1
add dl, dl
jne 0x11ea10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ea119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11ea105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11ea075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11ea13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ea14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11ea136
cmp eax, 0x7d00
jae 0x11ea16d
cmp eax, 0x500
jb 0x11ea168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11ea075
cmp eax, 0x7f
ja 0x11ea170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11ea075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x11ea19e
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 0x11ea075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
cmp ecx, dword [0x80c030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
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.00404d3a
and dword [ebp - 4], 0
cmp dword [0x80eb68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80eb68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80eb6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80eb70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x80eb78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x80eb74], eax
mov eax, dword [0x80eb74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x80eb78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x80eb78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x80eb6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x80eb70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80eb68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x80c030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2fec55c]
push ebx
mov ebx, dword [0x2fec280]
push esi
mov esi, dword [0x80cf60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push 0x80ad94
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2fec55c]
mov dword [0x80ed0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2fec55c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x10007c3d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10007c4c
pop dword [ebp - 0x10]
mov eax, 0x10007c4c
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x386d2
push 0
mov eax, 0xf2c22bd9
add eax, 0x1d3ec4fb
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x462d
mov edi, eax
mov esi, 0x1001c400
add esi, dword [ebp - 0x10]
mov ebx, 0x1b8d464e
add dword [ebp - 8], 0x3977a8d7
mov edx, dword [esi]
xor dword [ebp - 8], edx
xor edx, ebx
mov dword [edi], edx
add edi, 0xcb8594bc
add edi, 0x347a6b48
add esi, 4
loop 0x10007c94
add eax, 0x10b87
mov ebx, eax
add eax, 0x16fe6c1
add eax, 0xfe901944
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
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 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10013083
pop dword [ebp - 0x24]
mov eax, 0x10013083
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xd981e5a6
add dword [ebp - 0x34], 0x74d05fa5
mov dword [ebp - 0x30], 0x70747721
sub dword [ebp - 0x30], 0x3e412adc
mov dword [ebp - 0x2c], 0xaa44925d
add dword [ebp - 0x2c], 0xa207b1d1
mov dword [ebp - 0x28], 0x7be48e9f
sub dword [ebp - 0x28], 0x7be48e9f
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x7d35841f
add dword [ebp - 0x34], 0xf73ce537
mov dword [ebp - 0x30], 0xaaf85fdc
sub dword [ebp - 0x30], 0x698bfe67
mov dword [ebp - 0x2c], 0xd638dc01
add dword [ebp - 0x2c], 0x8d36906b
mov dword [ebp - 0x28], 0xaf0dd53e
sub dword [ebp - 0x28], 0xaf0dd53e
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x6c346583
sub eax, 0x5c3314e7
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x38890
push 0
call eax
mov ecx, 0x775fc3f0
sub ecx, 0x775f7c58
mov esi, eax
mov edi, 0x5f94e16b
add edi, 0xb06f3a95
add edi, dword [ebp - 0x24]
mov ebx, 0x480c1ec5
sub ebx, 0x7d3da9b8
xor dword [ebp - 0xc], esi
mov edx, dword [edi]
add dword [ebp - 0x1c], 0x675061eb
sub edx, ebx
sub dword [ebp - 0x1c], eax
mov dword [esi], edx
mov dword [ebp - 0x1c], 0x9226fb74
add esi, 0x31d0af92
add esi, 0xce2f5072
add edi, 4
loop 0x1001319b
add eax, 0x56828c47
add eax, 0xa97e84ec
xor ebx, ebx
add ebx, eax
add eax, 0x8aa01ee9
add eax, 0x755fe11c
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