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

Disassembly:
mov eax, 0x4370f0
call fcn.0040a9d0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0043320d
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4220c9
call fcn.0043320d
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4220d7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4220e5
or eax, 0xffffffff
jmp 0x4221cd
mov ecx, esi
call fcn.00422000
mov dword [ebp - 0x14], eax
call fcn.0041e3b3
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x42211c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42211c
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041e367
push dword [ebp - 0x14]
call fcn.0041de99
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00421d98
cmp eax, edi
je 0x42218f
test byte [esi + 0x24], 0x10
je 0x42215d
push 4
mov ecx, esi
pop ebx
call fcn.00420be7
test ah, 1
je 0x422155
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004205cd
cmp dword [esi + 0x1c], edi
je 0x42218f
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00420d58
jmp 0x42218f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4221a3
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4221bc
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4221bc
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0042203a
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x431899
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0043320d
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4318d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4318d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4318da
xor eax, eax
jmp 0x431958
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0041d92c
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x431912
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4318fc
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00431a49
push ebx
mov edi, eax
call fcn.0041d955
test edi, edi
pop ecx
je 0x431954
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00431812
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0043195d
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4336fa
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x433728
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x433746
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00433660
jmp 0x433746
mov eax, dword [esi + 0x14]
test eax, eax
je 0x433746
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00433660
test edi, edi
mov eax, edi
jne 0x433730
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401aa0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401adf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401adf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401adf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401adf
cmp dword [ecx + 0x74], 0xe
jbe 0x401adf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4065fc
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 0x406637
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40661e
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40662f
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x406639
inc edi
add eax, 0x28
cmp edi, esi
jb 0x406614
xor eax, eax
pop edi
pop esi
ret
Function at 0x406e16
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x46fffffc], esi
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004065cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406581
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004065cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406581
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004065cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406581
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004065bc
test eax, 0x80f94d8d
movsd dword es:[edi], dword [esi]
int3
Function at 0x40799f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0040652d
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x4079c9
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x407a12
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x4079bc
call fcn.004065bc
add al, dl
dec edi
rol dword [eax - 0x72b5b], 0xff
add byte [eax - 0x72a5b], al
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004065bc
pop ss
imul ebp, dword [ebx], 0xffffffb8
lea eax, [ebp - 0x72c]
push eax
call fcn.004065cc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406581
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.004065bc
fidiv word [ecx]
xchg edi, eax
or byte [ebp - 0x7177b], 0xff
push eax
push 0x40
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
push 5
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x3a8]
call fcn.0040652d
add esp, 0xc
lea eax, [ebp - 0x718]
push eax
push dword [ebp - 0x718]
push 5
invalid
mov ch, 0x58

Function at 0x408866
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410204
push 0x4101fc
push str.FlsGetValue
push 0x21
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40889d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4088a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41020c
push 0x410204
push str.FlsSetValue
push 0x22
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x80039fd
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043a0], 0x30
mov dword [0x80043a8], 0x80032e8
mov dword [0x80043a4], 2
mov dword [0x80043ac], 0
mov dword [0x80043b0], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003a40
mov dword [0x80043b4], eax
mov dword [0x80043c8], 0x80041d4
mov dword [0x80043c0], 0xf
mov dword [0x80040f6], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043b8], eax
mov dword [0x80043cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040fe], ebp
mov dword [0x80043bc], eax
push 0x80043a0
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004420], eax
push 0
push dword [0x80040f6]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004418], eax
push 1
push dword [0x8004418]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004418]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003afe
xor edi, edi
lea ebx, [0x80043d0]
jmp 0x8003b16
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003b08
jmp 0x8003b2a
mov eax, dword [0x80043d8]
call 0x80029cd
ret
Function at 0x10004737
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004776
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004776
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004776
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004776
cmp dword [ecx + 0x74], 0xe
jbe 0x10004776
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100073ff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000749c
push ebx
push esi
call fcn.100073c8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000735c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007449
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000749b
push edi
push eax
call fcn.100083ba
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10007469
call fcn.10005ea4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000749a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000735c
add esp, 0x20
test eax, eax
jne 0x10007488
push edi
call fcn.10005ea4
jmp 0x10007490
push ebx
call fcn.10005ea4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007709
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f6b0
push 0x1000f6a8
push str.FlsAlloc
push 0x1f
call fcn.10007625
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000773d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e18c]
call esi
jmp 0x10007743
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007787
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f6c0
push 0x1000f6b8
push str.FlsGetValue
push 0x21
call fcn.10007625
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100077be
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e18c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100077c6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f6c8
push 0x1000f6c0
push str.FlsSetValue
push 0x22
call fcn.10007625
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007800
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e18c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0xc2829c2
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0xc2813f0
mov ebx, 0x320
push ebx
xor esi, esi
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0xc2b2bcc], eax
cmp eax, esi
je 0xc2829fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xc282aab
push esi
push esi
push esi
push 2
push dword [0xc2b2bcc]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0xc2b2bc0], eax
cmp eax, esi
je 0xc282aab
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xc2813e0
push 1
push esi
push esi
call edi
mov dword [0xc2b2bb8], eax
cmp eax, esi
je 0xc282aab
push 0xc2813cc
push 1
push esi
push esi
call edi
mov dword [0xc2b2bc8], eax
cmp eax, esi
je 0xc282aab
push 0xc2813bc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0xc2b2bc4], eax
cmp eax, esi
je 0xc282aab
push ebx
call fcn.0c2987c5
mov edi, dword [ebp + 8]
mov dword [edi + 0x98], eax
cmp eax, esi
je 0xc282aae
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [edi + 0x98]
mov dword [ecx], eax
mov eax, dword [edi + 0x98]
push 0x100
add eax, 0x120
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [0xc2b2bbc], 1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov edi, dword [ebp + 8]
push edi
call fcn.0c28292d
mov eax, 0x80004005
jmp 0xc282aa4

Function at 0xc28417d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
test eax, eax
jne 0xc2841a4
mov eax, 0x8007000e
jmp 0xc2841e4
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0xc283c21
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0xc2841da
mov eax, dword [esi + 0x70]
test eax, eax
je 0xc28419d
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x70], edi
jmp 0xc28419d
lea eax, [esi + 0x74]
mov dword [eax], eax
mov dword [esi + 0x78], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0xc284ede
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.0c28ffef
imul eax, eax, 0x19
mov ecx, 0xea60
mov dword [ebp - 8], eax
cmp eax, ecx
jbe 0xc284f06
mov dword [ebp - 8], ecx
push dword [0xc2b2b68]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
mov eax, dword [ebp + 0xc]
push 0x10
push 0
mov ebx, 0xc284dbd
push ebx
push 0
push dword [eax + 8]
push dword [edi + 4]
call fcn.0c29067f
push dword [0xc2b2b68]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], eax
call edi
mov eax, dword [ebp - 4]
test eax, eax
jl 0xc284fb8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
jmp 0xc284fa1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
add eax, 8
push eax
push dword [ebp + 8]
call fcn.0c284dc7
test eax, eax
jne 0xc284fb6
push dword [0xc2b2b68]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
push 0x10
push 0
push ebx
push 0
push dword [eax + 8]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call fcn.0c29067f
push dword [0xc2b2b68]
mov dword [ebp - 4], eax
call edi
mov eax, dword [ebp - 4]
test eax, eax
jl 0xc284fb8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
ja 0xc284f51
mov eax, 0x887700dc
jmp 0xc284fb8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0xc285b76
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xc2b2728]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xc2b24d8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], edx
je 0xc285c6e
and dword [ebp - 0x208], 0
push 0x200
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0c29d59b
test esi, esi
je 0xc285bde
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push edi
push ebx
push dword [ebp - 0x210]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0xc285c5c
cmp dword [ebx], 1
jne 0xc285c5c
test edi, edi
je 0xc285c5c
push eax
push edi
push eax
call fcn.0c29d5d5
cmp dword [esi], eax
jae 0xc285c24
push 0x7a
pop eax
jmp 0xc285c7a
push dword [ebp - 0x208]
call fcn.0c2987c5
mov ebx, eax
test ebx, ebx
jne 0xc285c39
push 8
jmp 0xc285c21
push dword [ebp - 0x208]
push edi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [esi]
push ebx
push edi
call fcn.0c29d5d5
push ebx
mov dword [esi], eax
call fcn.0c29882d
jmp 0xc285c66
mov eax, dword [ebp - 0x208]
add eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 0x20c]
jmp 0xc285c7a
push esi
push edi
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0c2af3be
leave
ret 0x18
Function at 0xc285c90
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xc2b2728]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor esi, esi
push esi
push esi
push esi
mov dword [ebp - 0x208], ecx
push esi
cmp dword [0xc2b24d8], esi
je 0xc285d11
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x204]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x210], 0x200
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x20c], eax
cmp eax, esi
jne 0xc285d09
push 0x200
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.0c29d5d5
mov dword [ebx], eax
mov eax, dword [ebp - 0x20c]
jmp 0xc285d1d
push ebx
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0c2af3be
leave
ret 0x20

Function at 0xc285ec8
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0xc2b24d8], ebx
je 0xc285f96
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0c2859f1
test eax, eax
jl 0xc285f2d
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0c2859f1
test eax, eax
jl 0xc285f91
push dword [ebp + 0x24]
lea eax, [ebp - 0xc]
push eax
call fcn.0c2859f1
test eax, eax
jge 0xc285f34
push dword [ebp - 4]
call fcn.0c29882d
push dword [ebp - 8]
call fcn.0c29882d
xor eax, eax
jmp 0xc285fbe
push edi
push 0x11
pop ecx
push dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xc]
lea edi, [ebp - 0x50]
push dword [ebp + 0x20]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
pop edi
cmp dword [ebp - 4], ebx
je 0xc285f75
push dword [ebp - 4]
call fcn.0c29882d
cmp dword [ebp - 8], ebx
je 0xc285f82
push dword [ebp - 8]
call fcn.0c29882d
cmp dword [ebp - 0xc], ebx
je 0xc285fbc
push dword [ebp - 0xc]
call fcn.0c29882d
jmp 0xc285fbc
push dword [ebp - 4]
jmp 0xc285f28
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov eax, esi
pop esi
pop ebx
leave
ret 0x28