joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101bd210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x88]
lea ecx, [esp + 0x30]
mov edx, dword [0x101d2958]
add edx, 0xfffff095
mov dword [0x101d2954], edx
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.101bcbb0
lea ecx, [0x101bd590]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x68], edx
mov dword [esp + 0x5c], 0x12e400
mov edx, dword [0x101d2940]
mov dword [esp + 0x44], edx
mov edx, dword [0x101d2944]
mov dword [esp + 0x50], edx
mov edx, dword [0x101d2948]
mov dword [esp + 0x58], edx
mov edx, dword [0x101d294c]
mov dword [esp + 0x34], edx
mov edx, dword [0x101d2950]
mov dword [esp + 0x3c], edx
mov dword [0x101d2958], 0x207b
mov dword [0x101d2954], 0x202a
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x101bd2ca
mov dword [0x101d2958], 0x1067
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x101bd2ae
mov eax, dword [esp + 0x20]
add eax, 0x3c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
jne 0x101bd2ae
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [0x101d2958], 0x336
mov dword [0x101d2954], 0xa55
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x40], eax
call fcn.101bd060
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x101bd37a
lea eax, [esp + 0x30]
mov dword [0x101d2954], 0x1bcd
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101bd910
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x101bd420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101d295c], 0
mov dword [0x101d2960], 0
mov dword [0x101d296c], 0
mov edi, dword [0x101d2958]
add edi, 0xfffff42c
mov dword [0x101d2954], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x101bd584
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101bd48d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101d295c], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101d2960], edx
mov dword [0x101d2958], 0xc7e
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d2964], cl
mov dword [0x101d2954], 0xffffeec8
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101d2964]
mov edx, dword [0x101d2960]
mov byte [edi + edx], cl
mov dword [0x101d2954], 0x13fb
mov edx, dword [0x101d295c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101d2960]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101d296c], ebx
mov dword [0x101d2954], 0xffffe559
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
xor cl, byte [edx + ebx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x101d2958], 0xd2
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x38], ebx
je 0x101bd582
mov eax, dword [0x101d295c]
mov ecx, dword [0x101d2960]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x101bd48d
jmp 0x101bd584
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101bd710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x101d2954], 0x2410
mov dword [ebp - 0x10], eax
call fcn.101bc450
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x101d2958], 0x336
mov dword [0x101d2954], 0xa55
mov esi, dword [eax + esi + 0x78]
mov dword [0x101d2954], 0x1f57
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101d2958], 0x1824
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101bd891
jmp 0x101bd7dd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [0x101d2954], 0x2410
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x101bd7fc
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x42]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x43], dl
jne 0x101bd7fc
jmp 0x101bd82a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x48], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jmp 0x101bd787
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
mov byte [ebp - 0x43], bl
jne 0x101bd7ad
mov al, byte [ebp - 0x43]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
jne 0x101bd85b
mov eax, dword [ebp - 0x30]
add eax, 1
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x18]
cmp eax, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x101bd787
jmp 0x101bd88a
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
mov dword [0x101d2954], 0x1488
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov dword [0x101d2958], 0x1415
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [ebp - 0x24], esi
jmp 0x101bd891
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x101bd891
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4385e9
Capabilities:
Encode data using xor

Disassembly:
mov ecx, cs
invalid
sbb dword [edi + 0x40dfbfb], ebx
dec ecx
lodsb al, byte [esi]
sbb ch, byte [edi - 3]
and ebp, dword [ebp - 0x282efd60]
adc eax, 0xf48d9008
jnp 0x4385a5
dec edx
mov eax, dword [0x632fb8bf]
loope 0x438664
dec eax
invalid
and ch, byte [ebp - 0x271402fe]
xchg edx, eax
cdq
push edi
outsd dx, dword [esi]
fmul dword [ecx - 0x52f3acdd]
mov ecx, 0xd4553e81
pop edi
xor esp, dword [ebx + eax*8]
dec ecx
or eax, 0x8445bcc1
inc esi
invalid

Function at 0x4bb311
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3380
cmp edx, dword [eax]
je 0x4bb333
add eax, 8
inc ecx
cmp eax, 0x4c3410
jl 0x4bb324
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3380]
jne 0x4bb461
mov eax, dword [0x4c7d14]
cmp eax, 1
je 0x4bb43b
test eax, eax
jne 0x4bb364
cmp dword [0x4c32ac], 1
je 0x4bb43b
cmp edx, 0xfc
je 0x4bb461
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb39b
lea eax, [ebp - 0x1a4]
push 0x4c0830
push eax
call fcn.004bbcf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc180
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb3de
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc180
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c082c
push edi
call fcn.004be050
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0810
push eax
call fcn.004bbcf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbd00
lea eax, [ebp - 0xa0]
push 0x4c080c
push eax
call fcn.004bbd00
push dword [esi + 0x4c3384]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbd00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07e4
push eax
call fcn.004bdfc4
add esp, 0x2c
pop edi
jmp 0x4bb461
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3384]
push 0
push eax
push dword [esi]
call fcn.004bc180
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
Function at 0x402fbc
Capabilities:
Query or enumerate registry value

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

Function at 0x403d20
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49604c], 0
je 0x403d81
cmp word [0x496220], 0xd7b2
jne 0x403d49
cmp dword [0x496228], 0
jbe 0x403d49
mov eax, 0x49621c
call dword [0x496238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49306c
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 0x403da8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x493030], 0
jne 0x403d9d
push 0
push 0x493064
push 0x49306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403ed4
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.004026ec
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e9c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e8c
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 0x405ef2
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.00404190
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405edc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ef9
lea eax, [ebp - 0x10]
call fcn.00403f20
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004043e0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408981
test al, 0x10
jne 0x408985
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b514
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 0x40b54d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404010
jmp 0x40b556
mov eax, ebx
mov edx, esi
call fcn.00403f74
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bc08
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ba80
mov eax, dword [0x495568]
cmp byte [eax], 0
je 0x40bc84
mov eax, dword [0x4951ec]
call fcn.004029e0
call fcn.00402854
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.00408c6c
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 0x40bccc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bcba
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x495158]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x496668]
call fcn.004053a0
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 0x40c568
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 0x40c63e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fb8
lea eax, [ebp - 8]
call fcn.00404430
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043e0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c628
mov eax, ebx
call fcn.004026ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c621
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.004043e0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c60b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c650
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c60b
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 0x40c628
mov eax, dword [ebp - 0x10]
call fcn.0040270c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c645
lea eax, [ebp - 8]
call fcn.00403f20
ret

Function at 0x40cbc4
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 0x40cc28
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.00404190
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc2f
lea eax, [ebp - 0xc]
call fcn.00403f20
ret

Function at 0x41e440
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.0041e298
dec esi
jne 0x41e462
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41f5a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49688c
cmp dword [edi], 0
jne 0x41f620
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x496888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4933fc
mov ecx, 2
call fcn.004028e8
mov edx, 0x41f57c
lea eax, [esi + 5]
call fcn.0041f59c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f59c
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 0x41f5f5
mov dword [0x496888], 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 0x420bdc
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 0x420be2
ret

Function at 0x4230b0
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 0x423101
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4230e8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4230d8
jmp 0x423101
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 0x4230e9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c088
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.004043d0
xor eax, eax
push ebp
push 0x42c1b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c189
xor eax, eax
push ebp
push 0x42c182
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041e0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c157
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 0x42c146
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041e0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043e0
mov edx, ebx
pop ecx
call fcn.004028e8
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 0x42c14d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x49508c]
mov dl, 1
mov eax, dword [0x4072cc]
call fcn.0040bd8c
call fcn.004038d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c1bd
lea eax, [ebp - 4]
call fcn.00403f20
ret
Function at 0x42c1c4
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 0x42c375
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004045d0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42c38c
call fcn.0040422c
mov eax, ebx
call fcn.0041eb38
mov edi, eax
dec edi
test edi, edi
jl 0x42c27c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041eb0c
mov edx, dword [0x4362b4]
call fcn.004032d8
test al, al
je 0x42c278
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041eb0c
lea edx, [ebp - 0x14]
call fcn.00441f30
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004045d0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042a0
inc esi
dec edi
jne 0x42c22a
mov al, byte [0x42c390]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42c39c
mov eax, dword [ebp - 0xc]
call fcn.0040d19c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403fb8
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.00441f30
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42c38c
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.00441f30
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42c38c
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, 0x42c38c
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, 0x42c3a8
call fcn.00409348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c37c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f44
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f44
lea eax, [ebp - 0x14]
call fcn.00403f20
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f44
ret

Function at 0x43c2f4
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 0x43c240
call sub.user32.dll_EnumWindows
ret