joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c45f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41c4a1
call fcn.0042356c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41c4a1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41c498
xor eax, eax
jmp 0x41c4a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041c4af
pop edi
pop esi
pop ebx
ret 4

Function at 0x41f236
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x41f253
cmp dword [0x43694c], edi
jne 0x41f3a5
cmp word [0x436958], di
mov dword [0x43694c], 1
jne 0x41f285
push 0x428ee4
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [0x436954], eax
mov word [0x436958], cx
cmp word [0x436958], 2
jne 0x41f2c1
push 0x428ed0
push 0x428ec8
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x41f2c1
mov ecx, dword [0x436954]
cmp ecx, edi
je 0x41f2c1
push edi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x436950], eax
jmp 0x41f3aa
push 0x94
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.00407ef0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
mov dword [0x436950], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41f3a5
cmp dword [ebp - 0x8c], 1
je 0x41f315
cmp dword [ebp - 0x8c], 2
jne 0x41f3a5
cmp dword [ebp - 0x98], 4
jae 0x41f384
lea eax, [ebp + 8]
push eax
push 1
push edi
push 0x428eb0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f3a5
lea eax, [ebp - 4]
mov dword [ebp - 4], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x428e9c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f379
push 0xa
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.004090d0
add esp, 0xc
mov dword [0x436950], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f3a5
cmp dword [ebp - 0x8c], 2
jne 0x41f3a5
cmp dword [ebp - 0x98], 4
jb 0x41f3a5
push edi
push 0x436950
push edi
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [0x436950]
pop edi
leave
ret
Function at 0x42033c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x7c], 0
je 0x420380
push dword [ebp + 8]
call fcn.00423be3
mov esi, eax
test esi, esi
je 0x4203ab
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x4203ab
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push 0x428234
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [esi + 0x90]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
leave
ret 0xc

Function at 0x423381
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4263ea
call fcn.00407810
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CNoTrackObject.0
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.0041805d
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.0041805d
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00417e80
mov ecx, dword [ebp - 0xc]
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x419b01
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42383f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x42386f
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x4238f9
cmp dword [esp + 0x14], ebx
je 0x4238f9
cmp esi, ebx
jne 0x423895
push 0x10
call fcn.0042365c
cmp eax, ebx
je 0x423884
mov dword [eax], 0x428214
mov esi, eax
jmp 0x423886
xor esi, esi
push esi
lea ecx, [edi + 0x14]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004235fe
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x4238ac
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4238bc
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x4238c8
call fcn.00417cb8
mov eax, dword [esi + 8]
mov ecx, eax
imul ecx, ecx, 0x3fffffff
add ecx, dword [edi + 0xc]
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
push ebx
lea eax, [ecx + eax*4]
push eax
call fcn.00407ef0
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8
Function at 0x42392f
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
mov ebx, ecx
pop edi
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jle 0x423982
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x423965
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + edi*8 + 4], eax
je 0x423965
mov eax, dword [esi + 0xc]
cmp dword [eax + edi*4], 0
je 0x42397c
and dword [ebp - 4], 0
jmp 0x42397c
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x423975
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xc]
and dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jl 0x423946
cmp dword [ebp - 4], 0
je 0x4239b0
push esi
lea ecx, [ebx + 0x14]
call fcn.00423611
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x4239a6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x77172f
Capabilities:
Terminate process

Disassembly:
test byte [ebp - 0x40], 1
jne 0x771aae
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x770000
call fcn.007710ad
mov dword [0x773014], eax
cmp dword [0x773008], ebx
jne 0x771ae7
push eax
call dword [sym.imp.msvcrt.dll_exit]
nop
nop
nop
nop
nop
call fcn.007716a0
push 0x5c
push 0x771840
call fcn.0077164e
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x773024
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x771a60
xor esi, esi
inc esi
mov eax, dword [0x773020]
cmp eax, esi
je 0x771a7f
mov eax, dword [0x773020]
test eax, eax
jne 0x771875
mov dword [0x773020], esi
push 0x77183c
push 0x771830
call fcn.00771885
pop ecx
pop ecx
test eax, eax
jne 0x771b0a
mov eax, dword [0x773020]
cmp eax, esi
jne 0x7717e2
push 0x77182c
push 0x771824
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x773020], 2
cmp dword [ebp - 0x20], ebx
jne 0x7717ef
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x773368], ebx
jne 0x771a8c
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x771b0a
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x7718a9
cmp cx, 0x22
je 0x771868
inc eax
inc eax
jmp 0x77180a
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x771820
mov dword [0x77336c], esi
jmp 0x7717be
cmp cx, bx
je 0x7718b7
cmp dword [ebp - 0x1c], ebx
jne 0x77181a
movzx ecx, word [eax]
cmp cx, bx
je 0x7711d4
cmp cx, 0x20
ja 0x7711d4
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x7718b7
cmp eax, esi
jne 0x771a6f
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x771785
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x771771
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x7717be
push 0x773368
call fcn.00771d9f
pop ecx
test eax, eax
je 0x7717fb
push ebx
push 2
push ebx
call dword [0x773368]
jmp 0x7717fb
movzx ecx, word [ebp - 0x3c]
jmp 0x7711e1
cmp dword [0x77336c], ebx
jne 0x771af5
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x773014]
jmp 0x771b16
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00771a4c
ret
Function at 0x419250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
mov eax, 1
test eax, eax
je 0x419310
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4192f5
mov edx, dword [ebp - 8]
add edx, 0xb
mov dword [ebp - 8], edx
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 0
jmp 0x4192a8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx - 0x14]
jae 0x4192f3
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx - 0x15]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 4]
xor edx, ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 2]
xor edx, ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 3]
xor edx, ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov byte [edx], cl
jmp 0x41929f
jmp 0x419310
sbb eax, esi
inc ebp
inc dword [ecx]
mov byte [ebp - 1], 1
jmp 0x419303
call 0x419308
pop dword [ebp - 8]
jmp 0x419261
mov dword [ebp - 0x14], 0xd3965042
aam 0x37
pop esi
cdq
mov ebx, 0x1815dc7a
cmp dword [edx + 0x2ff05378], ebx
pop ecx
test al, 0xd7
je 0x4192e1
jo 0x4192f4
mov ch, 0x85
push esp
cld
push ebp
sbb al, 0xda
jg 0x41932d
dec esi
pushal
xchg byte [eax], dl
shr byte [eax + 0x7f9cbdf2], 1
sub dl, al
pushfd
hlt
Function at 0x41af00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4595a0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xdc
mov eax, dword [0x46c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [0x487698], eax
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x5f], 0
mov ecx, 1
test ecx, ecx
je 0x41affb
movzx edx, byte [ebp - 0x5f]
test edx, edx
je 0x41afe0
mov eax, dword [ebp - 0x5c]
add eax, 0xb
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0xe4]
push ecx
push 0x40
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x6c], 0
jmp 0x41af93
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax - 0x14]
jae 0x41afde
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx - 0x15]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx - 4]
xor eax, edx
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx - 2]
xor eax, edx
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx - 3]
xor eax, edx
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x6c]
mov byte [eax], dl
jmp 0x41af8a
jmp 0x41affb
mov byte [ebp - 0x5f], 1
jmp 0x41afee
call 0x41aff3
pop dword [ebp - 0x5c]
jmp 0x41af45
push 0x16
push 0xca441aff
or al, 1
pushfd
mov gs, word [edi + eax - 0xa]
pop ebx
add cl, byte [edx + 0x2f19631e]
sbb dword [edi], ebp
mov byte [0xfd9c7264], al
pop ds
je 0x41b00e
pop ebx
add cl, byte [eax - 0x1ae556e2]
imul ebp, dword [ebp + 0xeec9c62], 0x65
neg byte [ebx + 2]
xchg dword [esi], ebx
jbe 0x41b041
cmp bh, byte [edx - 0x2463ab84]
cmp dword [edx - 0xa], edx
pop ebx
add cl, byte [ecx + 0x1c1a501e]
xchg edx, eax
push esp
inc ebp
pushfd
retf 0x4328

Function at 0x430040
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43005d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x430064
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x43007b
mov ecx, dword [ebp - 4]
push ecx
call fcn.00423bc0
add esp, 4
or eax, 0xffffffff
jmp 0x43007d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x7636d9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 0
jne 0x76370e
mov dword [ebp - 4], 0
jmp 0x763793
cmp dword [ebp - 0x88], 2
jne 0x763768
cmp dword [ebp - 0x94], 4
ja 0x763729
mov dword [ebp - 4], 4
jmp 0x763766
cmp dword [ebp - 0x94], 5
jne 0x76375f
cmp dword [ebp - 0x90], 0
jne 0x763744
mov dword [ebp - 4], 5
jmp 0x76375d
cmp dword [ebp - 0x90], 1
jne 0x763756
mov dword [ebp - 4], 6
jmp 0x76375d
mov dword [ebp - 4], 7
jmp 0x763766
mov dword [ebp - 4], 8
jmp 0x763793
cmp dword [ebp - 0x90], 0
jne 0x76377a
mov dword [ebp - 4], 1
jmp 0x763793
cmp dword [ebp - 0x90], 0xa
jne 0x76378c
mov dword [ebp - 4], 2
jmp 0x763793
mov dword [ebp - 4], 3
cmp dword [ebp + 8], 0
je 0x7637c0
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
push 0x76160c
mov ecx, dword [ebp + 8]
push ecx
call dword [fcn.007930f0]
add esp, 0x14
mov dl, byte [ebp - 4]
mov byte [0x75dd5e], dl
cmp dword [ebp - 4], 0
je 0x7637db
cmp dword [ebp - 4], 1
je 0x7637db
cmp dword [ebp - 4], 4
jne 0x7637e2
mov eax, 0x1a0
jmp 0x7637e4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x763e3f
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00763faf
add esp, 8
push 0x761618
lea edx, [ebp - 0x100]
push edx
call fcn.00763ff4
add esp, 8
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x763ea0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x763fab
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x76161c
lea edx, [ebp - 0x100]
push edx
call dword [fcn.007930f0]
add esp, 0x10
mov eax, dword [ebp - 0x240]
and eax, 0x10
test eax, eax
je 0x763f23
push 0x761624
lea ecx, [ebp - 0x214]
push ecx
call fcn.00764042
add esp, 8
test eax, eax
je 0x763efd
push 0x761628
lea edx, [ebp - 0x214]
push edx
call fcn.00764042
add esp, 8
test eax, eax
jne 0x763eff
jmp 0x763f51
mov eax, dword [ebp + 0x10]
push eax
push 1
lea ecx, [ebp - 0x100]
push ecx
call fcn.00763e3f
add esp, 0xc
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x763f21
jmp 0x763fab
jmp 0x763f51
push 0x80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x763f51
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x763fab
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x763ea0
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x244]
push eax
call fcn.0077b802
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x763fa2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x763fa2
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x763fab
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x7643f4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x764426
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x7931dc], eax
cmp dword [0x7931dc], 0
jne 0x76441e
mov eax, 0x2da
jmp 0x76444e
mov eax, dword [0x7931dc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x76444c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x258
jmp 0x76444e
xor eax, eax
pop ebp
ret
Function at 0x76445f
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov ax, word [0x76162c]
mov word [ebp - 0x168], ax
mov byte [ebp - 0x178], 0x4d
mov byte [ebp - 0x177], 0x69
mov byte [ebp - 0x176], 0x63
mov byte [ebp - 0x175], 0x72
mov byte [ebp - 0x174], 0x6f
mov byte [ebp - 0x173], 0x63
mov byte [ebp - 0x172], 0x6f
mov byte [ebp - 0x171], 0x73
mov byte [ebp - 0x170], 0x6d
mov byte [ebp - 0x16f], 0
push 0xe8
lea ecx, [ebp - 0x164]
push ecx
push 0x761630
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x7644db
jmp 0x7646c1
lea edx, [ebp - 0x164]
push edx
call fcn.00764249
add esp, 4
movsx eax, byte [ebp + eax - 0x165]
cmp eax, 0x5c
je 0x76450b
push 0x761640
lea ecx, [ebp - 0x164]
push ecx
call fcn.00763ff4
add esp, 8
push 0x75c178
call fcn.00763825
add esp, 4
lea edx, [ebp - 0x178]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.00763ff4
add esp, 8
lea ecx, [ebp - 0x164]
push ecx
call fcn.0076408c
add esp, 4
test eax, eax
jne 0x764565
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.007640ac
add esp, 8
cmp dword [ebp - 0x180], 0
jne 0x764565
jmp 0x7646c1
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.00763ff4
add esp, 8
push 0x761644
lea eax, [ebp - 0x164]
push eax
call fcn.00763ff4
add esp, 8
lea ecx, [ebp - 0x17c]
push ecx
push 0x80
push 0xc0000000
push 4
lea edx, [ebp - 0x164]
push edx
call fcn.00763c60
add esp, 0x14
cmp dword [ebp - 0x17c], 0xffffffff
jne 0x7645bf
jmp 0x7646c1
push 0x75c178
call fcn.00763a2c
add esp, 4
push 2
push 0
push 0
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x7645ff
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
call fcn.00763dd9
add esp, 8
jmp 0x7646c1
push 0x761654
lea eax, [ebp - 0x16c]
push eax
call fcn.00763faf
add esp, 8
mov ecx, dword [0x75e844]
shr ecx, 0x10
push ecx
mov edx, dword [0x75e844]
and edx, 0xffff
push edx
mov eax, dword [0x75e848]
push eax
mov ecx, dword [0x75d8c0]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x16c]
push eax
movsx ecx, byte [0x75df87]
push ecx
movsx edx, byte [0x75df88]
push edx
movsx eax, byte [0x75df89]
push eax
movsx ecx, word [0x75df8c]
push ecx
movsx edx, byte [0x75df8b]
push edx
movsx eax, byte [0x75df8a]
push eax
push 0x761658
lea ecx, [ebp - 0x64]
push ecx
call dword [fcn.007930f0]
add esp, 0x38
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00764249
add esp, 4
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
call fcn.00763d29
add esp, 0x10
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.00763dd9
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x778141
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [0x7930d4], 0x781274
mov dword [0x793180], 0x781274
mov dword [0x79312c], 0x790265
mov dword [ebp - 0x28], 0x792d7a
mov edx, dword [ebp + 8]
mov dword [edx + 0x1e07], 0x79028b
mov eax, dword [0x7930d4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
xor edx, edx
div dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [0x7930d4], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x30]
mov dword [0x7931a8], edx
push 0x7930a8
push 0x40
mov eax, dword [0x7931a8]
push eax
mov ecx, dword [0x7930d4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x778210
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1748], eax
mov eax, 0x1ed
jmp 0x778315
mov dword [ebp - 0x30], 0
jmp 0x778222
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x64
jae 0x778245
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1e07]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [edx + eax]
cmp ecx, 0xc3
jne 0x778243
jmp 0x778245
jmp 0x778219
cmp dword [ebp - 0x30], 0x64
jne 0x778255
mov eax, 0x1f3
jmp 0x778315
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e07]
mov ecx, dword [ebp - 0x30]
lea edx, [eax + ecx + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1e07], edx
mov ecx, dword [ebp + 8]
mov edx, 0x792d7a
sub edx, dword [ecx + 0x1e07]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1e0b], edx
mov dword [ebp - 0x30], 0
jmp 0x77829a
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x64
jae 0x7782b5
mov edx, dword [0x793180]
add edx, dword [ebp - 0x30]
cmp dword [edx], 0x9bd7edd9
jne 0x7782b3
jmp 0x7782b5
jmp 0x778291
cmp dword [ebp - 0x30], 0x64
jne 0x7782c2
mov eax, 0x1f4
jmp 0x778315
jmp 0x7782cd
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x64
jae 0x7782ec
mov ecx, dword [0x793180]
add ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xcc
jne 0x7782ea
jmp 0x7782ec
jmp 0x7782c4
cmp dword [ebp - 0x30], 0x64
jne 0x7782f9
mov eax, 0x1f4
jmp 0x778315
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x793180]
lea edx, [ecx + eax + 1]
mov dword [0x793180], edx
mov byte [0x79311c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret