joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f535
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.1004f610
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004f5a3
push edi
push 4
call eax
mov esi, eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004f5ab
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 0x1004f5de
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 0x1004f610
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 0x1004f69b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
cmp dword [ebp + 0xc], 1
jne 0x1004f747
push ecx
lea edx, [esp + 0x14]
call fcn.1004f2d1
pop ecx
lea ecx, [esp + 0x10]
call fcn.10002405
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.10001c3d
test eax, eax
jne 0x1004f775
mov edx, sym.gphelper.dll__HookSetWindowPos_28
mov ecx, 0x100867c8
call fcn.10050690
test eax, eax
je 0x1004f775
mov edx, sym.gphelper.dll__HookSetForegroundWindow_4
mov ecx, 0x100866d8
call fcn.10050690
test eax, eax
je 0x1004f775
mov edx, sym.gphelper.dll__HookSetActiveWindow_4
mov ecx, 0x10086760
call fcn.10050690
test eax, eax
je 0x1004f775
mov edx, sym.gphelper.dll__HookBringWindowToTop_4
mov ecx, 0x10086744
call fcn.10050690
jmp 0x1004f775
cmp dword [ebp + 0xc], 0
jne 0x1004f775
mov ecx, 0x100867c8
call fcn.10050852
mov ecx, 0x100866d8
call fcn.10050852
mov ecx, 0x10086760
call fcn.10050852
mov ecx, 0x10086744
call fcn.10050852
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004f809
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.10001f29
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.10001e5c
pop ecx
mov ecx, eax
call fcn.10001fa1
push eax
push OleUIPasteSpecialA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10001f24
lea ecx, [ebp - 4]
call fcn.10001f24
test esi, esi
pop esi
jne 0x1004f93f
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.100062f0
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.1004f40d
add esp, 0x10
test eax, eax
jne 0x1004f936
cmp dword [ebp - 0x1c], eax
jbe 0x1004f936
lea ecx, [ebp - 8]
call fcn.10001f8d
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1005b184
push eax
call fcn.100023f2
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.10001f8d
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 4]
push 0x1005a35c
push eax
call fcn.100023f2
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.10001fa1
push eax
lea ecx, [ebp - 4]
call fcn.10001ee5
test eax, eax
js 0x1004f926
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.10001f24
lea ecx, [ebp - 8]
call fcn.10001f24
xor eax, eax
inc eax
jmp 0x1004f948
lea ecx, [ebp - 4]
call fcn.10001f24
lea ecx, [ebp - 8]
call fcn.10001f24
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [0x10086744]
mov esp, ebp
pop ebp
ret 4
Function at 0x1004fb1f
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.10001f29
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.10001e5c
pop ecx
mov ecx, eax
call fcn.10001fa1
push eax
push OleUIPasteSpecialA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10001f24
lea ecx, [ebp - 4]
call fcn.10001f24
test esi, esi
pop esi
jne 0x1004fc50
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.100062f0
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.1004f40d
add esp, 0x10
test eax, eax
jne 0x1004fc47
cmp dword [ebp - 0x1c], eax
jbe 0x1004fc47
lea ecx, [ebp - 8]
call fcn.10001f8d
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1005b184
push eax
call fcn.100023f2
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.10001f8d
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 4]
push 0x1005a35c
push eax
call fcn.100023f2
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.10001fa1
push eax
lea ecx, [ebp - 4]
call fcn.10001ee5
test eax, eax
js 0x1004fc37
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.10001f24
lea ecx, [ebp - 8]
call fcn.10001f24
xor eax, eax
inc eax
jmp 0x1004fc59
lea ecx, [ebp - 4]
call fcn.10001f24
lea ecx, [ebp - 8]
call fcn.10001f24
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [0x100866d8]
mov esp, ebp
pop ebp
ret 4
Function at 0x1004fcad
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.10001f29
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.10001e5c
pop ecx
mov ecx, eax
call fcn.10001fa1
push eax
push OleUIPasteSpecialA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10001f24
lea ecx, [ebp - 4]
call fcn.10001f24
test esi, esi
pop esi
jne 0x1004fde8
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.100062f0
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.1004f40d
add esp, 0x10
test eax, eax
jne 0x1004fddf
cmp dword [ebp - 0x1c], eax
jbe 0x1004fddf
lea ecx, [ebp - 8]
call fcn.10001f8d
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1005b184
push eax
call fcn.100023f2
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.10001f8d
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 4]
push 0x1005a35c
push eax
call fcn.100023f2
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.10001fa1
push eax
lea ecx, [ebp - 4]
call fcn.10001ee5
test eax, eax
js 0x1004fdcf
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.10001f24
lea ecx, [ebp - 8]
call fcn.10001f24
xor eax, eax
inc eax
jmp 0x1004fe03
lea ecx, [ebp - 4]
call fcn.10001f24
lea ecx, [ebp - 8]
call fcn.10001f24
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 [0x100867c8]
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x1004fea5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
call fcn.1004f5ab
test eax, eax
je 0x1004fee9
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 0x1004ff3e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
call fcn.1004f5ab
test eax, eax
je 0x1004ff7f
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 0x1004ffd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
call fcn.1004f5ab
test eax, eax
je 0x10050023
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 0x10050078
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
call fcn.1004f5ab
test eax, eax
je 0x100500b6
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 0x10050386
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 0x100503d4
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 0x100503af
push dword [0x100866b0]
call fcn.1001feaa
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 0x100503fc
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 0x1005048c
test esi, esi
je 0x1005048c
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10050483
mov dword [ebp - 0x2d0], 0x10001
xor edi, edi
jmp 0x1005046f
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x218], eax
jb 0x1005048c
add eax, dword [ebp + 8]
cmp dword [ebp - 0x218], eax
jae 0x1005048c
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 3
jge 0x10050483
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 0x1005043d
jmp 0x1005048c
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 0x100504ec
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [0x100866b8], 0x40
jae 0x100505d5
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 0x100505d2
push 0x1c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100505ad
cmp dword [esp + 0x20], 0x10000
jne 0x1005059f
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x100505a3
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x100505a3
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 0x100505b1
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add edi, eax
cmp edi, ebp
jb 0x10050550
test ebx, ebx
je 0x100505d2
xor eax, eax
cmp dword [eax*4 + 0x10086820], 0
je 0x100505c5
inc eax
cmp eax, 0x40
jb 0x100505b3
jmp 0x100505d2
inc dword [0x100866b8]
mov dword [eax*4 + 0x10086820], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret
Function at 0x10050690
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.10050653
mov ecx, esi
call fcn.10050616
mov ecx, edi
mov ebp, eax
call fcn.10050616
push 0x58
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.100062f0
add esp, 0xc
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.10050198
mov edi, eax
pop ecx
cmp edi, 5
jb 0x1005083e
mov edx, edi
mov ecx, ebp
call fcn.10050223
push dword [esp + 0x34]
mov ecx, ebp
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.100504ec
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10050839
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 0x1005081d
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 0x10050800
xor ecx, ecx
lea eax, [ebx + 0x2c]
test edi, edi
je 0x1005077d
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 0x10050767
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x2c]
lea edx, [edi + ebp]
lea ecx, [eax + edi]
call fcn.100505dc
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 0x100507cc
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.100505dc
sub eax, ebx
sub eax, 0xc
push eax
push esi
push dword [esp + 0x1c]
call fcn.1004f39e
add esp, 0xc
mov edx, esi
mov ecx, ebp
call fcn.100505dc
mov esi, dword [esp + 0x14]
jmp 0x100507d3
mov ecx, ebp
call fcn.100505dc
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x2c]
push edi
push eax
push esi
mov dword [ebx + 4], edi
mov dword [ebx], ebp
call fcn.1004f39e
add esp, 0xc
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
push ebp
push esi
call fcn.1004f39e
add esp, 0xc
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 0x1005082d
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0x2c]
mov dword [ecx], eax
jmp 0x10050839
xor edx, edx
mov ecx, ebx
inc edx
call fcn.10050494
xor ebx, ebx
call fcn.10050386
call fcn.10050647
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
setne al
pop ebx
add esp, 0x74
ret
Function at 0x10050852
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.10050653
mov ecx, dword [ebx]
call fcn.100504c7
mov esi, eax
test esi, esi
je 0x100508e7
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push ebp
call fcn.10050223
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebp, eax
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
push eax
push 0x40
push dword [esi + 4]
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x100508e1
mov ecx, dword [esi]
cmp dword [esi + 4], edi
jbe 0x100508ae
mov al, byte [esi + edi + 0x4c]
mov byte [edi + ecx], al
inc edi
cmp edi, dword [esi + 4]
jb 0x100508a1
push dword [esi + 4]
push dword [esi]
push ebp
call fcn.1004f39e
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push dword [esi + 4]
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esi]
xor edi, edi
xor edx, edx
mov dword [ebx], eax
mov ecx, esi
inc edi
call fcn.10050494
call fcn.10050386
pop ebp
call fcn.10050647
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463004]
jne 0x40100a
repz ret
jmp fcn.00401587

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x463004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x4659e8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4659e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4659ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4659f0], eax
call edi
push eax
call esi
mov dword [0x4659f8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4659f4], eax
mov eax, dword [0x4659f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x4659f8], ecx
je 0x404557
push eax
call esi
push dword [0x4659f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x4659ec]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x4659f0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4659e8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x10067c8
Capabilities:
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0xa
pop esi
jmp 0x10067f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2747
jne 0x1006809
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [esi + esi*4]
shl esi, 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10067db
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10

Function at 0x4dbdc9
Capabilities:
Encode data using xor

Disassembly:
inc edx
xor dword [esi - 0x2d], 0xfbee7f53
invalid

Function at 0x5b8479
Capabilities:
Encode data using xor

Disassembly:
add bl, byte [ecx + 0x1c]
dec esp
mov dl, 0x63
and dh, byte [edi]
outsb dx, byte [esi]
call 0xf2c32129
invalid
invalid
mov esp, 0x978b9ad9
xchg edi, eax
xchg bl, dh
xor byte [esi + 0x63], bh
mov dh, 0x6e
and eax, 0xface4673
inc esi
into
cli
cmp dword [edi + 0x3d2b6819], eax
adc bh, al
pop eax
mov ebx, 0xd01a0616
invalid
adc bh, byte [eax - 0x72]
wait
jg 0x5b845f
invalid
Function at 0x402cf9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406408
cmp edx, dword [eax]
je 0x402d1b
add eax, 8
inc ecx
cmp eax, 0x406498
jl 0x402d0c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406408]
jne 0x402e49
mov eax, dword [0x406948]
cmp eax, 1
je 0x402e23
test eax, eax
jne 0x402d4c
cmp dword [0x4060d4], 1
je 0x402e23
cmp edx, 0xfc
je 0x402e49
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402d83
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004034e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00401480
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402dc6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00401480
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405484
push edi
call fcn.00401500
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004034e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004034f0
lea eax, [ebp - 0xa0]
push 0x405464
push eax
call fcn.004034f0
push dword [esi + 0x40640c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004034f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040452e
add esp, 0x2c
pop edi
jmp 0x402e49
lea eax, [ebp + 8]
lea esi, [esi + 0x40640c]
push 0
push eax
push dword [esi]
call fcn.00401480
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