joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100029a5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x348], 3
jne 0x10002ad5
mov ecx, dword [esi + 0x340]
push ebx
push edi
push 1
push esi
call fcn.10002ada
mov ecx, dword [esi + 0x340]
push 2
push esi
mov dword [ebp - 4], eax
call fcn.10002ada
mov ecx, dword [esi + 0x340]
push 3
push esi
mov dword [ebp + 8], eax
call fcn.10002ada
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 8], eax
mov ebx, 0x100
je 0x10002a14
lea eax, [ebp - 0x408]
push ebx
push eax
push dword [ebp - 4]
call edi
jmp 0x10002a1c
and word [ebp - 0x408], 0
cmp dword [ebp + 8], 0
je 0x10002a31
lea eax, [ebp - 0x208]
push ebx
push eax
push dword [ebp + 8]
call edi
jmp 0x10002a39
and word [ebp - 0x208], 0
cmp dword [ebp - 8], 0
je 0x10002a4e
lea eax, [ebp - 0x608]
push ebx
push eax
push dword [ebp - 8]
call edi
jmp 0x10002a56
and word [ebp - 0x608], 0
mov eax, dword [ebp - 4]
pop edi
cmp eax, dword [ebp + 8]
pop ebx
jne 0x10002a68
and word [ebp - 0x408], 0
lea ecx, [ebp - 0x208]
push ecx
push dword [ebp - 8]
push dword [ebp + 8]
push eax
push str._SSO__Domain__x_User__x_Pwd__x_uID__s
call fcn.10001783
add esp, 0x14
cmp word [ebp - 0x208], 0
je 0x10002ad5
mov eax, dword [esi + 0x34c]
push 0x24
push str.Hint
mov eax, dword [eax*4 + 0x10010168]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x10002ad5
lea eax, [ebp - 0x608]
mov ecx, dword [0x10013a24]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x408]
push eax
push dword [esi + 0x344]
call fcn.10002b17
pop esi
leave
ret 4

Function at 0x10002beb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10002c27
lea eax, [ebp + 0x14]
push 4
push eax
push 4
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 0x10

Function at 0x10003d5b
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push dword [ebp + 8]
call fcn.10003d1f
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x10003db8
xor ebx, ebx
lea eax, [ebp - 0x104]
push ebx
push ebx
push 0x100
push eax
push 0xffffffffffffffff
mov byte [ebp - 0x104], bl
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x10003db8
cmp word [eax + 0xa], bx
jle 0x10003db8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 4], eax
movzx eax, byte [ebp - 1]
push eax
movzx eax, byte [ebp - 2]
push eax
movzx eax, byte [ebp - 3]
push eax
movzx eax, byte [ebp - 4]
push eax
push str._d._d._d._d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
pop ebx
leave
ret 4
Function at 0x10003ffe
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x210c
call fcn.10006070
push ebx
push esi
mov esi, ecx
call fcn.10004152
xor ebx, ebx
cmp dword [0x10013a24], ebx
je 0x1000414c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], ebx
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x10013a24]
cmp dword [eax + 0x68], ebx
jne 0x10004051
call edi
sub eax, dword [ebp - 0xc]
cmp eax, 0x1388
jae 0x10004051
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10004031
lea eax, [ebp - 0x210c]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.10003de2
lea eax, [ebp - 0x10c]
push str..dll
push eax
call fcn.10006be5
pop ecx
test eax, eax
pop ecx
je 0x10004086
xor eax, eax
jmp 0x1000409e
lea eax, [ebp - 0x10c]
push eax
call fcn.10003d5b
lea eax, [ebp - 0x10c]
push eax
call fcn.10003d1f
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x210c]
push ecx
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.1000358e
test eax, eax
jne 0x100040f7
lea eax, [ebp - 0x210c]
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.10003735
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x201c]
push eax
call fcn.10003735
mov eax, dword [ebp - 4]
mov dword [esi + 0x211c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2120], eax
cmp word [ebp - 0x10c], bx
push 1
pop edi
je 0x10004148
cmp dword [ebp - 4], ebx
je 0x10004148
cmp word [ebp - 0x210c], bx
mov dword [esi + 0x2174], edi
jne 0x10004127
mov word [ebp - 0x210c], 0x2f
mov word [ebp - 0x210a], bx
push dword [ebp - 8]
lea eax, [ebp - 0x210c]
mov ecx, dword [0x10013a24]
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
push esi
push esi
call fcn.100028a2
mov dword [esi + 0x18], edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100041e6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0x20019
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x1000422f
push 4
pop eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
leave
ret 0x10
Function at 0x100059ee
Capabilities:
Resume thread

Disassembly:
cmp dword [0x10013a24], 0
jne 0x10005a3d
call fcn.10005a4e
test eax, eax
je 0x10005a3d
push 0x13c4
call fcn.10006400
test eax, eax
pop ecx
je 0x10005a1a
mov ecx, eax
call fcn.100020d9
mov ecx, eax
jmp 0x10005a1c
xor ecx, ecx
mov dword [0x10013a24], ecx
call fcn.1000210c
mov ecx, dword [0x10013a24]
test eax, eax
jne 0x10005a3e
call fcn.100015b8
and dword [0x10013a24], 0
ret
call fcn.10002227
mov ecx, dword [0x10013a24]
jmp fcn.100015a4

Function at 0x10005a82
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0x20019
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x10005acb
push 4
pop eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
leave
ret 0x10
Function at 0x4030cc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a4c
test esi, esi
jne 0x403102
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404b3c
jmp 0x403120
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402fd0
mov edi, eax
test esi, esi
je 0x403120
cmp dword [ebx], 0
je 0x403120
dec esi
jmp 0x403109
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4038f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4cc020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403988
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403968
xor eax, eax
push ebp
push 0x403961
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4039a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403968
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4cc020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4cc020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4047f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d104c], 0
je 0x404859
cmp word [0x4d1220], 0xd7b2
jne 0x404821
cmp dword [0x4d1228], 0
jbe 0x404821
mov eax, 0x4d121c
call dword [0x4d1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404880
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cc030], 0
jne 0x404875
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4049d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4cc034], 0
je 0x4049f6
mov edx, esi
mov eax, ebx
call dword [0x4cc034]
jmp 0x404a05
mov eax, 8
call fcn.00402ce0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4d104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404998
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4061e0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406410
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406263
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406410
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406263
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40642c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4062ec
xor eax, eax
push ebp
push 0x4062e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040601c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4062ca
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40644c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4062ca
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406406
cmp byte [ebp - 0xd], 0
jne 0x406333
cmp byte [ebp - 0x12], 0
je 0x406406
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40634c
dec ebx
cmp byte [ebx], 0x2e
je 0x40635b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40634b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406406
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406398
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406406
cmp byte [ebp - 0xd], 0
je 0x406406
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406406
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408c10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408ca0
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408ca0
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408c53
test edx, 3
jne 0x408c42
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408c4d
jmp 0x408c53
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408c53
cmp dword [ecx - 8], 1
je 0x408c5d
mov edx, ebx
or edx, 3
call fcn.00405198
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408c6f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404a4c

Function at 0x408cac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408d3c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408d3c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408cef
test edx, 3
jne 0x408cde
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408ce9
jmp 0x408cef
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408cef
cmp dword [ecx - 8], 1
je 0x408cf9
mov edx, ebx
or edx, 3
call fcn.00405198
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408d0b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404a4c

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f10
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4098cd
test al, 0x10
je 0x4098d1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c824
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c85d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b3c
jmp 0x40c866
mov eax, ebx
mov edx, esi
call fcn.00404aa0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c870
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c892
movzx eax, byte [esp]
jmp 0x40c894
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d87c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d952
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404ae4
lea eax, [ebp - 4]
call fcn.00404f60
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f10
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d93c
mov eax, ebx
call fcn.00402ce0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d935
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f10
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d91f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d964
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d91f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d93c
mov eax, dword [ebp - 0x10]
call fcn.00402cfc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d959
lea eax, [ebp - 4]
call fcn.00404a4c
ret

Function at 0x423e44
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x423e92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00423b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423eab
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x423eb4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423b54
dec esi
jne 0x423ed6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x425048
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d4308
cmp dword [edi], 0
jne 0x4250c4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d4304]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ccbb4
mov ecx, 2
call fcn.00402ed0
mov edx, 0x425020
lea eax, [esi + 5]
call fcn.00425040
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425040
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425099
mov dword [0x4d4304], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x427668
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f10
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4276c0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d0110]
mov dl, 1
mov eax, dword [0x42718c]
call fcn.0040d0e4
call fcn.004043a4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00427294
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428850
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x428856
ret
Function at 0x43673c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4367ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x436782
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404c44
jmp 0x436789
mov eax, ebx
call fcn.00404a4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4367b5
cmp dword [ebp - 8], 0
je 0x4367a5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4367bc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x436864
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x436837
mov edx, ebx
mov eax, dword [0x428294]
call fcn.0042ca74
test al, al
je 0x436827
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0042c984
call fcn.00404450
jmp 0x43686b
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4367ef
mov ecx, dword [0x4cf900]
mov dl, 1
mov eax, dword [0x407f5c]
call fcn.0040d0a8
call fcn.004043a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43686b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x436874
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4368cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4368d3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret