joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d2d61
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call fcn.006d7b81
add esp, 4
cmp eax, 0xffffffff
jne 0x6d2d7e
or eax, eax
pop ebp
add esp, 0xc
ret
push ebx
push esi
mov esi, dword [esp + 0x20]
lea eax, [ebp + 0x3070]
push edi
lea ebx, [esi + 0x12]
push ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.006d7e51
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
jne 0x6d2dc4
push ebx
push 0x426654
push 0x426688
call fcn.006d3b51
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
mov edx, dword [ebp]
test edx, edx
jne 0x6d2dfb
lea eax, [ebp + 0x70]
push 0x4263b0
push eax
call fcn.006d50f1
mov edx, eax
add esp, 8
mov dword [ebp], edx
test edx, edx
jne 0x6d2dfb
push ebx
push 0x426598
call fcn.006d3cb1
add esp, 8
or edi, 0xffffffff
jmp 0x6d2f21
mov ecx, dword [esi + 4]
xor eax, eax
add ecx, dword [ebp + 8]
push 0
adc eax, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.006df627
add esp, 0x10
test eax, eax
jns 0x6d2e32
push ebx
push 0x4265cc
push 0x426608
call fcn.006d3b51
add esp, 0xc
or edi, 0xffffffff
jmp 0x6d2f21
cmp byte [esi + 0x10], 1
jne 0x6d2e4c
push 0
push edi
push esi
push ebp
call fcn.006d2971
add esp, 0x10
mov edi, eax
jmp 0x6d2f21
push 0x2000
xor edi, edi
call fcn.006e330a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x6d2e7e
push ebx
push 0x4264e4
push 0x42644c
call fcn.006d3b51
add esp, 0xc
or edi, 0xffffffff
jmp 0x6d2f21
mov esi, dword [esi + 0xc]
xor ebx, ebx
test esi, esi
je 0x6d2f18
nop word [eax + eax]
test ebx, ebx
jb 0x6d2ea6
ja 0x6d2e9f
cmp esi, 0x2000
jbe 0x6d2ea6
mov edi, 0x2000
jmp 0x6d2ea8
mov edi, esi
push dword [ebp]
push 1
push edi
push eax
call fcn.006df203
add esp, 0x10
cmp eax, 1
jb 0x6d2efb
push dword [esp + 0x18]
push 1
push edi
push dword [esp + 0x1c]
call fcn.006df926
add esp, 0x10
cmp eax, 1
jb 0x6d2eeb
mov eax, dword [esp + 0x10]
sub esi, edi
sbb ebx, 0
test ebx, ebx
ja 0x6d2e9f
jb 0x6d2ee7
test esi, esi
jne 0x6d2e91
xor edi, edi
jmp 0x6d2f14
push dword [esp + 0x14]
push 0x42655c
push 0x426590
jmp 0x6d2f09
push dword [esp + 0x14]
push 0x426520
push 0x426554
call fcn.006d3b51
add esp, 0xc
or edi, 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call fcn.006e32ef
add esp, 4
mov eax, dword [ebp]
test eax, eax
je 0x6d2f38
push eax
call fcn.006defa2
add esp, 4
mov dword [ebp], 0
push dword [esp + 0x18]
call fcn.006defa2
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x6d3081
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x434000]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov eax, dword [esi]
test eax, eax
jne 0x6d30b3
lea eax, [esi + 0x70]
push 0x4263b0
push eax
call fcn.006d50f1
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x6d3110
mov edx, dword [0x4286c8]
mov ecx, dword [0x4286cc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
shrd edx, ecx, 0x18
push 8
lea ecx, [esp + 0x10]
add dl, 0xc
push ecx
push eax
mov byte [esp + 0x1b], dl
call fcn.006d83e1
mov edi, eax
mov ebx, edx
mov ecx, edi
add esp, 0xc
or ecx, ebx
je 0x6d3110
push 0
push ebx
push edi
push dword [esi]
call fcn.006df627
add esp, 0x10
test eax, eax
jns 0x6d3125
push 0x426690
push 0x426608
call fcn.006d3b51
add esp, 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.006dba3f
add esp, 0xc
ret
push dword [esi]
lea eax, [esi + 0x18]
push 1
push 0x58
push eax
call fcn.006df203
add esp, 0x10
cmp eax, 1
jae 0x6d3163
push 0x4266b4
push 0x426554
call fcn.006d3b51
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.006dba3f
add esp, 0xc
ret
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
bswap eax
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
bswap ecx
sub edi, ecx
mov dword [esi + 0x20], ecx
bswap eax
sbb ebx, 0
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x2c]
add edi, 0x58
bswap eax
adc ebx, 0
mov dword [esi + 0x2c], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x5074], 0
mov dword [0x434abc], eax
xor eax, eax
mov ecx, dword [esi + 0x24]
add ecx, dword [esi + 8]
push 0
adc eax, dword [esi + 0xc]
push eax
push ecx
push dword [esi]
call fcn.006df627
push dword [esi + 0x28]
call fcn.006e330a
add esp, 0x14
mov dword [esi + 0x10], eax
test eax, eax
jne 0x6d31f2
push 0x4266cc
push 0x42644c
call fcn.006d3b51
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.006dba3f
add esp, 0xc
ret
push dword [esi]
push 1
push dword [esi + 0x28]
push eax
call fcn.006df203
add esp, 0x10
cmp eax, 1
jae 0x6d3211
push 0x4266f0
jmp 0x6d3141
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x10]
push dword [esi]
mov dword [esi + 0x14], eax
call fcn.006deffe
add esp, 4
test eax, eax
je 0x6d324a
push 0x42670c
call fcn.006d3cb1
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.006dba3f
add esp, 0xc
ret
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jae 0x6d328b
mov ecx, dword [eax + 4]
mov edx, dword [eax]
bswap ecx
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
bswap ecx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
bswap edx
bswap ecx
mov dword [eax], edx
mov dword [eax + 0xc], ecx
add eax, edx
cmp eax, dword [esi + 0x10]
jb 0x6d327e
cmp eax, dword [esi + 0x14]
jb 0x6d3252
jmp 0x6d328b
push 0x426390
call fcn.006d3cb1
add esp, 4
push esi
call fcn.006d2bb1
mov ecx, dword [esp + 0x18]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006dba3f
add esp, 0xc
ret
Function at 0x6d7a51
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.006dba51
mov eax, dword [0x434000]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebx
push esi
mov esi, dword [esp + 0x1018]
push edi
mov edi, dword [esp + 0x1018]
push 0x4263b0
push eax
call fcn.006d50f1
push esi
push edi
mov ebx, eax
call fcn.006d7e51
add esp, 0x10
xor edi, edi
mov esi, eax
test ebx, ebx
je 0x6d7b50
push ebx
test esi, esi
je 0x6d7b55
call fcn.006defd2
add esp, 4
test eax, eax
jne 0x6d7b27
nop dword [eax + eax]
push ebx
push 0x1000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.006df203
add esp, 0x10
test eax, eax
jne 0x6d7aea
push ebx
call fcn.006deffe
add esp, 4
test eax, eax
je 0x6d7b0c
push ebx
jmp 0x6d7b1c
push esi
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.006df926
add esp, 0x10
test eax, eax
je 0x6d7b1b
push esi
call fcn.006deffe
add esp, 4
test eax, eax
jne 0x6d7b1b
push ebx
call fcn.006defd2
add esp, 4
test eax, eax
je 0x6d7ac1
jmp 0x6d7b27
push esi
call fcn.006e5fed
add esp, 4
or edi, 0xffffffff
push ebx
call fcn.006defa2
push esi
call fcn.006defa2
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.006dba3f
add esp, 0x1004
ret
test esi, esi
je 0x6d7b5d
push esi
call fcn.006defa2
add esp, 4
mov ecx, dword [esp + 0x100c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006dba3f
add esp, 0x1004
ret
Function at 0x6d83e1
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xorps xmm0, xmm0
push 0x2000
movlpd qword [esp + 0x1c], xmm0
call fcn.006e330a
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x6d854b
mov ebx, dword [esp + 0x2c]
push 2
push 0
push 0
push ebx
call fcn.006df627
add esp, 0x10
test eax, eax
js 0x6d854b
push ebx
call fcn.006e6694
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x34]
test edx, edx
jb 0x6d854b
ja 0x6d8467
cmp edi, eax
jb 0x6d854b
test edx, edx
jne 0x6d8467
cmp edi, 0x2000
jae 0x6d8467
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
jmp 0x6d8474
mov ebp, edi
mov ebx, edx
add ebp, 0xffffe000
adc ebx, 0xffffffff
sub edi, ebp
mov dword [esp + 0x10], ebx
cmp edi, eax
jb 0x6d854b
push 0
push ebx
push ebp
push dword [esp + 0x38]
call fcn.006df627
add esp, 0x10
test eax, eax
js 0x6d854b
push dword [esp + 0x2c]
push edi
push 1
push esi
call fcn.006df203
add esp, 0x10
cmp eax, edi
jne 0x6d854b
mov eax, dword [esp + 0x34]
sub edi, eax
add edi, 1
je 0x6d852a
lea ebx, [esi - 1]
add ebx, edi
mov esi, dword [esp + 0x30]
mov edx, ebx
sub eax, 4
jb 0x6d84e2
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x6d84eb
add edx, 4
add esi, 4
sub eax, 4
jae 0x6d84d1
cmp eax, 0xfffffffc
je 0x6d856b
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x6d8518
cmp eax, 0xfffffffd
je 0x6d856b
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x6d8518
cmp eax, 0xfffffffe
je 0x6d856b
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x6d8518
cmp eax, 0xffffffff
je 0x6d856b
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x6d856b
mov eax, dword [esp + 0x34]
dec ebx
sub edi, 1
jne 0x6d84c2
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, eax
mov edx, 0
add edi, ebp
adc edx, ebx
add edi, 0xffffffff
adc edx, 0xffffffff
test ebx, ebx
jne 0x6d8448
test ebp, ebp
jne 0x6d8448
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.006e32ef
add esp, 4
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor esi, esi
add edi, ebp
adc esi, dword [esp + 0x10]
add edi, 0xffffffff
adc esi, 0xffffffff
jmp 0x6d8553

Function at 0x6dc391
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.0042604c]
test eax, eax
je 0x6dc3d0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6dc3d0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6dc3d0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x6dc3d0
cmp dword [ecx + 0x74], 0xe
jbe 0x6dc3d0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x6f7081
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6f70ae
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6f70ae
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403054
Capabilities:
Query or enumerate registry value

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

Function at 0x403db8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49c04c], 0
je 0x403e19
cmp word [0x49c220], 0xd7b2
jne 0x403de1
cmp dword [0x49c228], 0
jbe 0x403de1
mov eax, 0x49c21c
call dword [0x49c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49906c
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 0x403e40
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x499030], 0
jne 0x403e35
push 0
push 0x499064
push 0x49906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403f6c
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.00402754
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49c04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f34
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e0c
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 0x405e72
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.00404228
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c18
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e5c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e79
lea eax, [ebp - 0x10]
call fcn.00403fb8
ret

Function at 0x40b5bc
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 0x40b5f5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040a8
jmp 0x40b5fe
mov eax, ebx
mov edx, esi
call fcn.0040400c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bcb0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb28
mov eax, dword [0x49b6c8]
cmp byte [eax], 0
je 0x40bd2c
mov eax, dword [0x49b3b4]
call fcn.00402a48
call fcn.004028bc
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.00408c0c
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 0x40bd74
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd62
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49b334]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49c668]
call fcn.00405304
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 0x40c61c
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 0x40c6f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404050
lea eax, [ebp - 8]
call fcn.004044c8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404478
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6dc
mov eax, ebx
call fcn.00402754
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6d5
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.00404478
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c704
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6bf
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 0x40c6dc
mov eax, dword [ebp - 0x10]
call fcn.00402774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6f9
lea eax, [ebp - 8]
call fcn.00403fb8
ret

Function at 0x40cc78
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 0x40ccdc
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.00404228
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004086a4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cce3
lea eax, [ebp - 0xc]
call fcn.00403fb8
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49c88c
cmp dword [edi], 0
jne 0x41f394
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49c888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49947c
mov ecx, 2
call fcn.00402950
mov edx, 0x41f2f0
lea eax, [esi + 5]
call fcn.0041f310
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f310
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 0x41f369
mov dword [0x49c888], 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 0x4209f0
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 0x4209f6
ret

Function at 0x422f00
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 0x422f51
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422f38
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422f28
jmp 0x422f51
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 0x422f39
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c484
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.00404468
xor eax, eax
push ebp
push 0x42c5b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c585
xor eax, eax
push ebp
push 0x42c57e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404278
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c553
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 0x42c542
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404278
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404478
mov edx, ebx
pop ecx
call fcn.00402950
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 0x42c549
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x49b288]
mov dl, 1
mov eax, dword [0x4072a8]
call fcn.0040be40
call fcn.00403970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c5b9
lea eax, [ebp - 4]
call fcn.00403fb8
ret
Function at 0x42c5c0
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 0x42c771
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404668
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42c788
call fcn.004042c4
mov eax, ebx
call fcn.0041e8ac
mov edi, eax
dec edi
test edi, edi
jl 0x42c678
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e880
mov edx, dword [0x4362dc]
call fcn.00403370
test al, al
je 0x42c674
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041e880
lea edx, [ebp - 0x14]
call fcn.004427c4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404668
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404338
inc esi
dec edi
jne 0x42c626
mov al, byte [0x42c78c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42c798
mov eax, dword [ebp - 0xc]
call fcn.0040d250
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404050
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.004427c4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42c788
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.004427c4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42c788
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, 0x42c788
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, 0x42c7a4
call fcn.004092e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c778
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403fdc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403fdc
lea eax, [ebp - 0x14]
call fcn.00403fb8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403fdc
ret

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