joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4091b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4161a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407539
mov dword [ebp - 0x14], eax
cmp dword [0x41824c], esi
jne 0x4092ab
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x409238
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40938b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40938b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40938b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41824c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x418250], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x418254], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41825c], eax
test eax, eax
je 0x4092a8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x418258], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4092d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4092c3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4092e5
push 4
pop eax
jmp 0x40938d
cmp dword [ebp - 0x14], esi
je 0x4092e5
push dword [0x41824c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4092ca
mov eax, dword [0x418258]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x409343
cmp dword [0x41825c], edi
je 0x409343
push eax
call ebx
push dword [0x41825c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x409343
test eax, eax
je 0x409343
call ecx
test eax, eax
je 0x409338
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x409338
test byte [ebp - 8], 1
jne 0x409343
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x409373
mov eax, dword [0x418250]
cmp eax, edi
je 0x409370
push eax
call ebx
test eax, eax
je 0x409370
call eax
mov esi, eax
test esi, esi
je 0x409370
mov eax, dword [0x418254]
cmp eax, edi
je 0x409370
push eax
call ebx
test eax, eax
je 0x409370
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41824c]
call ebx
test eax, eax
je 0x40938b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40938d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402f6b
mov esp, ebp
pop ebp
ret
Function at 0x49a723
Capabilities:
Encode data using xor

Disassembly:
sub al, 5
test dword [edi - 0x19], 0x69e2079e
mov esi, 0x56349dbe
daa
adc al, 0x6a
adc edx, edi
arpl word [esi], bx
xlatb
sub dword [eax], edx
retf
add ch, byte [ebp - 0x3d]
push eax
xor dh, byte [esi - 0x660be3e6]
dec edi
cli
push ds
xlatb
jle 0x49a765
cmp al, 0xf4
xor bh, ch
pop ds
mov ebp, 0x78c4e9a4
out dx, al
daa
mov cs, eax
mov al, bl
mov ah, 0x91
cmp dword [eax - 0x28093f7c], esp
loop 0x49a7b2
mov dh, byte [ecx + 0x23]
shr dword [ecx + 0x53e95b48], 1
call 0xcac65a92
jbe 0x49a717
cmp eax, 0xf896ca59
insd dword es:[edi], dx
adc dword [eax], ebp
imul esi, eax, 0x2b1c135b
adc dword [edi], edi
jecxz 0x49a6f2
mov ebp, 0xc99d5463
arpl word [ebp + ebx*4 - 0x37], dx
mov eax, dword [0x71422b34]
inc edi
xchg esp, eax
jno 0x49a724
movsd dword es:[edi], dword [esi]
in eax, dx
fisttp dword [ecx - 0x57]
cli
fprem
xchg ebx, eax
fadd dword [ebx]
sbb dword [eax + 0x26], ebp
mov ch, 0xcf
mov dword [eax + 0x429397b5], esi
add dword [edi], esi
invalid
xor al, 9
inc eax
jo 0x49a7ac
retf
and eax, 0xe3b7460e
salc
ja 0x49a7d3
scasd eax, dword es:[edi]
in eax, 0x80
jb 0x49a831
xor eax, 0x9f4cd2f1
sub al, 0x80
loope 0x49a7a7
or ebp, dword [ebx + 0x577327dd]
shl byte [0x94972fa3], cl
xchg edi, eax
xchg esp, eax
or ecx, dword [ecx + 0x679ba22c]
pop ebx
pop eax
xor cl, al
invalid
mov al, byte [ebx + 0x58840498]

Function at 0x4d83b5
Capabilities:
Encode data using xor

Disassembly:
adc ch, byte [ebp + 0xa704590]
xlatb
or dl, byte [edx - 0x55d71ade]
mov ebx, 0x15d4f4ef
pop esp
sub dword [esi - 0x63], ebx
popfd
push ecx
rcl byte [eax - 0x49]
jo 0x4d83ca
push ebx
mov dword [0x65b9da93], eax
mov bl, 0x78
xor al, 0x1e
push esi
xor bl, byte [esi - 0x46956740]
push edx
jae 0x4d83d2
add eax, eax
invalid

Function at 0x553263
Capabilities:
Encode data using xor

Disassembly:
leave
shl esp, 1
test byte [esi - 9], al
in al, dx
push edi
shl edi, 0xd4
xchg dword [ebp - 0x46], esp
mov esp, 0x45e48599
jecxz 0x55325e
dec esp
dec esp
xlatb
aad 0xe4
je 0x55326b
pop es
in eax, 0x37
sbb al, 0xf9
pop ds
inc edx
push dword [ebx]
cmc
xor esi, ebp
movsd dword es:[edi], dword gs:[esi]
jp 0x553286
dec ebx
sub eax, 0x6c7db594
or dword [ebp - 0x3c], edx
inc esp
imul esp, dword [ecx + 0x2afe67e6], 0xb31485d0
cdq
rol byte [ebp + 0x7d99b314], 1
xor al, 0x24
push esi
jge 0x5532bc
and al, 0x56
fidivr word [ebx - 3]
jbe 0x553281
pop ebx
sbb eax, 0x3266f2ab
push esi
cmc
xor dl, byte [esi - 0xb]
xchg edi, eax
movsd dword es:[edi], dword [esi]
lds edi, [ebx + 0x675994cb]
imul eax, dword [ecx + 0xaf79bf8], 0x5d223af9
inc esi
push 0x46
cmc
inc ebx
in eax, 0x4e
jecxz 0x553293
rol byte [ecx], 0x13
add dword [ebx], edx
outsb dx, byte [esi]
out 0x82, al
pushal
scasb al, byte es:[edi]
mov esp, 0xcf236997
xor al, 0x82
les ecx, [edx]
imul esp, dword [ebx], 0xf28234cf
les ecx, [edx]
jle 0x553247
insd dword es:[edi], dx
inc ecx
and dword [ebx], edx
xor dword [edi], edx
jmp 0x1bf612d3
Function at 0x620fb3
Capabilities:
Encode data using xor

Disassembly:
dec esi
dec esi
mov edx, 0xec3af056
sub dword [esi], edx
and ebx, ebp
add ah, byte [edi + 0x3cf8ea83]
fnstcw word [esp + ebx - 0x79]
cmp eax, dword [0xac4b2c3a]
lodsb al, byte [esi]
cmp ch, byte [esi]
push 0x17e4cbc1
mov al, 0x9e
call 0xe57b90db
sbb bl, byte [ebp + 0x7f]
sbb al, 0xeb
push ecx
clc
retf
and eax, 0x7004029f
imul eax, dword [ecx - 0xa2e4a55], 0xffffffdd
mov ebp, 0xe9c52992
jnp 0x620fd9
loopne 0x620f83
ret
xchg edi, eax
mov dword [0x84ddb641], eax
mov edi, 0xc13266db
xor al, cl
jl 0x620f9d
dec eax
sub eax, 0x3d0d9f18
inc edx
insd dword es:[edi], dx
loope 0x620fe1
or byte [ebp - 0x468c2752], 0xfe
popfd
or dword [edi], eax
setle cl
add dword [edx], ecx
jne 0x621051
salc
cmp al, 0x1f
pop edi
stc
xlatb
into
mov es, word [ecx]
jne 0x621041
mov ch, 0xcb
inc esp
dec edi
loop 0x620fa2
sbb al, 0x45
popfd
dec edx
in eax, dx
rol byte [0x57db451a], 6
jo 0x621051
in eax, 0x14
pop ss

Function at 0x64dd7d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x658358
cmp edx, dword [eax]
je 0x64dd9f
add eax, 8
inc ecx
cmp eax, 0x6583e8
jl 0x64dd90
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x658358]
jne 0x64decd
mov eax, dword [0xa5bcc0]
cmp eax, 1
je 0x64dea7
test eax, eax
jne 0x64ddd0
cmp dword [0x658284], 1
je 0x64dea7
cmp edx, 0xfc
je 0x64decd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64de07
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e760
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064ebf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64de4a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064ebf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x653cf4
push edi
call fcn.00650ac0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e760
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e770
lea eax, [ebp - 0xa0]
push 0x653cd4
push eax
call fcn.0064e770
push dword [esi + 0x65835c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e770
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650a34
add esp, 0x2c
pop edi
jmp 0x64decd
lea eax, [ebp + 8]
lea esi, [esi + 0x65835c]
push 0
push eax
push dword [esi]
call fcn.0064ebf0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x401bd7
pop dword [ebp - 0x2c]
mov eax, 0x4af70aa3
sub eax, 0x4ab6eecc
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x6df2c5cb
add dword [ebp - 0x3c], 0xe05f7f80
mov dword [ebp - 0x38], 0x82f439be
sub dword [ebp - 0x38], 0x50c0ed79
mov dword [ebp - 0x34], 0x9d5231b3
sub dword [ebp - 0x34], 0x5105ed85
mov dword [ebp - 0x30], 0x28c76f32
add dword [ebp - 0x30], 0xd73890ce
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xc3d09f52
sub eax, 0xc3902ef2
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x665e7893
add dword [ebp - 0x3c], 0xe13f0c3
mov dword [ebp - 0x38], 0x2d5fefd6
add dword [ebp - 0x38], 0x140c719f
mov dword [ebp - 0x34], 0xa1ba5992
sub dword [ebp - 0x34], 0x3e4aed26
mov dword [ebp - 0x30], 0x71f99b26
sub dword [ebp - 0x30], 0x71f99b26
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x87beaca8
sub eax, 0x877e3ba8
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37fa3
push 0
call eax
mov ecx, 0x350945c
sub ecx, 0x35046c0
xor edx, edx
add edx, eax
mov ebx, 0x410000
add ebx, dword [ebp - 0x2c]
mov edi, 0x13b3ccee
add edi, 0xc3578040
sub dword [ebp - 0x28], edi
mov esi, dword [ebx]
sub dword [ebp - 0x1c], 0xe300a471
xor esi, edi
mov dword [edx], esi
sub dword [ebp - 0xc], 0x1f699725
add edx, 4
add ebx, 4
loop 0x401cf5
add eax, 0x12943
mov ebx, eax
add eax, 0xe63866f4
sub eax, 0xe63866ef
mov ecx, 0xf2f5b408
add ecx, 0xd4a4bf8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10019c8
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x88]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
call fcn.0100330b
test eax, eax
jne 0x10019f5
mov dword [ebp - 4], 0x8007000e
jmp 0x1001aa4
push 0x10012a8
push ebx
push 1
call fcn.010031e3
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call edi
cmp eax, ebx
mov dword [esi + 8], eax
je 0x1001a90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001a28
mov dword [ebp - 4], 0x80158190
jmp 0x1001a97
push 0x1001248
push ebx
push 1
call fcn.010031e3
push eax
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x1001a90
push ebx
push 0x10000
push 0x10013fc
lea ecx, [esi + 0x14]
call fcn.01003f3f
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1001a97
push 0x10011e8
push ebx
mov dword [ebp - 8], 1
call fcn.010031e3
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
call edi
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x1001a90
push 0x1001188
push ebx
call fcn.010031e3
push eax
call edi
cmp eax, ebx
mov dword [esi + 0x48], eax
jne 0x1001aed
mov dword [ebp - 4], 0x8007000e
lea eax, [esi + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 8]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1001ab7
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1001ac4
push eax
call edi
mov dword [esi + 0xc], ebx
cmp dword [ebp - 8], ebx
je 0x1001ad1
lea ecx, [esi + 0x14]
call fcn.0100417c
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x1001ade
push eax
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x1001b14
push eax
call edi
mov dword [esi + 0x48], ebx
jmp 0x1001b14
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi + 0x10], eax
call edi
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x74], eax
mov dword [esi + 4], 1
call edi
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001b21
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
push edi
xor ebx, ebx
jmp 0x1001b3c
mov eax, dword [eax]
inc ebx
cmp eax, ecx
jne 0x1001b39
cmp ebx, dword [esi + 0x54]
ja 0x1001b4d
test ebx, ebx
jne 0x1001bdd
push 0x1001308
lea edi, [ebx + ebx*4]
lea edi, [edi*8 + 8]
push edi
push 0
push 4
call fcn.010031e3
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [ebp - 8], eax
jne 0x1001b83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001c35
push edi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x1001bad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001c35
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1001bbf
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [esi + 0x50], 0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1001bd1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x4c], 0
mov eax, dword [ebp - 8]
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], ebx
mov edi, dword [esi + 0x50]
push 0xffffffffffffffff
push dword [esi + 0x48]
lea eax, [edi + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 8], 0
test ebx, ebx
mov dword [edi + 4], ebx
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov edi, dword [esi + 0x80]
jbe 0x1001c2a
lea eax, [esi + 0x80]
cmp edi, eax
je 0x1001c2a
push dword [ebp - 4]
lea ecx, [edi - 4]
call fcn.01001904
add dword [ebp - 4], 0x28
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
mov edi, dword [edi]
jb 0x1001c07
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1002545
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 4], 1
mov dword [ebp - 8], esi
jne 0x1002644
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [edi + 0x34]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10025a0
mov ecx, edi
call fcn.01001997
test eax, eax
jne 0x1002594
mov dword [edi + 4], 2
jmp 0x100262e
mov ecx, edi
call fcn.010024f9
jmp 0x100262e
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x14]
call fcn.01004300
cmp eax, 0x80158100
jne 0x10025e0
test esi, esi
je 0x10025c9
push esi
call fcn.01001607
pop ecx
push dword [ebp - 4]
call fcn.010015e9
mov esi, eax
test esi, esi
pop ecx
je 0x1002643
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x10025a0
test eax, eax
jl 0x1002638
cmp dword [ebp - 4], 0
je 0x10025a0
mov eax, dword [esi]
dec eax
je 0x1002614
dec eax
je 0x1002605
dec eax
dec eax
jne 0x100262e
call ebx
push esi
mov ecx, edi
mov dword [edi + 0x74], eax
call fcn.01002040
jmp 0x1002621
call ebx
push esi
mov ecx, edi
mov dword [edi + 0x74], eax
call fcn.0100248c
jmp 0x1002621
call ebx
push esi
mov ecx, edi
mov dword [edi + 0x74], eax
call fcn.01002221
push dword [esi + 4]
push eax
lea eax, [esi + 8]
push eax
call fcn.010017b7
cmp dword [edi + 4], 1
je 0x1002567
test esi, esi
je 0x1002643
push esi
call fcn.01001607
pop ecx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x1003acd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100502c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
je 0x1003b53
cmp dword [ecx + 8], 0
je 0x1003b53
lea edx, [ebp - 0x214]
push edx
lea edx, [ebp - 0x210]
push edx
lea edx, [ebp - 0x218]
push edx
push 0
push eax
push dword [ecx + 0xc]
mov dword [ebp - 0x214], 0x106
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003b53
mov eax, dword [ebp - 0x214]
shr eax, 1
cmp eax, dword [esi]
ja 0x1003b51
test edi, edi
je 0x1003b51
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x214]
shr eax, 1
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x1003b55
mov dword [esi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01002dbd
leave
ret 0xc
Function at 0x1003d694
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 8]
je 0x1003d6a5
pop ebp
jmp fcn.100635a0
push 5
call fcn.100649b2
pop ebp
ret 8

Function at 0x10042ae0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x10042b2e
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x10042b08
cmp edx, 1
je 0x10042b4f
cmp edx, 2
je 0x10042b46
cmp edx, 3
jne 0x10042b5a
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x10043f74
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x804
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x10043ffc
mov edi, edx
mov esi, ecx
mov eax, 0x800
lea ebx, [ebp - 0x810]
push eax
push 0xff
push ebx
call fcn.101db130
add esp, 0xc
call fcn.1001f412
mov ecx, dword [eax]
or ecx, 2
push dword [ebp + 8]
push 0
push edi
mov edx, 0x800
push edx
push ebx
push dword [eax + 4]
push ecx
call fcn.101f61b2
add esp, 0x1c
lea eax, [esi - 1]
cmp eax, 3
ja 0x10043ff5
push dword [esi*4 + 0x10211310]
call fcn.101f61b2
add esp, 4
push ebx
push 0x10211310
push eax
call fcn.1002c4cc
add esp, 0xc
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
add esp, 0x804
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100441a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x102440c0]
mov ecx, dword [0x1028ef04]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x100441ef
mov esi, dword [0x102440bc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x102440c0
call fcn.101f61b2
add esp, 4
cmp dword [0x102440c0], 0xffffffff
jne 0x100441d6
pcmpeqd xmm0, xmm0
mov esi, esp
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov dword [esi + 0x20], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x102440bc], eax
push 0x102440c0
call fcn.101f61b2
add esp, 4
jmp 0x100441d6
Function at 0x10080fbd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21c]
push 0x20c
push 0xff
push edi
call fcn.101db130
add esp, 0xc
mov dword [edi - 0xc], edi
mov dword [edi - 8], edi
lea ecx, [ebp - 0x14]
mov dword [edi - 4], ecx
mov eax, 0x104
mov esi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ebx, edi
mov edx, ecx
sub edx, ebx
sar edx, 1
cmp edx, eax
jae 0x1008102c
add eax, eax
lea ecx, [ebp - 0x228]
push 2
push eax
push edi
call fcn.10081f78
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
sub ecx, ebx
sar ecx, 1
push ebx
push ecx
call esi
test eax, eax
je 0x10081070
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov edx, ecx
sub edx, ebx
sar edx, 1
cmp eax, edx
ja 0x10081005
lea ecx, [ebx + eax*2]
mov dword [ebp - 0x224], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, 0xfde9
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1008153e
add esp, 0xc
jmp 0x10081083
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.1007f423
add esp, 8
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x10081096
push eax
call fcn.101f61b2
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
mov eax, esi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret