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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 4], eax
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x45eb4b
mov esi, dword [edi]
mov ebx, dword [edi + 0x10]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x45eb74
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45eb60
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
mov esi, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ecx + 4]
mov dword [ebp + 0xc], ecx
cmp esi, ecx
je 0x45ebdc
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
jb 0x45eb9f
mov edx, dword [esi + 8]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x45eba9
mov ecx, dword [edi]
push dword [esi + 0x18]
push edx
push ebx
push ecx
call fcn.00428a34
add esp, 0x10
test al, al
jne 0x45ebc7
mov eax, dword [ebp - 8]
cmp esi, dword [eax]
je 0x45ebd9
mov esi, dword [esi + 4]
jmp 0x45eb93
test esi, esi
je 0x45ebd9
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x463090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9615
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x65eb68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4630c7
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x4630e5
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x4630d3
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0045e6e0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4631b5
cmp dword [ebx + 8], 0x6666666
je 0x4631cc
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.005649a6
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
push edi
lea edi, [ecx + 8]
mov ecx, edi
call fcn.0045a330
xorps xmm0, xmm0
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x1c], 0
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5edf10]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5edf10]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x4631a6
mov ecx, ebx
call fcn.00463b00
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0045e6e0
mov ecx, dword [eax]
jmp 0x4631a9
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.00463a60
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5ef6e0
call fcn.0059b7e1
int3
Function at 0x463720
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x463869
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004634f0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x46383c
movzx eax, byte [ecx + 8]
mov edi, dword [ebx + 0x18]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul eax, eax, 0x1000193
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 0xc], eax
cmp ebx, esi
jne 0x4637b5
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x46382f
mov eax, dword [eax + 4]
mov bl, byte [ecx + 8]
cmp bl, byte [eax + 8]
mov ebx, dword [ebp - 4]
jne 0x4637f2
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4637ea
mov ebx, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jmp 0x46382f
mov edi, eax
cmp ebx, eax
je 0x46380c
mov eax, dword [eax + 4]
mov edi, eax
mov bl, byte [ecx + 8]
cmp bl, byte [eax + 8]
mov ebx, dword [ebp - 4]
je 0x463845
cmp ebx, eax
jne 0x4637f8
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x463782
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x46382f
push 0x5ef6fc
call fcn.0059b7e1
int3
Function at 0x46bf10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.0046b1a0
mov edi, dword [ebp + 8]
push 0
push 0
push edi
call fcn.005ae4be
push edi
call fcn.005addab
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46bf5c
push edi
call fcn.005add38
add esp, 4
test eax, eax
je 0x46bf5c
push 0
push 0
push 5
push esi
call fcn.0046d5f0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.005ae4be
push edi
call fcn.005aeb11
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp + 8], edx
call fcn.005ae4be
mov edx, dword [ebp + 8]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
je 0x46bfe7
test edx, edx
jne 0x46bfe7
cmp ebx, 0xffffffff
jae 0x46bfe7
mov eax, ebx
or eax, edx
jne 0x46bfb2
push eax
push eax
push 0xd
push esi
call fcn.0046d5f0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.005649e3
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.005ae0a8
add esp, 0x14
cmp eax, ebx
jne 0x46bfe7
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.0046c350
mov eax, dword [esi + 0x38]
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0
push 0
push 5
push esi
call fcn.0046d5f0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x46fa20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
push dword [ebp + 8]
push 0x5eefe4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
cmovle eax, ecx
pop ebp
ret

Function at 0x46fd40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor al, al
push edi
mov edi, dword [esi + 0x10]
test edi, edi
je 0x46fe09
cmp edi, 0x104
jae 0x46fe09
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0059dbb0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x46fd8f
mov esi, dword [esi]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0059d630
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x224], eax
add esp, 0xc
mov eax, 0x414
mov dword [ebp - 0x220], 0
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x21a], 0
push eax
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x212], 0
mov dword [ebp - 0x228], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
Function at 0x470e00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x808], esi
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x804]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
jmp 0x470e60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470e60
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004049aa
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
Function at 0x470e90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da377
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x81c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x810]
push eax
push 0x400
mov dword [ebp - 0x81c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x471057
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470f20
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004049aa
mov edi, dword [esi + 0x10]
test edi, edi
je 0x471057
lea eax, [edi - 1]
cmp edi, eax
jbe 0x471075
mov ecx, dword [esi + 0x14]
mov edx, esi
mov dword [ebp - 0x820], ecx
cmp ecx, 8
jb 0x470f66
mov edx, dword [esi]
cmp word [edx + eax*2], 0x5c
je 0x471057
cmp edi, ecx
jae 0x470f90
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ecx, 8
jb 0x470f84
mov eax, dword [esi]
mov dword [eax + edi*2], 0x5c
jmp 0x471057
mov edx, SysReAllocString
mov eax, edx
sub eax, edi
cmp eax, 1
jb 0x47107a
lea ebx, [edi + 1]
or ebx, 7
cmp ebx, edx
jbe 0x470fb0
mov ebx, edx
jmp 0x470fc8
mov eax, ecx
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x470fc1
mov ebx, SysReAllocString
jmp 0x470fc8
add eax, ecx
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, esi
push eax
call fcn.00404963
lea ecx, [edi + 1]
mov dword [esi + 0x14], ebx
mov ebx, dword [ebp - 0x820]
mov dword [esi + 0x10], ecx
lea ecx, [edi + edi]
mov dword [ebp - 0x814], eax
lea edi, [ecx + eax]
mov dword [ebp - 0x818], edi
push ecx
cmp ebx, 8
jb 0x47103f
mov edi, dword [esi]
push edi
push eax
call fcn.0059d630
mov eax, dword [ebp - 0x818]
lea ebx, [ebx*2 + 2]
add esp, 0xc
mov dword [eax], 0x5c
cmp ebx, 0x1000
jb 0x471033
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x47107f
mov edi, ecx
push ebx
push edi
call fcn.00599f8e
add esp, 8
jmp 0x47104f
push esi
push eax
call fcn.0059d630
add esp, 0xc
mov dword [edi], 0x5c
mov eax, dword [ebp - 0x814]
mov dword [esi], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.00404954
call fcn.00404949
call fcn.005a1930
int3
Function at 0x471bd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da4e5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor bl, bl
test edx, edx
je 0x471dc5
cmp word [edx], 0
je 0x471dc5
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471c32
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004049aa
push 0
push 0x5f10fc
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x5f714c
push eax
call fcn.00406ebd
mov ecx, dword [ebp - 0x18]
add esp, 0x10
cmp ecx, 2
jbe 0x471d6b
cmp ecx, 1
jbe 0x471de3
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp esi, 8
cmovae eax, edi
cmp word [eax + 2], 0x3a
jne 0x471d71
push 4
push 0x5f72bc
cmp esi, 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, edi
push ecx
push eax
call fcn.00406c26
add esp, 0x14
cmp eax, 0xffffffff
jne 0x471d71
push 0x5f72c8
lea ecx, [ebp - 0x58]
call fcn.0043df5f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040656e
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + 0x10]
mov word [edx], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
call fcn.00428fbe
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x471d63
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471d59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471de8
push edx
push ecx
call fcn.00599f8e
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00404866
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x14]
cmp eax, 0xffffffff
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
cmp edx, 8
jb 0x471dc5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471dbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471ded
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.00404954
call fcn.005a1930
call fcn.005a1930
int3
Function at 0x472120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da510
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x65eb68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push dword [ebp + 0x10]
movzx eax, word [ebp + 0xc]
xor bl, bl
mov esi, dword [ebp + 8]
push eax
push esi
mov byte [ebp - 0x11], bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4721ff
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4721ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4721ff
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp ebx, eax
jbe 0x4721b6
cmp ebx, 0x7fffffff
ja 0x472213
push ebx
mov ecx, esi
call fcn.0046fab0
add ebx, edi
cmp edi, ebx
je 0x4721fd
mov cl, byte [edi]
mov eax, dword [esi + 4]
mov byte [ebp + 0xf], cl
cmp eax, dword [esi + 8]
je 0x4721d1
mov byte [eax], cl
inc dword [esi + 4]
inc edi
jmp 0x4721b8
lea ecx, [ebp + 0xf]
push ecx
push eax
mov ecx, esi
call fcn.0046f520
inc edi
jmp 0x4721b8
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004093d0
int3
Function at 0x473c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x473dc3
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jb 0x473c8b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x473cb4
mov ecx, eax
lea esp, [esp]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x473ca0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ecx]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00472d90
push 0x38
push edi
call fcn.00599f8e
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x473d1d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x473cd0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x473db8
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x473d2f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x473d32
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x473db8
lea esp, [esp]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x473d4e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x473d71
lea esp, [esp]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x473d60
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00472d90
push 0x38
push edi
call fcn.00599f8e
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x473dc9
cmp esi, eax
jne 0x473d88
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x473d40
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x478c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x218], eax
mov edx, 0x104
mov dword [eax], 0
mov eax, ecx
push edi
mov dword [ebp - 0x210], ebx
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x478cee
movzx eax, word [esi + ecx]
test ax, ax
je 0x478cee
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x478cd0
lea eax, [ecx - 2]
test edx, edx
push 0x5f74c8
cmovne eax, ecx
xor ecx, ecx
push 0x104
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.00478a30
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x478d92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x478de6
mov eax, dword [ebp + 4]
push 0x5f7470
push 0xc9
push eax
call fcn.00477e10
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x478de6
mov eax, dword [ebp + 4]
push edi
push 0x5f7470
push 0x62
push eax
call fcn.00477e60
mov ecx, dword [ebp + 4]
push edi
push 0x5f7470
push 0x6b
push ecx
call fcn.00477e60
add esp, 0x20
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], ebx
push eax
push esi
call fcn.00476f00
mov edi, eax
add esp, 8
test edi, edi
jns 0x478dd2
mov eax, dword [ebp + 4]
push edi
push 0x5f7470
push 0xcf
push eax
call fcn.00477e60
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x478e08
jmp 0x478d5a
mov eax, dword [ebp - 0x210]
cdq
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x478e1b
mov ecx, dword [ebp - 0x218]
lea eax, [ebx*4]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 4]
push 0x5f74d4
push 0x93e
push eax
call fcn.00479000
mov eax, dword [ebp + 4]
push 0x5f74d4
push 0x93e
push eax
call fcn.00479000
int3
Function at 0x479730
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dac3d
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.0059a8e0
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x104c], esi
mov dword [ebp - 0x1048], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x1044]
mov dword [ebp - 4], 0
push ecx
push 0x1000
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1048], 1
push ecx
push eax
mov dword [ebp - 0x1044], 0
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x4798ff
xor edi, edi
test dword [ebp - 0x1044], 0xfffffffc
jbe 0x4798ff
lea esp, [esp]
push dword [ebp + edi*4 - 0x1010]
lea eax, [ebp - 0x1040]
push eax
call fcn.00479930
add esp, 8
push eax
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 1
call fcn.0046e3c0
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 2
cmp ecx, dword [esi + 8]
je 0x47985e
mov eax, dword [ebp - 0x1028]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x1024]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1020]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x101c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1018]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x1014]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x1028], ax
jmp 0x479873
lea eax, [ebp - 0x1028]
push eax
push ecx
mov ecx, esi
call fcn.00475c00
mov edx, dword [ebp - 0x1014]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4798ad
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4798a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47991c
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov edx, dword [ebp - 0x102c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4798ed
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4798e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47991c
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov eax, dword [ebp - 0x1044]
inc edi
shr eax, 2
cmp edi, eax
jb 0x4797e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.005a1930
int3