joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x404
test eax, eax
jne 0x10005331
mov word [ebp - 0x404], ax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x404]
mov dword [ebp + 0xc], 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100053ae
mov eax, dword [ebp - 4]
push esi
push edi
cmp eax, 1
je 0x100052b2
cmp eax, 2
jne 0x10005364
mov esi, dword [ebp + 0xc]
and esi, 0xfffffffe
mov dword [ebp + 0xc], esi
cmp esi, 0xbebc200
jae 0x100053a7
mov eax, esi
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10005480
add esp, 4
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
xor edx, edx
shr ecx, 1
mov word [edi + ecx*2], dx
mov ecx, dword [ebp - 4]
cmp ecx, 1
je 0x10005318
cmp ecx, 2
jne 0x1000535b
cmp eax, 0xea
jne 0x10005370
push edi
call fcn.100054b0
add esp, 4
lea esi, [esi*2 + 0xfa0]
jmp 0x100052b8
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1000526b
mov eax, 0x57
mov esp, ebp
pop ebp
ret
push edi
call fcn.100054b0
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x14]
push 0xa
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.vstdlib_s.dll_V_UTF16ToUTF8]
push edi
mov ebx, eax
call fcn.100054b0
add esp, 0x14
test ebx, ebx
jne 0x10005394
cmp word [edi], bx
jne 0x10005364
xor eax, eax
mov ecx, 0xea
cmp ebx, esi
pop edi
pop esi
cmovg eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xe
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1001afc8
mov dword [ebp - 4], 0
call fcn.100076d0
lea ecx, [ebp - 0xc]
call fcn.10007600
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x100072b7
push eax
call fcn.100054b0
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100072c7
push ecx
call fcn.100054b0
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100072f0
Capabilities:
Inspect section memory permissions
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1001afc8
mov dword [ebp - 0xc], 0
call fcn.100076d0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov eax, dword [ebp + 0x1c]
shl ecx, 0x1f
mov edx, ecx
or edx, 0x40000000
mov dword [eax], 0xffffffff
mov eax, ebx
and al, 2
mov eax, 0xc0000000
cmove edx, ecx
cmp ebx, 4
cmove edx, eax
mov eax, edx
or eax, 4
and bl, 8
cmove eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
cmp eax, 7
ja case.default.0x1000738a
jmp dword [eax*4 + 0x1000749c]
xor edi, edi
jmp 0x1000737e
mov edi, 1
jmp 0x1000737e
mov edi, 2
jmp 0x1000737e
mov edi, 3
jmp 0x1000737e
mov edi, 7
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x1000738a
jmp dword [eax*4 + 0x100074bc]
mov ebx, 3
jmp 0x100073ab
mov ebx, 4
jmp 0x100073ab
mov ebx, 1
jmp 0x100073ab
mov ebx, 2
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
and ecx, 1
shl ecx, 0x1e
sub ecx, 0xffffff80
mov edx, ecx
or edx, 0x20000000
and al, 2
cmove edx, ecx
mov ecx, dword [ebp + 0x18]
mov esi, edx
mov eax, ecx
or esi, 0x8000000
and al, 8
cmove esi, edx
test cl, 0x10
je 0x100073ea
and esi, 0xffffff7f
or esi, 0x100
mov eax, ecx
mov ecx, esi
or ecx, 0x4000000
and al, 0x20
push 0
cmove ecx, esi
push ecx
push ebx
push 0
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.10007600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [ebp + 0x1c]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x10007426
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10007470
mov ebx, dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileTime]
test bl, 4
je 0x1000744d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push ecx
push 0
push eax
mov dword [ebp - 4], 0xffffffff
call esi
test bl, bl
jns 0x10007467
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
push 0
lea eax, [ebp - 8]
push eax
push dword [edi]
call esi
xor esi, esi
jmp 0x10007470
mov esi, 0x57
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10007480
push eax
call fcn.100054b0
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10007490
push eax
call fcn.100054b0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000b961
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000b99c
Function at 0x1000bbac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1000b921
or al, 0xaf
add ah, bh
lea eax, [ebp - 0x58]
push eax
call fcn.1000b931
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000b8e6
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000bc0f
inc dword [ebp - 0x8c]
invalid
scasd eax, dword es:[edi]
invalid
invalid
Function at 0x1000bc35
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [di - 0x38], 0x66
mov byte [di - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1000b921
mov dh, 0x46
inc esi
sub eax, 0xc0458d8a
push eax
call fcn.1000b931
push eax
push esi
push dword [ebp + 8]
call fcn.1000b8e6
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1000b921
jl 0x1000bc15
mov edi, 0xe8458d35
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1000b931
push eax
push esi
push dword [ebp + 8]
call fcn.1000b8e6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1000b931
push eax
push esi
push dword [ebp + 8]
call fcn.1000b8e6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000b931
push eax
push esi
push dword [ebp + 8]
call fcn.1000b8e6
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000b921
cmp byte [edi - 0x35], dh
add cl, byte [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x420ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x420ee4
pop dword [ebp - 0x1c]
mov eax, 0x6f349c61
add eax, 0x910d7283
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x9b87cfdb
add dword [ebp - 0x2c], 0xb2ca7570
mov dword [ebp - 0x28], 0xd062d9f1
sub dword [ebp - 0x28], 0x9e2f8dac
mov dword [ebp - 0x24], 0xe16d3c2a
sub dword [ebp - 0x24], 0x9520f7fc
mov dword [ebp - 0x20], 0x104813c5
sub dword [ebp - 0x20], 0x104813c5
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xc7dfceb8
sub eax, 0xc79d9e44
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x137da6a1
sub dword [ebp - 0x2c], 0x9f0b3d4b
mov dword [ebp - 0x28], 0x94859cf9
add dword [ebp - 0x28], 0xace6c47c
mov dword [ebp - 0x24], 0x7c8f84
sub dword [ebp - 0x24], 0x9d0d2318
mov dword [ebp - 0x20], 0x624137ee
sub dword [ebp - 0x20], 0x624137ee
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f364
push 0
call eax
mov ecx, 0x7f8e53c9
sub ecx, 0x7f8e05f3
mov esi, eax
mov edi, 0x434400
add edi, dword [ebp - 0x1c]
mov ebx, 0x1c0f36a7
add dword [ebp - 8], eax
mov edx, dword [edi]
xor dword [ebp - 0x18], 0xe352150c
xor edx, ebx
sub dword [ebp - 0x18], 0xe29715f0
mov dword [esi], edx
add dword [ebp - 0x18], 0xd2f8e94
add esi, 0x694f8a08
sub esi, 0x694f8a04
add edi, 0x54f3d4a0
add edi, 0xab0c2b64
loop 0x420ff5
add eax, 0x14358633
sub eax, 0x14345c08
mov ebx, eax
add eax, 0x3816c7e2
sub eax, 0x3816c7dd
mov ecx, 0x9a8286bf
sub ecx, 0x9a4286bf
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4012a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x486654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 0x24], eax
mov esi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add esi, ebx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x401304
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
add eax, ebx
push eax
call 0x402270
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00401af0
add esp, 8
test al, al
jne 0x401317
lea ecx, [ebp - 0x1c]
add esi, 4
call 0x4029c0
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x4012d3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406103
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + ebx]
lea ecx, [ebp - 0x1c]
call 0x4029c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406103
mov esp, ebp
pop ebp
ret
Function at 0x405190
Capabilities:
Delete file
Enumerate gui resources
Manipulate console buffer
Query environment variable

Disassembly:
shr edx, 3
sub esp, 0x95c
test edx, edx
je 0x405290
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_FillConsoleOutputCharacterW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteProfileSectionW]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_WriteConsoleOutputCharacterW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x4051d0
cmp dword [0x47d2fc], 0x5d
jne 0x40526d
push 0x401234
push 0x401244
call esi
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
push 0x401270
push eax
mov dword [esp + 0x28], eax
call edi
xor ecx, ecx
lea eax, [esp + 0x28]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x2c], ecx
call ebx
push 0
call ebp
push 0
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_WriteConsoleW]
call dword [sym.imp.KERNEL32.DLL_GetConsoleAliasExesLengthA]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_BeginUpdateResourceA]
push 0
lea eax, [esp + 0x170]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_EnumResourceTypesA]
mov edx, dword [esp + 0x970]
mov ecx, dword [esp + 0x10]
call fcn.00404f70
add dword [esp + 0x10], 8
dec dword [esp + 0x1c]
jne 0x4051d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x95c
ret 4
Function at 0x4063b0
Capabilities:
Create directory

Disassembly:
sub esp, 0x400
cmp dword [0x47d2fc], 0xc
push esi
push edi
jne 0x406411
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x4012f0
push 0
call dword [sym.imp.KERNEL32.DLL_FoldStringA]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00406460
fstp st(0)
push 0
call fcn.00407138
push 0
call fcn.0040714e
push 0
push 0
call fcn.00407111
push 0
call fcn.00407138
add esp, 0x1c
mov ecx, dword [0x4254bc]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryExW]
mov dword [0x47d2fc], ecx
mov edi, 0x1d72
jmp 0x406430
cmp dword [0x47d2fc], 0x15
jne 0x406441
push 0
push 0
push 0
call esi
dec edi
jne 0x406430
call fcn.00405380
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x409c5a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425b44]
jne 0x409c64
repz ret
jmp fcn.0040d4e0

Function at 0x40e569
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425b44]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409c69
and dword [ebp - 0x14], 0
cmp dword [0x483efc], 0
mov dword [ebp - 0x18], eax
jne 0x40e61c
push 0x404564
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e6c4
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x404558
push ebx
call edi
test eax, eax
je 0x40e6c4
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x404548
push ebx
mov dword [0x483efc], eax
call edi
push eax
call esi
push 0x404534
push ebx
mov dword [0x483f00], eax
call edi
push eax
call esi
push 0x404518
push ebx
mov dword [0x483f04], eax
call edi
push eax
call esi
mov dword [0x483f0c], eax
test eax, eax
je 0x40e61c
push 0x404500
push ebx
call edi
push eax
call esi
mov dword [0x483f08], eax
mov eax, dword [0x483f08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x40e675
cmp dword [0x483f0c], ecx
je 0x40e675
push eax
call esi
push dword [0x483f0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e675
test ebx, ebx
je 0x40e675
call edi
test eax, eax
je 0x40e66c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e66c
test byte [ebp - 8], 1
jne 0x40e675
or dword [ebp + 0x10], 0x200000
jmp 0x40e6a8
mov eax, dword [0x483f00]
cmp eax, dword [ebp - 0x18]
je 0x40e6a8
push eax
call esi
test eax, eax
je 0x40e6a8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e6a8
mov eax, dword [0x483f04]
cmp eax, dword [ebp - 0x18]
je 0x40e6a8
push eax
call esi
test eax, eax
je 0x40e6a8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x483efc]
call esi
test eax, eax
je 0x40e6c4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e6c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409c5a
leave
ret
Function at 0x4079b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac5cb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4e0150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push esi
push edi
call fcn.00435870
add esp, 0xc
cmp eax, 1
jne 0x407b2b
call fcn.0043c710
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x407b27
push 0x87
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcduplicate_file_scancalc_hash.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.004085b0
push 3
push 0x4b77c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004085b0
mov byte [ebp - 4], 1
call fcn.0043c710
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x27
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405a20
mov esi, eax
push str._error__updating_XXH64_state
push esi
mov byte [ebp - 4], 2
call fcn.00406930
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406b40
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407ae5
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407adb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b60
push edx
push ecx
call fcn.0043d70a
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x407b27
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b65
push edx
push ecx
call fcn.0043d70a
add esp, 8
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [ebx + 0x18], esi
push ebx
adc dword [ebx + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xd]
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.0047e239
call fcn.0047e239
int3
Function at 0x408bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac618
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4e0150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0043d6da
mov edi, eax
add esp, 4
test edi, edi
je 0x408c53
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00436477
add esp, 4
mov dword [edi + 4], eax
jmp 0x408c55
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00405600
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x408cb5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x408cb5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x408cd9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x408cfb
cmp byte [ebp + 0xc], 0
je 0x408ce8
push esi
call fcn.004369ee
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x408d07
mov esi, str.ios_base::badbit_set
jmp 0x408d17
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00408d40
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00406020
push 0x4d2c7c
lea eax, [ebp - 0x30]
push eax
call fcn.00479ea4
int3
Function at 0x414740
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4e0150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x32000
push esi
push eax
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
call fcn.00434d10
add esp, 4
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4147d2
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0x32000
push str.min_size
push str.config
call esi
cmp dword [ebp - 8], 8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
push str.un_exclude
push str.config
mov dword [ebp - 0x28], 0
call esi
test eax, eax
setne byte [ebp - 0x24]
mov esi, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x2c]
mov edx, dword [ebp - 8]
movups xmmword [esi], xmm0
cmp edx, 8
jb 0x414812
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414808
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414823
push edx
push ecx
call fcn.0043d70a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043d9c0
mov esp, ebp
pop ebp
ret
call fcn.0047e239
int3

Function at 0x418930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4