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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x409844], ebx
push esi
push edi
jne 0x40330d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x403348
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x409844], eax
je 0x403348
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x409848], eax
call esi
cmp dword [0x4096e8], 2
mov dword [0x40984c], eax
jne 0x40330d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x409854], eax
je 0x40330d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x409850], eax
mov eax, dword [0x409850]
test eax, eax
je 0x403352
call eax
test eax, eax
je 0x403339
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x409854]
test eax, eax
je 0x403339
test byte [ebp - 8], 1
jne 0x403352
cmp dword [0x4096f4], 4
jb 0x40334c
or byte [ebp + 0x12], 0x20
jmp 0x403371
xor eax, eax
jmp 0x403381
or byte [ebp + 0x12], 4
jmp 0x403371
mov eax, dword [0x409848]
test eax, eax
je 0x403371
call eax
mov ebx, eax
test ebx, ebx
je 0x403371
mov eax, dword [0x40984c]
test eax, eax
je 0x403371
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x409844]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40373a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x403768
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40376f
cmp ebx, dword [eax + 4]
jae 0x40376f
xor eax, eax
jmp 0x40395f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x403780
xor eax, eax
inc eax
jmp 0x40395e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x403796
cmp ecx, edx
jae 0x4038db
cmp dword [eax + 4], 0
je 0x40379f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x403787
cmp dword [ebp + 8], 0
je 0x4037c1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4038db
cmp eax, esi
jae 0x4038db
mov eax, dword [0x409858]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4037e6
cmp dword [esi*4 + 0x409860], edi
je 0x4038df
inc esi
cmp esi, eax
jl 0x4037d4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40395b
cmp dword [ebp - 8], 0x1000000
jne 0x40395b
test byte [ebp - 0xc], 0xcc
je 0x403864
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40395b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40395b
cmp word [eax + 0x18], 0x10b
jne 0x40395b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40395b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x403864
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x403864
test byte [ecx + 0x27], 0x80
jne 0x4038db
push 1
push 0x4098a0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x403778
mov ecx, dword [0x409858]
test ecx, ecx
mov edx, ecx
jle 0x403898
lea eax, [ecx*4 + 0x40985c]
cmp dword [eax], edi
je 0x403898
dec edx
sub eax, 4
test edx, edx
jg 0x40388c
test edx, edx
jne 0x4038c9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4038a5
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4038bd
lea eax, [edx*4 + 0x409860]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4038ab
cmp ecx, 0x10
jge 0x4038c9
inc ecx
mov dword [0x409858], ecx
push 0
push 0x4098a0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x403778
xor eax, eax
jmp 0x40395e
test esi, esi
jle 0x403778
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4098a0
call ebx
test eax, eax
jne 0x403778
cmp dword [esi*4 + 0x409860], edi
je 0x403935
mov eax, dword [0x409858]
lea esi, [eax - 1]
test esi, esi
jl 0x403923
cmp dword [esi*4 + 0x409860], edi
je 0x40391f
dec esi
jns 0x403913
test esi, esi
jge 0x403933
cmp eax, 0x10
jge 0x40392e
inc eax
mov dword [0x409858], eax
lea esi, [eax - 1]
jmp 0x403935
je 0x40394d
xor ecx, ecx
test esi, esi
jl 0x40394d
lea eax, [ecx*4 + 0x409860]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40393b
push 0
push 0x4098a0
call ebx
jmp 0x403778
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404920
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x409b38]
mov eax, dword [0x409044]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x404ae6
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x409b40]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x404ae6
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x40498a
xor eax, eax
jmp 0x404afa
test al, 0x20
je 0x40499b
push 2
push edi
push edi
push ecx
call fcn.00405984
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x404a70
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x404ab7
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x4049fd
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4049ee
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x4049d0
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404a3d
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x404a49
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x4049c4
jmp 0x404a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x404ae1
cmp dword [ebp + 0x3a4], edi
je 0x404ab7
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x404aa9
mov dword [0x4096e0], eax
jmp 0x404aed
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404a9b
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x404a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x404a4b
push dword [ebp + 0x3a4]
call fcn.00405925
pop ecx
jmp 0x404af7
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x404acf
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x404983
mov dword [0x4096dc], 0x1c
mov dword [0x4096e0], edi
jmp 0x404af7
sub eax, dword [ebp - 0x7c]
jmp 0x404afa
and dword [0x4096e0], 0
mov dword [0x4096dc], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.004015e7
add ebp, 0x39c
leave
ret
Function at 0x40625b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403250
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4062f6
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4096e8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4062f6
cmp eax, 1
je 0x406317
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4062f6
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4062c3
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4062f2
xor eax, eax
inc eax
jmp 0x406336
cmp edi, eax
jae 0x4062fa
xor eax, eax
jmp 0x406336
cmp eax, esi
jae 0x406301
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4096e8]
jmp 0x40631a
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x464020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403058
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403038
xor eax, eax
push ebp
push 0x403031
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 0x403074
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 0x403038
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x464020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x464020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x468048], 0
je 0x403d7d
cmp word [0x46821c], 0xd7b2
jne 0x403d45
cmp dword [0x468224], 0
jbe 0x403d45
mov eax, 0x468218
call dword [0x468234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46406c
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 0x403da4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x464030], 0
jne 0x403d99
push 0
push 0x464064
push 0x46406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403ed0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x468049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e98
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405b4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405bb2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040418c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b9c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405bb9
lea eax, [ebp - 0x10]
call fcn.00403f1c
ret

Function at 0x40ae1c
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 0x40ae55
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040400c
jmp 0x40ae5e
mov eax, ebx
mov edx, esi
call fcn.00403f70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ae68
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 0x40ae89
mov al, byte [esp]
jmp 0x40ae8b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b510
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b388
mov eax, dword [0x467d6c]
cmp byte [eax], 0
je 0x40b58c
mov eax, dword [0x467b64]
call fcn.004029b4
call fcn.00402834
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.00408690
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 0x40b5d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x467b14]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x468664]
call fcn.00405060
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 0x40be4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bf22
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fb4
lea eax, [ebp - 8]
call fcn.0040442c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf0c
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf05
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 - 8]
call fcn.004043dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40beef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40beef
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf0c
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf29
lea eax, [ebp - 8]
call fcn.00403f1c
ret

Function at 0x40c434
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c498
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040418c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081d8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c49f
lea eax, [ebp - 0xc]
call fcn.00403f1c
ret

Function at 0x419b9c
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.004199c8
dec esi
jne 0x419bbe
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41ad00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x468888
cmp dword [edi], 0
jne 0x41ad7c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x468884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x464408
mov ecx, 2
call fcn.004028c8
mov edx, 0x41acd8
lea eax, [esi + 5]
call fcn.0041acf8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041acf8
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 0x41ad51
mov dword [0x468884], 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 0x41c310
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 0x41c316
ret

Function at 0x41e7e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41e835
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e81c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e80c
jmp 0x41e835
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41e81d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427814
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.004043cc
xor eax, eax
push ebp
push 0x427942
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427915
xor eax, eax
push ebp
push 0x42790e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041dc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4278e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4278d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041dc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043dc
mov edx, ebx
pop ecx
call fcn.004028c8
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 0x4278d9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x467ab8]
mov dl, 1
mov eax, dword [0x406ef4]
call fcn.0040b6b8
call fcn.004038d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427949
lea eax, [ebp - 4]
call fcn.00403f1c
ret
Function at 0x427950
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 - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427b01
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004045cc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x427b18
call fcn.00404228
mov eax, ebx
call fcn.0041a294
mov edi, eax
dec edi
test edi, edi
jl 0x427a08
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a268
mov edx, dword [0x4300a8]
call fcn.004032d4
test al, al
je 0x427a04
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a268
lea edx, [ebp - 0x14]
call fcn.00438a9c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004045cc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040429c
inc esi
dec edi
jne 0x4279b6
mov al, byte [0x427b1c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x427b28
mov eax, dword [ebp - 0xc]
call fcn.0040ca0c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403fb4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00438a9c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x427b18
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00438a9c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x427b18
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x427b18
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x427b34
call fcn.00408d58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b08
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f40
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f40
lea eax, [ebp - 0x14]
call fcn.00403f1c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f40
ret

Function at 0x433128
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x433074
call sub.user32.dll_EnumWindows
ret