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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 4], 0
jne 0x47813e
mov ecx, 0x4781a0
mov dl, 1
mov eax, dword [0x477350]
call fcn.0040ee00
call fcn.00404740
mov dword [ebp - 8], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
test eax, eax
jle 0x47818d
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x14]
xor al, byte [edx]
mov byte [esi], al
mov ecx, dword [ebx + 0x18]
dec ecx
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x10]
inc eax
call fcn.004032fc
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x18]
dec eax
movzx edx, byte [esi]
mov byte [eax], dl
inc dword [ebp - 8]
inc esi
dec dword [ebp - 0xc]
jne 0x47814e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4781b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 4], 0
jne 0x4781e2
mov ecx, 0x47824c
mov dl, 1
mov eax, dword [0x477350]
call fcn.0040ee00
call fcn.00404740
mov esi, edx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x47823a
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
mov byte [ebp - 9], al
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
mov eax, dword [ebx + 0x14]
movzx eax, byte [eax]
xor al, byte [esi]
mov edx, dword [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebx + 0x18]
dec ecx
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x10]
inc eax
call fcn.004032fc
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x18]
dec eax
movzx edx, byte [ebp - 9]
mov byte [eax], dl
inc esi
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4781f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4787dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x4787fd
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4787ea
pop edi
pop esi
pop ebx
ret
Function at 0x4a342c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a3599
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x40c]
cmp eax, 0xc8
jb 0x4a357e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x40c], eax
xor eax, eax
push ebp
push 0x4a3577
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x410], 1
xor eax, eax
push ebp
push 0x4a3504
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ad4f0]
mov eax, dword [eax]
call fcn.0043203c
mov eax, dword [0x4ad598]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4a34de
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov eax, dword [0x4ad598]
mov eax, dword [eax]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x414]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4a34b8
mov eax, dword [0x4ad598]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a350b
mov eax, dword [0x4ad4f0]
mov eax, dword [eax]
call fcn.00432044
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a35a0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404df4
ret
Function at 0x4a5360
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405250
xor eax, eax
push ebp
push 0x4a54d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
call fcn.0049a104
xor eax, eax
push ebp
push 0x4a54b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [ebp - 6], 0
mov eax, dword [ebp - 4]
call fcn.00405260
push eax
call sub.wsock32.dll_inet_addr
mov edi, eax
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a5461
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
mov edx, esi
call fcn.0041c130
mov ebx, eax
cmp edi, dword [ebx]
jne 0x4a5457
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 4]
mov edx, dword [0x4ad450]
cmp eax, dword [edx]
ja 0x4a5426
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 4], eax
inc dword [ebx + 8]
mov eax, dword [ebx + 8]
mov edx, dword [0x4ad94c]
cmp eax, dword [edx]
jl 0x4a5451
mov edx, 0x10
mov eax, ebx
call fcn.004030b8
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
mov edx, esi
call fcn.0041c024
mov byte [ebp - 5], 1
jmp 0x4a5451
mov eax, dword [ebx + 8]
mov edx, dword [0x4ad94c]
cmp eax, dword [edx]
jle 0x4a5437
mov byte [ebp - 5], 1
mov edx, 0x10
mov eax, ebx
call fcn.004030b8
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
mov edx, esi
call fcn.0041c024
mov byte [ebp - 6], 1
jmp 0x4a5461
dec esi
cmp esi, 0xffffffff
jne 0x4a53c8
cmp byte [ebp - 6], 0
jne 0x4a549e
mov eax, 0x10
call fcn.0040309c
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.004037d8
mov dword [ebx], edi
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041bfd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a54bf
mov eax, dword [0x4ad79c]
mov eax, dword [eax]
call fcn.0049a110
ret
Function at 0x1000142c
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1000147d
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000148e
push 0xd
pop eax
jmp 0x100014bb
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10001491
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10001d87
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x1001f560]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.100013eb
mov ebx, eax
cmp ebx, esi
je 0x10001df7
lea ecx, [ebp - 0x70]
call fcn.10001376
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b90c
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10001e0f
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10001d87
cmp eax, esi
jne 0x10001e41
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x10001dff
lea ecx, [ebp - 0x70]
call fcn.10001376
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000131b
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10001376
mov eax, esi
jmp 0x10001ddd
Function at 0x10005872
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.1000b920
mov eax, dword [0x1001f560]
xor eax, ebp
mov dword [ebp + 0xf90], eax
push ebx
push esi
push edi
xor eax, eax
push 0x3fe
mov word [ebp + 0xb90], ax
xor ebx, ebx
lea eax, [ebp + 0xb92]
push ebx
push eax
call fcn.1000b6a0
lea eax, [ebp + 0xfa0]
push eax
push dword [ebp + 0xf9c]
mov esi, 0x400
lea eax, [ebp + 0xb90]
push esi
push eax
call fcn.1000c617
xor eax, eax
push 0x7fe
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.1000b6a0
xor eax, eax
mov word [ebp - 0x80], ax
lea edi, [ebp - 0x7e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x28
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp + 0xb90]
push eax
movzx eax, word [ebp - 0x74]
push eax
movzx eax, word [ebp - 0x76]
push eax
movzx eax, word [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
push str.__04d__02d__02d__02d:_02d:_02d___ws
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.1000c501
add esp, 0x28
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x3ff
lea eax, [ebp + 0x791]
push ebx
push eax
mov byte [ebp + 0x790], bl
call fcn.1000b6a0
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp + 0x790]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf90]
xor ecx, ebp
call fcn.1000b90c
add ebp, 0xf94
leave
ret

Function at 0x10005a18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
je 0x10005a4c
cmp esi, 0x80000005
je 0x10005a4c
cmp esi, 0x80000001
je 0x10005a4c
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
je 0x10005a4c
cmp esi, 0x80000003
je 0x10005a4c
xor eax, eax
inc eax
jmp 0x10005a97
mov eax, dword [ebp + 0x18]
cmp eax, 0xa
ja 0x10005a94
mov dword [ebp + 8], eax
lea eax, [ebp + 0x18]
push eax
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005a90
push dword [ebp + 0x1c]
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10005a97
push 3
jmp 0x10005a96
push 2
pop eax
pop esi
pop ebp
ret 0x18
Function at 0x100062fe
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x1001f560]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3a8]
push ebx
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3ac]
push edi
mov dword [ebp - 0x78], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
mov dword [ebp - 0x7c], ecx
call fcn.1000b6a0
mov esi, 0x104
push esi
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1000b6a0
push str._toolbox
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000b621
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000b621
push 0x10019cf8
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000b621
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000b621
add esp, 0x48
push 0x10019cf4
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000b621
xor eax, eax
push edi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push ebx
push eax
call fcn.1000b6a0
push esi
lea eax, [ebp + 0x194]
push ebx
push eax
call fcn.1000b6a0
mov eax, dword [ebp - 0x7c]
add eax, 0x7ff04
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x194]
push esi
push eax
call fcn.1000b621
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x30
push dword [ebp - 0x80]
lea eax, [ebp + 0x194]
push eax
call edi
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
call fcn.10005d01
test eax, eax
je 0x1000640e
xor eax, eax
inc eax
jmp 0x10006459
push esi
lea eax, [ebp + 0x194]
push ebx
push eax
call fcn.1000b6a0
push dword [ebp - 0x78]
lea eax, [ebp + 0x194]
push esi
push eax
call fcn.1000b621
add esp, 0x18
push str.ASCDownload.exe
lea eax, [ebp + 0x194]
push eax
call edi
push 1
push ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov ecx, dword [ebp + 0x39c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b90c
add ebp, 0x3a0
leave
ret 8
Function at 0x1000702f
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xe0
mov eax, dword [0x1001f560]
xor eax, ebp
mov dword [ebp + 0x6c], eax
and dword [ebp - 0x68], 0
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov ebx, dword [ebp + 0x7c]
push edi
mov esi, 0x10019d3c
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xb6
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x4a]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.1000b6a0
and dword [ebp - 0x6c], 0
add esp, 0xc
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
jb 0x10007086
mov eax, dword [esi]
jmp 0x10007088
mov eax, esi
lea ecx, [ebp - 0x6c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x1000711f
and dword [ebp - 0x68], 0
and dword [ebp - 0x70], 0
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10009b27
cmp dword [ebx + 0x18], 8
pop ecx
mov dword [ebp - 0x60], eax
jb 0x100070c4
mov esi, dword [esi]
push eax
push edi
push dword [ebp - 0x6c]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10007116
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x10019d38
push dword [ebp - 0x60]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10007116
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
lea eax, [ebp - 0x5c]
push str._d._d._d._d
push eax
call fcn.10005f37
add esp, 0x18
push dword [ebp - 0x60]
call fcn.1000bb58
pop ecx
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x5c]
push eax
call fcn.10006de6
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b90c
add ebp, 0x70
leave
ret

Function at 0x1000b90c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001f560]
jne 0x1000b916
repz ret
jmp fcn.1000eaad

Function at 0x10014544
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x1001456c
test cl, bh
push es
add byte [eax], al
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1001248b
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x10014567
jmp 0x1001456c
jmp 0x10013e68
Function at 0x4010f0
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x4010bd
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x4010ec
nop
mov al, al
push 0xf1b30
push 0
push edi
call fcn.00423d30
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401118
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x401098

Function at 0x401284
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00423d30
push esi
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00423d30
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
push 0x43aaa4
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43aaa8
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43aaac
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43aab0
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43aab4
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43aab8
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x43aabc
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43aac0
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43aac4
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43aac8
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43aacc
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43aad0
lea eax, [ebp - 0x108]
push eax
call esi
push 0x43aad4
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x20c]
call fcn.00410c85
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4013a5
test cl, cl
je 0x4013a1
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4013a5
add eax, 2
add esi, 2
test cl, cl
jne 0x401385
xor eax, eax
jmp 0x4013aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013e9
lea esi, [ebp - 0x108]
call fcn.00410c53
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4013d9
test cl, cl
je 0x4013d5
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4013d9
add eax, 2
add esi, 2
test cl, cl
jne 0x4013b9
xor eax, eax
jmp 0x4013de
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013e9
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041d12a
leave
ret

Function at 0x40148a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
push ecx
mov ecx, dword [eax + 2]
mov dword [ebp - 4], ecx
pop ecx
leave
ret
Function at 0x4014ad
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x4014eb
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014f5
mov edi, dword [edi]
cmp edi, esi
jne 0x4014d9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x4014f1

Function at 0x401666
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x401809
push str.delays.tmp
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x624], edi
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x401809
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebx, eax
call dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
push edx
push ebx
call fcn.00423d30
add esp, 0xc
push edi
lea eax, [ebp - 0x628]
push eax
push esi
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401809
cmp dword [ebp - 0x628], esi
jne 0x401809
push esi
push edi
push ebx
call fcn.00423d30
add esp, 0xc
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push 0x80000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x401809
push edi
lea ecx, [ebp - 0x62c]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401809
cmp dword [ebp - 0x62c], esi
jne 0x401809
push esi
push edi
push ebx
call fcn.00423d30
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x3e8
jb 0x4016d0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d12a
leave
ret
xor eax, eax
jmp 0x4017fa
Function at 0x4047e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x404846
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x404818
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x404a3e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404a6e
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x404a7c
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041d12a
leave
ret