joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d9ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x434e30]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41da0e
cmp byte [ebx], 0xa
jne 0x41da0e
or byte [edi + eax + 0x28], 4
jmp 0x41da13
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x41db12
mov dl, byte [eax]
cmp dl, 0x1a
je 0x41daf5
inc eax
cmp dl, 0xd
je 0x41da3f
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x41da65
cmp eax, ecx
jae 0x41da73
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x41da27
jmp 0x41db12
push 0
lea eax, [ebp - 0x10]
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 0x41daf0
cmp dword [ebp - 0x10], 0
je 0x41daf0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x434e30]
test byte [eax + edi + 0x28], 0x48
je 0x41daca
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41dab5
mov byte [esi], dl
jmp 0x41dac6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434e30]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41db12
cmp byte [ebp - 1], 0xa
jne 0x41dad9
cmp esi, ebx
jne 0x41dad9
mov byte [esi], 0xa
jmp 0x41db11
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00417c6b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41db12
mov byte [esi], 0xd
jmp 0x41db11
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x434e30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41db0f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41db12
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41db1b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x434e30]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41db61
cmp word [ebx], dx
jne 0x41db61
or byte [eax + edi + 0x28], 4
jmp 0x41db66
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41dcc9
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41dca9
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41dba7
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41dbdd
cmp eax, edx
jae 0x41dbeb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41db82
jmp 0x41dcc9
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41dca4
cmp dword [ebp - 0x18], 0
je 0x41dca4
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x434e30]
test byte [eax + edi + 0x28], 0x48
je 0x41dc7a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41dc3e
mov word [esi], cx
jmp 0x41dc75
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x434e30]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x434e30]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x434e30]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41dcc9
pop eax
cmp word [ebp - 4], ax
jne 0x41dc8a
cmp esi, ebx
jne 0x41dc8a
mov word [esi], ax
jmp 0x41dcc6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00417c6b
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41dcc9
push 0xd
pop eax
jmp 0x41dc85
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x434e30]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41dcc3
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41dcc9
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4218a2
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x433480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4218e5
call fcn.00414f78
mov dword [eax], 0xf
call fcn.00414f8b
mov dword [eax], 0xd
call fcn.00414eaa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040609c
leave
ret
test eax, eax
jne 0x4218ec
inc eax
jmp 0x4218d9
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4218d7
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4218d9
Function at 0x42311a
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00423096
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423289
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423289
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42323e
jg 0x423176
test eax, eax
je 0x423234
push 1
push 0x1000
call fcn.00414f9e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x423199
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42322b
push 0x8000
push ebx
call fcn.00413d92
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4231c2
jg 0x4231bd
cmp ecx, 0x1000
jb 0x4231c2
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00416c0b
add esp, 0x10
cmp eax, 0xffffffff
je 0x423207
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4231bd
jl 0x4231ee
test ecx, ecx
jne 0x4231af
push dword [ebp - 0xc]
push ebx
call fcn.00413d92
push esi
call fcn.00414ffb
add esp, 0xc
xor ebx, ebx
jmp 0x423297
cmp byte [edi + 0x24], 0
je 0x42321e
cmp dword [edi + 0x20], 5
jne 0x42321e
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423229
mov ebx, dword [edi + 0x18]
jmp 0x42322b
xor ebx, ebx
push esi
call fcn.00414ffb
pop ecx
jmp 0x423297
test ecx, ecx
jg 0x423200
jl 0x42323e
test eax, eax
jae 0x423200
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00417c6b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42325e
cmp byte [edi + 0x1c], 0
je 0x423200
jmp 0x42328f
push ebx
call fcn.0041a7d5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423200
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423297
cmp byte [edi + 0x1c], 0
je 0x423294
mov ebx, dword [edi + 0x18]
jmp 0x423297
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00417c6b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424f10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424f3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424f3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10005af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0xffff
mov esi, ecx
cmp di, bx
jne 0x10005b27
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x10005b61
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x10005b61
dec dword [edx]
mov ax, bx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10005c34
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ecx], eax
jne 0x10005b8e
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10005bc1
push dword [esi + 0x4c]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
movzx ecx, bx
cmp ax, di
cmove ecx, edi
pop edi
pop esi
mov ax, cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret 4
movzx eax, bx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
sub eax, 0
je 0x10005c00
sub eax, 1
je 0x10005c00
sub eax, 2
jne 0x10005c34
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x10005b99
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x10005c24
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x10005c34
lea ecx, [ebp - 0x28]
movzx eax, bx
cmp dword [ebp - 0x30], ecx
mov byte [esi + 0x3e], 1
cmovne edi, eax
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret 4
Function at 0x10005ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10005fb4
cmp byte [esi + 0x3e], 0
je 0x10005fb4
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x10005fa2
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10005f69
sub eax, 1
je 0x10005f6d
sub eax, 2
jne 0x10005fa2
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10005f8b
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10005fa2
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1000ab5e
mov esp, ebp
pop ebp
ret
Function at 0x401069
Capabilities:
Terminate process

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

Function at 0x408b0b
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.00404d5a
and dword [ebp - 4], 0
cmp dword [0x44cb68], 0
mov ebx, eax
jne 0x408bbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c6d
push eax
call fcn.00404ce8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44cb68], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44cb6c], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44cb70], eax
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x44cb78], eax
test eax, eax
je 0x408bbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x44cb74], eax
mov eax, dword [0x44cb74]
cmp eax, ebx
je 0x408c14
cmp dword [0x44cb78], ebx
je 0x408c14
push eax
call fcn.00404d63
push dword [0x44cb78]
mov esi, eax
call fcn.00404d63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408c14
test edi, edi
je 0x408c14
call esi
test eax, eax
je 0x408c0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408c0b
test byte [ebp - 0xc], 1
jne 0x408c14
or dword [ebp + 0x10], 0x200000
jmp 0x408c4d
mov eax, dword [0x44cb6c]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c4d
mov eax, dword [0x44cb70]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44cb68]
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af60
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x44a030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2c2a55c]
push ebx
mov ebx, dword [0x2c2a280]
push esi
mov esi, dword [0x44af60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40afa1
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c2a55c]
mov dword [0x44cd0c], esi
cmp eax, 0x114e
jne 0x40afcb
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 [0x2c2a55c]
cmp eax, 0x2f
jne 0x40afeb
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.0040ae60
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x409e9b
pop dword [ebp - 0x40]
mov eax, 0x409e9b
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x4c6faf7b
add dword [ebp - 0x50], 0x1e295d0
mov dword [ebp - 0x4c], 0xdc114e0f
add dword [ebp - 0x4c], 0x5621fe36
mov dword [ebp - 0x48], 0x7fd2f06f
add dword [ebp - 0x48], 0xcc7953bf
mov dword [ebp - 0x44], 0xd9e89a37
add dword [ebp - 0x44], 0x261765c9
lea eax, [ebp - 0x50]
push eax
mov eax, 0xafd07b62
add eax, 0x507054f2
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x638dfaa7
add dword [ebp - 0x50], 0x10e46eaf
mov dword [ebp - 0x4c], 0x39d00e1a
add dword [ebp - 0x4c], 0x79c535b
mov dword [ebp - 0x48], 0x7a12f26d
add dword [ebp - 0x48], 0xe95c79ff
mov dword [ebp - 0x44], 0x3c56f1b0
sub dword [ebp - 0x44], 0x3c56f1b0
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x88e24b3a
add eax, 0x775e8512
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x380fa
push 0
call eax
mov ecx, 0x41b3
xor esi, esi
add esi, eax
mov edi, 0x1608506d
sub edi, 0x15c6a06d
add edi, dword [ebp - 0x40]
mov edx, 0x6c772585
sub dword [ebp - 0x38], edx
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 0x30], edx
mov dword [esi], ebx
mov dword [ebp - 0x28], 0xd322a282
add esi, 4
add edi, 0xd878e910
add edi, 0x278716f4
loop 0x409fae
add eax, 0xc58b7b99
sub eax, 0xc58a81fa
mov ebx, eax
add eax, 0x8fb66724
add eax, 0x704998e1
mov ecx, 0xe6d97867
sub ecx, 0xe6997867
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10008c61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024050]
jne 0x10008c6b
repz ret
jmp fcn.1000d082

Function at 0x100129b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x100129c7
pop dword [ebp - 0x3c]
mov eax, 0x1d0de460
add eax, 0xf2f34567
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x281e53ad
add dword [ebp - 0x4c], 0x2633f19e
mov dword [ebp - 0x48], 0xe6e57df0
sub dword [ebp - 0x48], 0xb4b231ab
mov dword [ebp - 0x44], 0xa97ca93
sub dword [ebp - 0x44], 0xbe4b8665
mov dword [ebp - 0x40], 0x7412642d
sub dword [ebp - 0x40], 0x7412642d
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2da0e0bd
sub eax, 0x1d9f206d
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe5191781
sub dword [ebp - 0x4c], 0x70a6ae2b
mov dword [ebp - 0x48], 0x24082385
sub dword [ebp - 0x48], 0xe29bc210
mov dword [ebp - 0x44], 0xb42186e1
sub dword [ebp - 0x44], 0x50b21a75
mov dword [ebp - 0x40], 0x58f19046
add dword [ebp - 0x40], 0xa70e6fba
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xe7d4e907
sub eax, 0xd7d328bb
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38a73
push 0
call eax
mov ecx, 0x3c9b
xor ebx, ebx
add ebx, eax
mov edx, 0x1002aa00
add edx, dword [ebp - 0x3c]
mov edi, 0x495d85b4
sub dword [ebp - 0x18], 0x4e57e908
mov esi, dword [edx]
xor dword [ebp - 0x30], esi
add esi, edi
add dword [ebp - 0x30], 0xb91223b1
mov dword [ebx], esi
add ebx, 0x66e68219
sub ebx, 0x66e68215
add edx, 4
loop 0x10012ad9
add eax, 0xe53f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x412290
pop dword [ebp - 0x34]
mov eax, 0x412290
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x343a6
push 0
mov eax, 0xa0c00e37
add eax, 0x5f8281f5
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x2bfde1ff
add ecx, 0xd40252bb
mov ebx, eax
mov edx, 0x58aa5c51
add edx, 0xa79911af
add edx, dword [ebp - 0x34]
mov edi, 0xe2964a25
sub edi, 0xa4cb16f8
xor dword [ebp - 0x28], eax
mov esi, dword [edx]
xor dword [ebp - 8], 0xafcc3a29
add esi, edi
mov dword [ebx], esi
add dword [ebp - 4], edi
add ebx, 0x5d961ff7
sub ebx, 0x5d961ff3
add edx, 4
loop 0x4122ea
add eax, 0xa55a4ae4
sub eax, 0xa5598529
xor ebx, ebx
add ebx, eax
add eax, 0xa23f1563
sub eax, 0xa23f155e
mov ecx, 0x14ee7060
add ecx, 0xeb518fa0
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x630370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x63038e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x657074
push ecx
mov edi, eax
call fcn.006437c8
mov esi, eax
add esp, 8
test esi, esi
jne 0x6303cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0064365e
push esi
call fcn.006435e1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x632920
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x63297e
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x674a78
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x63298a
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00643811
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x63297e
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x674a78
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6329fa
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.006443a2
xor esi, esi
add esp, 8
cmp eax, esi
je 0x632a27
mov word [eax], si
add eax, 2
push eax
call fcn.00644350
add esp, 4
jmp 0x632a29
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x63297e
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x632980
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6330c0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret