joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468584
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46859b
add esp, 0xfffffff0
call fcn.00404548
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f908
mov eax, dword [0x48324c]
cmp word [eax + 2], 0
jne 0x4685c3
mov eax, dword [0x48324c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046a034
mov eax, dword [0x483300]
cmp word [eax + 2], 0
jne 0x4685dd
mov eax, dword [0x483300]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046a240
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4176ec]
call fcn.004041f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4176ec]
call fcn.004041f4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4176ec]
call fcn.004041f4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x423ff4]
call fcn.0042b8a8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x468794
mov eax, dword [0x483160]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bc7c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46a910
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x483160]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040de9c
test eax, eax
je 0x4686e4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e1c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ded0
test eax, eax
je 0x4686f8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004052c0
mov byte [ebx + 0xd4], 0
push ebx
push 0x469b94
call fcn.00420a84
mov dword [ebx + 0xc8], eax
mov eax, dword [0x483034]
cmp byte [eax], 0
jne 0x468749
mov eax, ebx
call fcn.004688d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046aaec
mov eax, ebx
call fcn.0046b64c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x468789
call fcn.004045a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468b58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4875a8]
cmp dword [eax + 0x30], 0
je 0x468c02
cmp dword [ebx + 0x94], 0
jne 0x468bfc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x468ae8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x468bfc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x468bc2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x468bfc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419a98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x468bd1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46991c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x469951
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405140
jmp 0x46995e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46acd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46ad3e
mov eax, esi
call fcn.00454f5c
test al, al
je 0x46ad3e
mov eax, dword [ebx + 0x84]
call fcn.00454bbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46ad3e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46ad32
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454bbc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044cfdc
jmp 0x46ad3e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046ab0c
pop esi
pop ebx
ret
Function at 0x445450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x440015
lea edi, [esi - 0x3f015]
push edi
jmp 0x44546a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x445471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x445460
mov eax, 1
add ebx, ebx
jne 0x445483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x445478
jne 0x445494
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x445478
xor ecx, ecx
sub eax, 3
jb 0x4454a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44551a
mov ebp, eax
add ebx, ebx
jne 0x4454b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4454c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4454e4
inc ecx
add ebx, ebx
jne 0x4454d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4454c5
jne 0x4454e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4454c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x445504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4454f5
jmp 0x445466
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x445504
add edi, ecx
jmp 0x445466
pop esi
mov edi, esi
mov ecx, 0x25b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x445522
cmp byte [edi], 5
jne 0x445522
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 0x445527
lea edi, [esi + 0x43000]
mov eax, dword [edi]
or eax, eax
je 0x445596
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49160]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49188]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x445554
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49190]
or eax, eax
je 0x445590
mov dword [ebx], eax
add ebx, 4
jmp 0x445571
call dword [esi + 0x4918c]
mov ebp, dword [esi + 0x49194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4455ca
sub esp, 0xffffff80
jmp 0x404780

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401080
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
sub esp, 0x620
mov eax, dword [0x40a004]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebp
push esi
mov esi, dword [esp + 0x634]
push edi
push 0
push 2
mov ebp, 1
call sub.msi.dll_MsiSetPropertyW
push 0x104
push 0x40b838
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [esp + 0x10]
mov eax, esi
call fcn.00401000
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
push str._pid
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x4011a1
push ebx
lea edx, [esp + 0x14]
mov eax, esi
call fcn.00401000
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.00401261
add esp, 4
push eax
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401127
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00401000
push str._cmd
lea edx, [esp + 0x18]
push edx
mov esi, eax
call edi
test eax, eax
pop ebx
jne 0x4011a1
mov eax, esi
xor ebp, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401150
sub eax, edx
sar eax, 1
je 0x4011a1
lea edx, [esp + 0x10]
mov eax, esi
call fcn.00401000
push 2
mov esi, eax
push 0
lea eax, [esp + 0x18]
push eax
call sub.msi.dll_MsiDatabaseCommit
test eax, eax
je 0x401185
mov ebp, 1
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401190
sub eax, edx
sar eax, 1
jne 0x401161
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401229
push 0x104
lea edx, [esp + 0x21c]
push edx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x401229
push str._c_del
lea ecx, [esp + 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x424]
push eax
call esi
push str.____NUL
lea ecx, [esp + 0x424]
push ecx
call esi
push 0
push 0
lea edx, [esp + 0x428]
push edx
push 0x40b838
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x628]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00401252
add esp, 0x620
ret 0x10

Function at 0x401252
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x40125c
repz ret
jmp fcn.004014c0
Function at 0x404411
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004026b9
xor ebx, ebx
cmp dword [0x40b748], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4044e6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x404451
xor eax, eax
jmp 0x4045aa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40444a
push eax
call fcn.00402656
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b748], eax
call esi
push eax
call fcn.00402656
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b74c], eax
call esi
push eax
call fcn.00402656
mov dword [0x40b750], eax
lea eax, [ebp - 8]
push eax
call fcn.0040190f
test eax, eax
pop ecx
pop ecx
je 0x4044b4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403a75
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4044e6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402656
cmp eax, ebx
pop ecx
mov dword [0x40b758], eax
je 0x4044e6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402656
pop ecx
mov dword [0x40b754], eax
mov eax, dword [0x40b754]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40455f
cmp dword [0x40b758], esi
je 0x40455f
push eax
call fcn.004026c2
pop ecx
call eax
cmp eax, ebx
je 0x40452c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40b758]
call fcn.004026c2
pop ecx
call eax
test eax, eax
je 0x40452c
test byte [ebp - 0x18], 1
jne 0x40455f
lea eax, [ebp - 0xc]
push eax
call fcn.00401946
test eax, eax
pop ecx
je 0x404547
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403a75
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x404556
or dword [ebp + 0x10], 0x200000
jmp 0x404590
or dword [ebp + 0x10], 0x40000
jmp 0x404590
mov eax, dword [0x40b74c]
cmp eax, esi
je 0x404590
push eax
call fcn.004026c2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404590
mov eax, dword [0x40b750]
cmp eax, esi
je 0x404590
push dword [ebp - 4]
push eax
call fcn.004026c2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40b748]
call fcn.004026c2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409d4c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409d9e
test eax, edx
je 0x409da1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409d61
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x409d87
add ecx, 4
js 0x409d77
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409d84
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409dad
test edx, edx
jne 0x409d54
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405824
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40adb9
test al, 0x10
je 0x40adbd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405824
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40addd
test al, 0x10
jne 0x40ade1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ee90
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40eec9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405484
jmp 0x40eed2
mov eax, ebx
mov edx, esi
call fcn.004053e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40eedc
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 0x40eefe
movzx eax, byte [esp]
jmp 0x40ef00
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40f590
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40f408
mov eax, dword [0x6c0f78]
cmp byte [eax], 0
je 0x40f60c
mov eax, dword [0x6c07b8]
call fcn.00403924
call fcn.004030f0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040affc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40f654
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40f642
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x6c06ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6c47f8]
call fcn.00406de8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40ff38
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 0x41000e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040542c
lea eax, [ebp - 4]
call fcn.0040587c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405824
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40fff8
mov eax, ebx
call fcn.00402f94
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40fff1
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.00405824
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ffdb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x410020
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ffdb
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 0x40fff8
mov eax, dword [ebp - 0x10]
call fcn.00402fb0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410015
lea eax, [ebp - 4]
call fcn.00405394
ret

Function at 0x42923c
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.00428f4c
dec esi
jne 0x42925e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42a3d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6c69f0
cmp dword [edi], 0
jne 0x42a44c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6c69ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67ad68
mov ecx, 2
call fcn.004031fc
mov edx, 0x42a3a8
lea eax, [esi + 5]
call fcn.0042a3c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042a3c8
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 0x42a421
mov dword [0x6c69ec], 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 0x42e04c
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.00405824
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42e0a4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6c1428]
mov dl, 1
mov eax, dword [0x42d988]
call fcn.0040f774
call fcn.00404ce4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042dafc
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 0x42f43c
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 0x42f442
ret
Function at 0x451be8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405814
xor eax, eax
push ebp
push 0x451d1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x451cf0
xor edx, edx
push ebp
push 0x451ce9
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x451c35
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x451cbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x451cad
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x451c74
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405824
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004031fc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451cb4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [inet_addr]
mov dl, 1
mov eax, dword [0x408e08]
call fcn.0040f738
call fcn.00404ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d24
lea eax, [ebp - 4]
call fcn.00405394
ret
Function at 0x451d2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x451ee7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405b18
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x451f00
call fcn.004056ac
mov eax, ebx
call fcn.00429950
mov edi, eax
dec edi
test edi, edi
jl 0x451de4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00429924
mov edx, dword [0x43cd9c]
call fcn.004045bc
test al, al
je 0x451de0
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00429924
lea edx, [ebp - 0x14]
call fcn.00461dac
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405b18
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405728
inc esi
dec edi
jne 0x451d92
movzx eax, byte [0x451f04]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x451f10
mov eax, dword [ebp - 8]
call fcn.00410b34
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.0040542c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00461dac
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x451f00
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00461dac
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x451f00
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x451f00
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x451f1c
call fcn.0040bb24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451eee
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x14]
call fcn.00405394
lea eax, [ebp - 0x10]
call fcn.00405394
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b8
ret