joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc582
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004ae9d5
and dword [ebp - 4], 0
cmp dword [0x575298], 0
mov ebx, eax
jne 0x4bc633
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4bc6e4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4bc6e4
push eax
call fcn.004ae963
mov dword [esp], 0x531a6c
push edi
mov dword [0x575298], eax
call esi
push eax
call fcn.004ae963
mov dword [esp], 0x531a58
push edi
mov dword [0x57529c], eax
call esi
push eax
call fcn.004ae963
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5752a0], eax
call esi
push eax
call fcn.004ae963
pop ecx
mov dword [0x5752a8], eax
test eax, eax
je 0x4bc633
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004ae963
pop ecx
mov dword [0x5752a4], eax
mov eax, dword [0x5752a4]
cmp eax, ebx
je 0x4bc68b
cmp dword [0x5752a8], ebx
je 0x4bc68b
push eax
call fcn.004ae9de
push dword [0x5752a8]
mov esi, eax
call fcn.004ae9de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4bc68b
test edi, edi
je 0x4bc68b
call esi
test eax, eax
je 0x4bc682
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4bc682
test byte [ebp - 0xc], 1
jne 0x4bc68b
or dword [ebp + 0x10], 0x200000
jmp 0x4bc6c4
mov eax, dword [0x57529c]
cmp eax, ebx
je 0x4bc6c4
push eax
call fcn.004ae9de
pop ecx
test eax, eax
je 0x4bc6c4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4bc6c4
mov eax, dword [0x5752a0]
cmp eax, ebx
je 0x4bc6c4
push eax
call fcn.004ae9de
pop ecx
test eax, eax
je 0x4bc6c4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x575298]
call fcn.004ae9de
pop ecx
test eax, eax
je 0x4bc6e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4bc6e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f5ce0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret

Function at 0x4fe250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x56bbe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4fe2c1
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9399
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4fe380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x56bbe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4fe3f1
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9399
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4fe490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x56bbe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x434], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x53d02c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x20
ja 0x4fe687
lea edx, [ebp - 0x418]
push edx
push 0x53d038
push SysReAllocString
mov ecx, dword [ebp - 0x434]
call fcn.004fe250
test eax, eax
jne 0x4fe687
push str._shellopencommand
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x418]
push edx
push SysReAllocString
mov ecx, dword [ebp - 0x434]
call fcn.004fe250
test eax, eax
jne 0x4fe687
push str.__1_
lea eax, [ebp - 0x418]
push eax
call fcn.004029b0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x4fe5a0
push 0x53d078
lea ecx, [ebp - 0x418]
push ecx
call fcn.004029b0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x4fe593
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x41a]
mov dword [ebp - 0x430], eax
jmp 0x4fe59e
xor ecx, ecx
mov edx, dword [ebp - 0x430]
mov word [edx], cx
jmp 0x4fe5ab
xor eax, eax
mov ecx, dword [ebp - 0x430]
mov word [ecx], ax
push str._SMDB
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.00402fd0
mov dword [ebp - 0x428], eax
lea edx, [ebp - 0x418]
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0
jne 0x4fe5fa
mov dword [ebp - 0x438], 0
jmp 0x4fe670
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x3fffffff
jle 0x4fe628
mov dword [ebp - 0x43c], 0
jmp 0x4fe664
mov eax, dword [ebp - 0x420]
shl eax, 1
call fcn.004aaef0
mov dword [ebp - 0x440], esp
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x420]
shl edx, 1
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.00402f80
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
lea esp, [ebp - 0x440]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a9399
mov esp, ebp
pop ebp
ret 8
Function at 0x4fe700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x56bbe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x434], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x53cfc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x20
ja 0x4fe8f7
lea edx, [ebp - 0x418]
push edx
push 0x53cfd4
push SysReAllocString
mov ecx, dword [ebp - 0x434]
call fcn.004fe380
test eax, eax
jne 0x4fe8f7
push 0x53cfe0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x418]
push edx
push SysReAllocString
mov ecx, dword [ebp - 0x434]
call fcn.004fe380
test eax, eax
jne 0x4fe8f7
push 0x53d008
lea eax, [ebp - 0x418]
push eax
call fcn.004029b0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x4fe810
push 0x53d014
lea ecx, [ebp - 0x418]
push ecx
call fcn.004029b0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x4fe803
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x41a]
mov dword [ebp - 0x430], eax
jmp 0x4fe80e
xor ecx, ecx
mov edx, dword [ebp - 0x430]
mov word [edx], cx
jmp 0x4fe81b
xor eax, eax
mov ecx, dword [ebp - 0x430]
mov word [ecx], ax
push 0x53d01c
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.00402fd0
mov dword [ebp - 0x428], eax
lea edx, [ebp - 0x418]
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0
jne 0x4fe86a
mov dword [ebp - 0x438], 0
jmp 0x4fe8e0
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x3fffffff
jle 0x4fe898
mov dword [ebp - 0x43c], 0
jmp 0x4fe8d4
mov eax, dword [ebp - 0x420]
shl eax, 1
call fcn.004aaef0
mov dword [ebp - 0x440], esp
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x420]
shl edx, 1
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.00402f80
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
lea esp, [ebp - 0x440]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a9399
mov esp, ebp
pop ebp
ret 8
Function at 0x507940
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa8], 0
je 0x507959
xor eax, eax
jmp 0x5079b7
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 0xc]
push edx
push 0x507900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xa8], 0
jne 0x50798d
xor eax, eax
jmp 0x5079b7
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x50a8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 0
jne 0x50a906
xor eax, eax
jmp 0x50a994
cmp dword [ebp + 8], 0
jne 0x50a913
xor eax, eax
jmp 0x50a994
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + 0xe]
mov edx, 1
shl edx, cl
mov dword [ebp - 8], edx
mov eax, 0x4d42
mov word [ebp - 0x18], ax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, 0xe
mov dword [ebp - 0x16], eax
xor edx, edx
mov word [ebp - 0x12], dx
xor eax, eax
mov word [ebp - 0x10], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax*4 + 0xe]
mov dword [ebp - 0xe], ecx
mov edx, dword [ebp + 8]
push edx
push 0xe
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.004a9bf7
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.004a9bf7
add esp, 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x50e070
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5171c0
mov eax, dword fs:[0]
push eax
sub esp, 0x8bc
mov eax, dword [0x56bbe0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c8], ecx
lea ecx, [ebp - 0x494]
call fcn.004ed820
mov dword [ebp - 4], 0
mov eax, dword [0x57705c]
movsx ecx, byte [eax]
add ecx, 0x30
mov byte [ebp - 0x6bc], cl
mov edx, dword [0x57705c]
movsx eax, byte [edx + 4]
add eax, 0x30
mov byte [ebp - 0x6bb], al
mov ecx, dword [0x57705c]
movsx edx, byte [ecx + 8]
add edx, 0x30
mov byte [ebp - 0x6ba], dl
mov eax, dword [0x57705c]
movsx ecx, byte [eax + 0xc]
add ecx, 0x30
mov byte [ebp - 0x6b9], cl
mov byte [ebp - 0x6b8], 0x35
mov byte [ebp - 0x6b7], 0x30
mov byte [ebp - 0x6b6], 0x65
mov byte [ebp - 0x6b5], 0x36
mov byte [ebp - 0x6b4], 0x67
mov byte [ebp - 0x6b3], 0x6b
mov byte [ebp - 0x6b2], 0x69
mov byte [ebp - 0x6b1], 0x75
mov byte [ebp - 0x6b0], 0x39
mov byte [ebp - 0x6af], 0x37
mov byte [ebp - 0x6ae], 0x31
mov byte [ebp - 0x6ad], 0x61
push 0
push 0x100
lea edx, [ebp - 0x694]
push edx
call fcn.004aa1b0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x5405d8
push 0x100
lea ecx, [ebp - 0x694]
push ecx
call fcn.00404c6d
add esp, 0x10
push 0
push 0
push 0x200
lea edx, [ebp - 0x8c4]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x694]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x8c4]
push ecx
call fcn.004a9fb0
add esp, 4
mov dword [ebp - 0x6c0], eax
mov edx, dword [ebp - 0x6c0]
add edx, 0x10
and edx, 0xfffffff0
mov dword [ebp - 0x69c], edx
mov eax, dword [ebp - 0x8c8]
mov ecx, dword [eax + 0x4cc]
add ecx, dword [ebp - 0x69c]
cmp ecx, 0x2000
jbe 0x50e201
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x494]
call fcn.004ed800
jmp 0x50e2d6
mov edx, dword [ebp - 0x6c0]
mov dword [ebp - 0x14], edx
jmp 0x50e215
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x69c]
jge 0x50e22d
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x8c4], 0x20
jmp 0x50e20c
push 0x10
push 0x10
mov eax, dword [0x56d1ac]
push eax
lea ecx, [ebp - 0x6bc]
push ecx
lea ecx, [ebp - 0x494]
call fcn.004ed120
push 0
mov edx, dword [ebp - 0x69c]
push edx
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x8c4]
push ecx
lea ecx, [ebp - 0x494]
call fcn.004edbd0
mov edx, dword [ebp - 0x8c8]
mov eax, dword [edx + 0x4d0]
mov ecx, dword [ebp - 0x8c8]
add eax, dword [ecx + 0x4cc]
mov dword [ebp - 0x698], eax
mov edx, dword [ebp - 0x69c]
push edx
lea eax, [ebp - 0x8c4]
push eax
mov ecx, dword [ebp - 0x698]
push ecx
call fcn.004aa230
add esp, 0xc
mov edx, dword [ebp - 0x8c8]
mov eax, dword [edx + 0x4cc]
add eax, dword [ebp - 0x69c]
mov ecx, dword [ebp - 0x8c8]
mov dword [ecx + 0x4cc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x494]
call fcn.004ed800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a9399
mov esp, ebp
pop ebp
ret 4
Function at 0x5126b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c0], 0
je 0x5126ca
jmp 0x51275a
push 0xffffffffffffffff
lea ecx, [ebp - 4]
push ecx
call fcn.00405b41
mov ecx, eax
call fcn.00404bdd
test eax, eax
je 0x51275a
push 0
mov ecx, 0x575b78
call fcn.0050e720
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x51274e
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4d0]
push edx
call fcn.004a9fb0
add esp, 4
sub eax, 0x26
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4d0]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00405b41
mov ecx, eax
call fcn.00404748
mov esp, ebp
pop ebp
ret 4
Function at 0x461c40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e000]
mov dword [edi + 0x3487c], 0x1d4a8ac0
push edi
or ebp, 0xffffffff
jmp 0x461c6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461c71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461c60
mov eax, 1
add ebx, ebx
jne 0x461c83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461c94
jne 0x461cb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461cb3
dec eax
add ebx, ebx
jne 0x461ca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x461c78
add ebx, ebx
jne 0x461caf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x461d05
xor ecx, ecx
sub eax, 3
jb 0x461ccb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461d3a
sar eax, 1
mov ebp, eax
jmp 0x461cd6
add ebx, ebx
jne 0x461cd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461ca4
inc ecx
add ebx, ebx
jne 0x461ce4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461ca4
add ebx, ebx
jne 0x461cf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461ce6
jne 0x461d02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461ce6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461d24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461d16
jmp 0x461c66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461d24
add edi, ecx
jmp 0x461c66
pop esi
mov edi, esi
mov ecx, 0xf1e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461d42
cmp byte [edi], 7
jne 0x461d42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x461d47
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x461dbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x62a60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62b14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x461d74
mov ecx, edi
jns 0x461da3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62b18]
or eax, eax
je 0x461db9
mov dword [ebx], eax
add ebx, 4
jmp 0x461d91
call dword [esi + 0x62b20]
mov ebp, dword [esi + 0x62b1c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x461df3
sub esp, 0xffffff80
jmp 0x41ff97
Function at 0x4010c7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x458220]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40113a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00436290
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40113a
lea eax, [ebp - 0x804]
push eax
call fcn.0043634f
pop ecx
add esi, 0x10
lea ecx, [ebp - 0x804]
call fcn.004011a5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004363e5
leave
ret

Function at 0x401582
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x458220]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
cmp dword [eax + 0x18], 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
jb 0x4015b5
mov eax, dword [eax + 4]
jmp 0x4015b8
add eax, 4
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x447dec
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40164e
cmp dword [ebp - 0x74], ebx
je 0x40164e
mov eax, 0x208
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00436290
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x401605
mov edi, dword [edi + 4]
jmp 0x401608
add edi, 4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x401637
lea eax, [ebp - 0x70]
push eax
call fcn.0043634f
pop ecx
lea ecx, [ebp - 0x70]
call fcn.004011a5
cmp dword [ebp - 0x74], ebx
je 0x401645
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401650
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004363e5
add ebp, 0x19c
leave
ret 4

Function at 0x40166a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, ecx
jb 0x40167e
mov eax, dword [eax + 4]
jmp 0x401681
add eax, 4
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x447dec
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4016f6
cmp dword [ebp - 4], ebx
je 0x4016f6
mov eax, dword [esi + 0x14]
add eax, eax
cmp dword [esi + 0x18], 8
jb 0x4016bd
mov esi, dword [esi + 4]
jmp 0x4016c0
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x4016cb
mov ecx, dword [edi + 4]
jmp 0x4016ce
lea ecx, [edi + 4]
push eax
push esi
push 1
push ebx
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], ebx
mov esi, eax
je 0x4016ed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x4016f8
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x402cdf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00436290
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00436290
add esp, 0x18
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
jb 0x402d25
mov esi, dword [esi + 4]
jmp 0x402d28
add esi, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x402d36
mov eax, dword [eax + 4]
jmp 0x402d39
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402d62
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
jmp 0x402d64
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x407d26
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x458220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x407d47
mov eax, dword [eax + 4]
jmp 0x407d4a
add eax, 4
push pe_nt_image_headers32
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x407d71
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004363e5
leave
ret 4