joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406fc8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e558
cmp edx, dword [eax]
je 0x406fea
add eax, 8
inc ecx
cmp eax, 0x40e5e8
jl 0x406fdb
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e558]
jne 0x407118
mov eax, dword [0x40f208]
cmp eax, 1
je 0x4070f2
test eax, eax
jne 0x40701b
cmp dword [0x40e244], 1
je 0x4070f2
cmp edx, 0xfc
je 0x407118
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407052
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004045c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004075b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407095
lea eax, [ebp - 0x1a4]
push eax
call fcn.004075b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b544
push edi
call fcn.004089f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004045c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004045d0
lea eax, [ebp - 0xa0]
push 0x40b524
push eax
call fcn.004045d0
push dword [esi + 0x40e55c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004045d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408960
add esp, 0x2c
pop edi
jmp 0x407118
lea eax, [ebp + 8]
lea esi, [esi + 0x40e55c]
push 0
push eax
push dword [esi]
call fcn.004075b0
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 0x10001d5d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001db6
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001da7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10001da3
cmp esi, ecx
jae 0x10001da7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10001d91
cmp esi, ecx
jb 0x10001dab
xor eax, eax
jmp 0x10001db5
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x10026696
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002634f

Function at 0x100266a1
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10026428

Function at 0x10030564
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002fd74

Function at 0x1003056f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002ffaf

Function at 0x1004f301
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x14]
mov word [ebp - 0xb], 0x6946
push eax
mov esi, edx
mov dword [ebp - 0x10], 0x6c75646f
xor ebx, ebx
mov dword [ebp - 0x14], 0x4d746547
mov word [ebp - 6], 0x6d61
mov byte [ebp - 0xc], 0x65
mov word [ebp - 3], 0x41
mov word [ebp - 8], 0x4e65
mov byte [ebp - 9], 0x6c
mov byte [ebp - 4], 0x65
call fcn.1004f644
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f35e
push 0x104
push esi
push ebx
call eax
mov ebx, eax
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004f366
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
call fcn.1004f5df
mov esi, eax
test esi, esi
je 0x1004f3c5
lea eax, [ebp - 0x10]
mov word [ebp - 4], 0x7845
push eax
push esi
mov byte [ebp - 2], bl
mov dword [ebp - 9], 0x6f6f4874
mov dword [ebp - 0xd], 0x78654e6c
mov word [ebp - 0xf], 0x6c61
mov byte [ebp - 5], 0x6b
mov byte [ebp - 0x10], 0x43
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f3be
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push ebx
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004f3ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov word [ebp - 0xa], 0x6e6f
push eax
mov esi, edx
mov dword [ebp - 0xf], 0x74637572
mov edi, ecx
mov word [ebp - 7], 0x6361
xor ebx, ebx
mov word [ebp - 0x12], 0x736e
mov word [ebp - 4], 0x65
mov byte [ebp - 8], 0x43
mov dword [ebp - 0x17], 0x6873756c
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 5], 0x68
mov byte [ebp - 0x13], 0x49
mov byte [ebp - 0xb], 0x69
call fcn.1004f644
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f438
push dword [ebp + 8]
push esi
push edi
call eax
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004f441
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
inc edi
call fcn.1004f612
mov esi, eax
test esi, esi
je 0x1004f4b0
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x41784565
push eax
push esi
mov dword [ebp - 0xc], 0x756c6156
mov word [ebp - 0x11], 0x7551
mov word [ebp - 0x14], 0x6552
mov word [ebp - 0xf], 0x7265
mov byte [ebp - 0xd], 0x79
mov byte [ebp - 0x12], 0x67
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f4a9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
push str.hvals
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004f4b9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov word [ebp - 9], 0x4e32
push eax
mov esi, edx
mov word [ebp - 0xc], 0x6461
mov edi, ecx
mov dword [ebp - 7], 0x747865
xor ebx, ebx
mov byte [ebp - 0xa], 0x33
mov word [ebp - 0xf], 0x7268
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0x10], 0x54
call fcn.1004f644
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f507
push esi
push edi
call eax
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004f510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xd], 0x33646165
push eax
mov esi, edx
mov word [ebp - 7], 0x7269
mov edi, ecx
mov word [ebp - 4], 0x74
xor ebx, ebx
mov word [ebp - 9], 0x4632
mov word [ebp - 0xf], 0x7268
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 5], 0x73
call fcn.1004f644
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f560
push esi
push edi
call eax
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004f569
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 0x746f6873
push eax
mov edi, edx
mov dword [ebp - 0x1a], 0x65746165
or esi, 0xffffffff
mov word [ebp - 0xe], 0x3233
mov word [ebp - 0x14], 0x6c6f
mov word [ebp - 0x1c], 0x7243
mov word [ebp - 0x11], 0x6c65
mov word [ebp - 0xb], 0x616e
mov word [ebp - 0x16], 0x6f54
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 9], 0x70
mov byte [ebp - 4], 0
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xc], 0x53
call fcn.1004f644
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f5d7
push edi
push 4
call eax
mov esi, eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004f5df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x3233
push eax
mov dword [ebp - 6], 0x6c6c642e
mov word [ebp - 0xb], 0x6573
mov byte [ebp - 2], 0
mov byte [ebp - 0xc], 0x55
mov byte [ebp - 9], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esp, ebp
pop ebp
ret

Function at 0x1004f612
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 7], 0x6c6c64
push eax
mov dword [ebp - 0xb], 0x2e323369
mov word [ebp - 0xd], 0x7061
mov word [ebp - 0x10], 0x6441
mov byte [ebp - 0xe], 0x76
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esp, ebp
pop ebp
ret

Function at 0x1004f644
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 9], 0x6c642e32
push eax
mov word [ebp - 5], 0x6c
mov dword [ebp - 0xf], 0x656e7265
mov word [ebp - 0xb], 0x336c
mov byte [ebp - 0x10], 0x4b
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esp, ebp
pop ebp
ret

Function at 0x1004f6cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
cmp dword [ebp + 0xc], 1
jne 0x1004f77b
push ecx
lea edx, [esp + 0x14]
call fcn.1004f301
pop ecx
lea ecx, [esp + 0x10]
call fcn.10002425
lea edx, [esp]
mov dword [esp + 6], 0x75732074
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0x74726f
mov dword [esp + 1], 0x6174736e
mov word [esp + 0xa], 0x7070
mov byte [esp], 0x69
mov byte [esp + 5], 0x6e
call fcn.10001c5d
test eax, eax
jne 0x1004f7a9
mov edx, sym.gphelper.dll__HookSetWindowPos_28
mov ecx, 0x100867d0
call fcn.100506cd
test eax, eax
je 0x1004f7a9
mov edx, sym.gphelper.dll__HookSetForegroundWindow_4
mov ecx, 0x100866e8
call fcn.100506cd
test eax, eax
je 0x1004f7a9
mov edx, sym.gphelper.dll__HookSetActiveWindow_4
mov ecx, 0x10086768
call fcn.100506cd
test eax, eax
je 0x1004f7a9
mov edx, sym.gphelper.dll__HookBringWindowToTop_4
mov ecx, 0x10086760
call fcn.100506cd
jmp 0x1004f7a9
cmp dword [ebp + 0xc], 0
jne 0x1004f7a9
mov ecx, 0x100867d0
call fcn.1005088c
mov ecx, 0x100866e8
call fcn.1005088c
mov ecx, 0x10086768
call fcn.1005088c
mov ecx, 0x10086760
call fcn.1005088c
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004f83d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
lea eax, [ebp - 0x18]
mov word [ebp - 0x14], 0x4f53
push eax
push 0x20019
push 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xf], 0x5c455241
mov byte [ebp - 0xb], 0
mov word [ebp - 0x11], 0x5754
mov byte [ebp - 0x12], 0x46
call fcn.10001f49
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.10001e7c
pop ecx
mov ecx, eax
call fcn.10001fc1
push eax
push OleUIEditLinksA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10001f44
lea ecx, [ebp - 4]
call fcn.10001f44
test esi, esi
pop esi
jne 0x1004f973
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10006310
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1004f441
add esp, 0x10
test eax, eax
jne 0x1004f96a
cmp dword [ebp - 0x1c], eax
jbe 0x1004f96a
lea ecx, [ebp - 8]
call fcn.10001fad
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1005b194
push eax
call fcn.10002412
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.10001fad
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 4]
push 0x1005a36c
push eax
call fcn.10002412
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.10001fc1
push eax
lea ecx, [ebp - 4]
call fcn.10001f05
test eax, eax
js 0x1004f95a
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.10001f44
lea ecx, [ebp - 8]
call fcn.10001f44
xor eax, eax
inc eax
jmp 0x1004f97c
lea ecx, [ebp - 4]
call fcn.10001f44
lea ecx, [ebp - 8]
call fcn.10001f44
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [0x10086760]
mov esp, ebp
pop ebp
ret 4
Function at 0x1004fb5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x13], 0x5754464f
push eax
push 0x20019
push 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xf], 0x5c455241
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0xb], 0
call fcn.10001f49
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.10001e7c
pop ecx
mov ecx, eax
call fcn.10001fc1
push eax
push OleUIEditLinksA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10001f44
lea ecx, [ebp - 4]
call fcn.10001f44
test esi, esi
pop esi
jne 0x1004fc8d
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10006310
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1004f441
add esp, 0x10
test eax, eax
jne 0x1004fc84
cmp dword [ebp - 0x1c], eax
jbe 0x1004fc84
lea ecx, [ebp - 8]
call fcn.10001fad
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1005b194
push eax
call fcn.10002412
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.10001fad
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 4]
push 0x1005a36c
push eax
call fcn.10002412
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.10001fc1
push eax
lea ecx, [ebp - 4]
call fcn.10001f05
test eax, eax
js 0x1004fc74
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.10001f44
lea ecx, [ebp - 8]
call fcn.10001f44
xor eax, eax
inc eax
jmp 0x1004fc96
lea ecx, [ebp - 4]
call fcn.10001f44
lea ecx, [ebp - 8]
call fcn.10001f44
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [0x100866e8]
mov esp, ebp
pop ebp
ret 4
Function at 0x1004fcea
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
lea eax, [ebp - 0x18]
mov word [ebp - 0x12], 0x5446
push eax
push 0x20019
push 0
push ecx
lea ecx, [ebp - 4]
mov word [ebp - 0xc], 0x5c
mov word [ebp - 0xf], 0x5241
mov word [ebp - 0x14], 0x4f53
mov byte [ebp - 0xd], 0x45
mov byte [ebp - 0x10], 0x57
call fcn.10001f49
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.10001e7c
pop ecx
mov ecx, eax
call fcn.10001fc1
push eax
push OleUIEditLinksA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10001f44
lea ecx, [ebp - 4]
call fcn.10001f44
test esi, esi
pop esi
jne 0x1004fe25
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10006310
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1004f441
add esp, 0x10
test eax, eax
jne 0x1004fe1c
cmp dword [ebp - 0x1c], eax
jbe 0x1004fe1c
lea ecx, [ebp - 8]
call fcn.10001fad
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1005b194
push eax
call fcn.10002412
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.10001fad
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 4]
push 0x1005a36c
push eax
call fcn.10002412
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.10001fc1
push eax
lea ecx, [ebp - 4]
call fcn.10001f05
test eax, eax
js 0x1004fe0c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.10001f44
lea ecx, [ebp - 8]
call fcn.10001f44
xor eax, eax
inc eax
jmp 0x1004fe40
lea ecx, [ebp - 4]
call fcn.10001f44
lea ecx, [ebp - 8]
call fcn.10001f44
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 [0x100867d0]
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x1004fee2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
call fcn.1004f5df
test eax, eax
je 0x1004ff26
lea ecx, [ebp - 0x14]
mov word [ebp - 0xf], 0x6957
push ecx
push eax
mov dword [ebp - 0x14], 0x6e697242
mov dword [ebp - 0xd], 0x776f646e
mov dword [ebp - 7], 0x706f54
mov byte [ebp - 0x10], 0x67
mov word [ebp - 9], 0x6f54
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004ff7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
call fcn.1004f5df
test eax, eax
je 0x1004ffbc
lea ecx, [ebp - 0x10]
mov dword [ebp - 5], 0x776f646e
push ecx
push eax
mov dword [ebp - 0xb], 0x65766974
mov dword [ebp - 0x10], 0x41746553
mov word [ebp - 7], 0x6957
mov byte [ebp - 1], bl
mov byte [ebp - 0xc], 0x63
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10050011
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
call fcn.1004f5df
test eax, eax
je 0x10050060
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x11], 0x65726f46
push ecx
push eax
mov dword [ebp - 5], 0x776f646e
mov dword [ebp - 0xa], 0x57646e75
mov word [ebp - 0x14], 0x6553
mov word [ebp - 0xd], 0x7267
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 1], bl
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xb], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100500b5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
call fcn.1004f5df
test eax, eax
je 0x100500f3
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xf], 0x69577465
push ecx
push eax
mov dword [ebp - 8], 0x736f5077
mov word [ebp - 0xb], 0x646e
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 4], bl
mov byte [ebp - 9], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100503c3
Capabilities:
Resume thread

Disassembly:
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov ebp, eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x100866b4], esi
jbe 0x10050411
mov eax, dword [0x100866b0]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x100866b0]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x100866b4]
jb 0x100503ec
push dword [0x100866b0]
call fcn.1001feca
and dword [0x100866b0], 0
and dword [0x100866b4], 0
pop ecx
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
ret

Function at 0x10050439
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
push esi
push edi
push ecx
push 0
push 0x1fffff
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x100504c9
test esi, esi
je 0x100504c9
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x100504c0
mov dword [ebp - 0x2d0], 0x10001
xor edi, edi
jmp 0x100504ac
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x218], eax
jb 0x100504c9
add eax, dword [ebp + 8]
cmp dword [ebp - 0x218], eax
jae 0x100504c9
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 3
jge 0x100504c0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
inc edi
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1005047a
jmp 0x100504c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10050529
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [0x100866b8], 0x40
jae 0x10050612
push ebp
push esi
mov esi, dword [esp + 0x50]
mov ebp, 0xfff80000
add esi, ecx
add ecx, dword [esp + 0x58]
push edi
cmp ecx, 0x80000000
lea edi, [esp + 0x2c]
push 9
lea eax, [ecx + 0x7ff80000]
cmovb ebp, eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
cmovb edi, eax
cmp edi, ebp
jae 0x1005060f
push 0x1c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100505ea
cmp dword [esp + 0x20], 0x10000
jne 0x100505dc
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x100505e0
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x100505e0
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x100505ee
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add edi, eax
cmp edi, ebp
jb 0x1005058d
test ebx, ebx
je 0x1005060f
xor eax, eax
cmp dword [eax*4 + 0x10086840], 0
je 0x10050602
inc eax
cmp eax, 0x40
jb 0x100505f0
jmp 0x1005060f
inc dword [0x100866b8]
mov dword [eax*4 + 0x10086840], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret
Function at 0x100506cd
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x74
push ebx
mov eax, ecx
xor ebx, ebx
push ebp
push esi
push edi
mov esi, dword [eax]
mov edi, edx
mov dword [esp + 0x24], eax
call fcn.10050690
mov ecx, esi
call fcn.10050653
mov ecx, edi
mov ebp, eax
call fcn.10050653
push 0x58
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.10006310
add esp, 0xc
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.100501d5
mov edi, eax
pop ecx
cmp edi, 5
jb 0x10050878
mov edx, edi
mov ecx, ebp
call fcn.10050260
push dword [esp + 0x34]
mov ecx, ebp
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.10050529
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10050873
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x1c], 0
mov esi, eax
and dword [esp + 0x18], 0
lea eax, [esp + 0x1c]
push eax
push 0x40
push edi
push ebp
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10050857
lea eax, [esp + 0x18]
push eax
push 0x40
push 0x6c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1005083a
xor ecx, ecx
lea eax, [ebx + 0x2c]
test edi, edi
je 0x100507ba
mov esi, ebp
mov edx, eax
sub esi, eax
mov al, byte [esi + edx]
mov byte [edx], al
mov byte [ebx + ecx + 0x4c], al
inc ecx
inc edx
cmp ecx, edi
jb 0x100507a4
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x2c]
lea edx, [edi + ebp]
lea ecx, [eax + edi]
call fcn.10050619
mov edx, dword [esp + 0x20]
mov ecx, ebp
sub ecx, edx
mov eax, edx
sub eax, ebp
cmp edx, ebp
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x10050808
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.10050619
mov ecx, dword [esp + 0x14]
sub eax, ebx
sub eax, 0xc
mov edx, esi
push eax
call fcn.1004f3ce
pop ecx
mov edx, esi
mov ecx, ebp
call fcn.10050619
mov esi, dword [esp + 0x14]
jmp 0x1005080f
mov ecx, ebp
call fcn.10050619
mov eax, dword [esp + 0x20]
lea edx, [ebx + 0x2c]
push edi
mov ecx, esi
mov dword [ebx + 4], edi
mov dword [ebx], ebp
mov dword [ebx + 8], eax
call fcn.1004f3ce
pop ecx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push 0x6c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
mov edx, ebp
mov ecx, esi
call fcn.1004f3ce
pop ecx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [ebx], 0
je 0x10050867
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0x2c]
mov dword [ecx], eax
jmp 0x10050873
xor edx, edx
mov ecx, ebx
inc edx
call fcn.100504d1
xor ebx, ebx
call fcn.100503c3
call fcn.10050684
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
setne al
pop ebx
add esp, 0x74
ret