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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ccd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041fa40
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x424fa6
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 8], 0x71c71c7
je 0x4250d8
lea eax, [edi + 4]
mov dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.0045a030
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x424ff1
call fcn.00459ce7
test eax, eax
je 0x4250e2
call eax
mov eax, dword [ebx]
lea ecx, [esi + 8]
push dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x18], esi
call fcn.00413250
mov dword [ebp - 4], 2
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b2a30]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b2a30]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x42506d
mov ecx, edi
call fcn.004217d0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041fa40
mov edx, dword [eax]
jmp 0x425070
mov edx, dword [ebp - 0x24]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x4250a2
mov dword [ecx + eax*8], esi
jmp 0x4250b1
cmp edi, edx
jne 0x4250ab
mov dword [ecx + eax*8], esi
jmp 0x4250b5
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4250b5
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.0045952e
lea ecx, [ebp - 0x30]
call fcn.0041efb0
push 0x4b8874
lea eax, [ebp - 0x30]
push eax
call fcn.0046385c
int3
Function at 0x425260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x48cd50
push eax
mov dword fs:[0], esp
sub esp, 0x24
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x42528d
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4252b2
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4252a0
push esi
push edx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00417c20
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4252e2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 8], 0x4924924
je 0x425418
lea eax, [ebx + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x18], 0
call fcn.0045a030
mov edi, eax
add esp, 4
test edi, edi
jne 0x425329
call fcn.00459ce7
test eax, eax
je 0x425422
call eax
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov dword [ebp - 0x18], edi
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.00413250
mov byte [ebp - 4], 1
lea ecx, [edi + 0x20]
push dword [ebp + 0x10]
call fcn.00413250
mov dword [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b2a30]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b2a30]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x4253ad
mov ecx, ebx
call fcn.00421770
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00417c20
mov edx, dword [eax]
jmp 0x4253b0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov dword [ebp - 0x18], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4253df
mov dword [ecx + eax*8], edi
jmp 0x4253f1
cmp esi, edx
jne 0x4253e8
mov dword [ecx + eax*8], edi
jmp 0x4253f5
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4253f5
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.0045952e
lea ecx, [ebp - 0x30]
call fcn.0041efb0
push 0x4b8874
lea eax, [ebp - 0x30]
push eax
call fcn.0046385c
int3
Function at 0x425440
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0x10
mov ebx, dword [esi + 0x10]
jb 0x42545b
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x425477
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x425466
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edx
push esi
push eax
mov ecx, ebx
call fcn.00417c20
mov eax, dword [eax + 4]
test eax, eax
jne 0x425491
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 4]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429b50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x429b5b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00429b70
Function at 0x45aac0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push 0x40
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0
push str.mimalloc_
push eax
call fcn.0046ae20
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x40
mov byte [ebp - 4], 0
push dword [ebx + 0xc]
push eax
call fcn.0046ace0
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 0x88], 0
push 0x41
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x3f
ja 0x45abf9
push esi
lea esi, [ebp - 0x88]
push edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x45ab30
sub esi, ecx
xor edi, edi
cmp esi, 0x41
jb 0x45ab45
lea esi, [edi + 0x40]
jmp 0x45ab50
test esi, esi
je 0x45ab6a
nop dword [eax]
movsx eax, byte [ebp + edi - 0x88]
push eax
call fcn.004695bf
mov byte [ebp + edi - 0x44], al
add esp, 4
inc edi
cmp edi, esi
jb 0x45ab50
mov byte [ebp + esi - 0x44], 0
cmp byte [ebp - 0x44], 0
pop edi
pop esi
je 0x45ac05
lea eax, [ebp - 0x44]
push eax
push str.1_TRUE_YES_ON
call fcn.004656f0
add esp, 8
test eax, eax
jne 0x45ac05
lea eax, [ebp - 0x44]
push eax
push str.0_FALSE_NO_OFF
call fcn.004656f0
add esp, 8
test eax, eax
je 0x45abb7
mov dword [ebx], 0
mov dword [ebx + 4], 2
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 0xa
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0046b7a0
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp byte [ecx], 0
jne 0x45abe5
mov dword [ebx], eax
mov dword [ebx + 4], 2
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0xc]
push str.environment_option_mimalloc__s_has_an_invalid_value:__s_n
call fcn.0045a9c0
add esp, 0xc
mov dword [ebx + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx], 1
mov dword [ebx + 4], 2
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ad10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
mov esi, dword [ebp + 8]
shl esi, 4
add esi, 0x4bc030
cmp dword [esi + 4], 0
jne 0x45ae62
push 0x40
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0
push str.mimalloc_
push eax
call fcn.0046ae20
push 0x40
push dword [esi + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0
push eax
call fcn.0046ace0
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 0x88], 0
push 0x41
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x3f
ja 0x45ae5b
push ebx
push edi
lea edi, [ebp - 0x88]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x45ad90
sub edi, ecx
xor ebx, ebx
cmp edi, 0x41
jb 0x45ada5
lea edi, [ebx + 0x40]
jmp 0x45adb0
test edi, edi
je 0x45adca
nop dword [eax]
movsx eax, byte [ebp + ebx - 0x88]
push eax
call fcn.004695bf
mov byte [ebp + ebx - 0x44], al
add esp, 4
inc ebx
cmp ebx, edi
jb 0x45adb0
mov byte [ebp + edi - 0x44], 0
cmp byte [ebp - 0x44], 0
pop edi
pop ebx
je 0x45ae69
lea eax, [ebp - 0x44]
push eax
push str.1_TRUE_YES_ON
call fcn.004656f0
add esp, 8
test eax, eax
jne 0x45ae69
lea eax, [ebp - 0x44]
push eax
push str.0_FALSE_NO_OFF
call fcn.004656f0
add esp, 8
test eax, eax
je 0x45ae19
mov dword [esi], 0
mov eax, dword [esi]
mov dword [esi + 4], 2
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 0xa
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0046b7a0
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp byte [ecx], 0
jne 0x45ae47
mov dword [esi], eax
mov dword [esi + 4], 2
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0xc]
push str.environment_option_mimalloc__s_has_an_invalid_value:__s_n
call fcn.0045a9c0
add esp, 0xc
mov dword [esi + 4], 1
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi], 1
mov eax, dword [esi]
mov dword [esi + 4], 2
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45fae0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45fafc
mov dword [0x4bc9f0], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45fb08
mov dword [0x4bc9f4], eax
push ebx
push esi
push edi
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x45fb49
push str.VirtualAlloc2FromApp
push esi
call edi
mov dword [0x4ca7cc], eax
test eax, eax
jne 0x45fb46
push str.VirtualAlloc2
push esi
call edi
mov dword [0x4ca7cc], eax
push esi
call ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x45fb6a
push str.NtAllocateVirtualMemoryEx
push esi
call edi
push esi
mov dword [0x4ca7d0], eax
call ebx
push 6
call fcn.0045ae80
add esp, 4
test al, al
jne 0x45fb8a
push 7
call fcn.0045ae80
add esp, 4
test al, al
je 0x45fc31
cmp dword [0x4ca7c8], 0
ja 0x45fc31
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45fc1f
lea eax, [ebp - 0x10]
push eax
push str.SeLockMemoryPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ebx, eax
test ebx, ebx
je 0x45fc0e
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, eax
test ebx, ebx
je 0x45fc0e
call edi
mov esi, eax
xor ebx, ebx
test esi, esi
sete bl
test esi, esi
jne 0x45fc0e
call dword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
mov dword [0x4ca7c8], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x45fc31
test esi, esi
jne 0x45fc23
call edi
mov esi, eax
push esi
push str.cannot_enable_large_OS_page_support__error__lu_n
call fcn.0045a9c0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 8]
xor eax, fcn.00460db0
xor eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x11
xor edx, eax
and edx, 0xf
add edx, 1
je 0x460e0c
push esi
mov esi, 0x11
test eax, eax
cmove eax, esi
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul ecx, ecx, 0x7feb352d
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x846ca68b
mov eax, ecx
shr eax, 0x10
xor eax, ecx
sub edx, 1
jne 0x460de0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x461180
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x74
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00463e60
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi], 0x61707865
mov dword [esi + 4], 0x3320646e
mov dword [esi + 8], 0x79622d32
mov dword [esi + 0xc], 0x6b206574
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
shl ecx, 8
movzx eax, byte [edx + 0x1a]
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], eax
pop esi
pop ebp
ret

Function at 0x4622e6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x462325
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x462325
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x462325
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x462325
cmp dword [ecx + 0x74], 0xe
jbe 0x462325
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4624f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x462515
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x46252d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [esi + ebp]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x46255b
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + eax - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x46259a
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x46266e
sub edx, 0x10000
js 0x46266e
movzx eax, word [esi + ecx - 1]
cmp eax, ebx
jne 0x462580
mov eax, dword [esp + 4]
movzx eax, word [eax + ecx]
cmp eax, dword [esp + 0x10]
jne 0x462580
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [edi + eax + 0x108]
lea esi, [esi + eax + 0x108]
mov eax, dword [esi + edx]
xor eax, dword [edi + edx]
jne 0x4625f1
mov eax, dword [esi + edx + 4]
xor eax, dword [edi + edx + 4]
jne 0x4625ee
add edx, 8
jne 0x4625d5
jmp 0x46265f
add edx, 4
test eax, 0xffff
jne 0x4625fe
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edi + edx]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x46265f
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x462632
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x462580
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x46266e
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi + eax - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x462580
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x46267f
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x47b570
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47b59d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47b59d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x482340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d79e
push eax
mov dword fs:[0], esp
sub esp, 0x30
cmp dword [ecx + 0x18], 8
push esi
lea esi, [ecx + 4]
jb 0x482367
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x482374
mov ecx, dword [eax]
push edi
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00411360
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x482395
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4823a2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00411360
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4823bd
mov eax, dword [eax]
push esi
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
pop edi
cmp ecx, 8
jb 0x482405
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4823fc
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48247f
push edx
call fcn.0045a450
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x482451
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x482448
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x48247f
push ecx
call fcn.0045a450
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00469335
int3
Function at 0x482710
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d80d
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x482753
cmp byte [esi + 5], 0
je 0x482745
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 5], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 1
lea eax, [ebp - 0x2c]
mov byte [esi + 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x10], 1
cmp dword [eax + 0x14], 0x10
jb 0x482794
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411360
add esp, 8
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4827b2
mov eax, dword [eax]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4827f9
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x4827f0
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x48284f
push ecx
call fcn.0045a450
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [esi], eax
jne 0x48282b
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48283c
mov byte [esi + 4], 1
mov ecx, dword [ebp - 0xc]
mov al, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.00469335
int3