joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59626e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007cba3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005b91ea
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], reloc.KERNEL32.dll_DuplicateHandle
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], reloc.KERNEL32.dll_DuplicateHandle
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x1007e0b8]
push eax
mov ecx, edi
call fcn.005be89a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005bfdb6
test eax, eax
je 0x59638a
mov ecx, dword [esp + 0x3c]
call fcn.005be8c7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [reloc.KERNEL32.dll_DuplicateHandle]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x59634e
push edi
mov ecx, esi
call fcn.005bbf14
mov ecx, esi
call fcn.005964ee
cmp dword [esp + 0x38], 1
jne 0x596383
or ecx, reloc.KERNEL32.dll_DuplicateHandle
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005bc04f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x598dae
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x598de1
push esi
call fcn.0059be9e
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x598dda
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x598e67
mov eax, dword [esi + reloc.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x598e50
mov eax, dword [esi + 8]
test eax, eax
je 0x598e05
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + reloc.KERNEL32.dll_DuplicateHandle]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x598e4c
cmp eax, 2
je 0x598e50
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x598df8
cmp eax, 3
je 0x598e2b
cmp eax, 1
jne 0x598df8
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x598df8
mov edx, dword [esi + reloc.KERNEL32.dll_DuplicateHandle]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x598df8
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00598e8e
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x598e76
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00598e8e
add esp, 4
pop esi
ret

Function at 0x6833ee
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esp], ebx
jmp 0x6833f7
shl ebx, 0xb
xchg bl, bh
bsf dx, si
jmp 0x68343a
Function at 0x690d7e
Capabilities:
Execute anti-debugging instructions

Disassembly:
add ebp, 0x19285701
jmp 0x690f91
jmp 0x690e64
pushfd
mov cl, 0xf2
push esp
mov ax, 0xfb29
pop bx
lea esp, [esp + 2]
jmp 0x690e31
btc edx, ebx
jmp 0x690e18
rdtsc
xchg dh, al
jmp 0x690e46
mov ebp, dword [esp + 0x28]
inc al
jno 0x690e0f
btc edx, ebx
rdtsc
xchg dh, al
jmp 0x690e46
lea esi, [esp]
call fcn.00690e9d
sub esp, 0xbc
jmp 0x690e7e
pop word [esp + 1]
push dword [esp + 1]
lea esp, [esp + 1]
mov dword [esp + 0x68], edi
lea esp, [esp + 0x68]
jmp 0x690d83
mov edi, esp
mov edx, esi
stc
jge 0x690eaa
jl 0x690eb5
mov eax, 0x9372ec4e
mov ebx, ebp
mov eax, 0x4fb10990
push esp
neg dx
jmp 0x690f11
mov cx, 0x24cb
jmp 0x690e87
mov cx, 0x24cb
mov eax, 0x9372ec4e
jmp 0x690e8c
js 0x690f71
neg ch
call fcn.00690ef5
dec esi
neg ch
jmp 0x690b54
call 0x690f78
push word [esp + 1]
sub ch, ah
jmp 0x690fdb
lea esp, [esp + 2]
Function at 0x6b824f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x6b8265
sub ecx, ebx
jmp 0x6b829b
lea esp, [esp + 8]
je 0x6b7ada
jne 0x6b7b55
movsb byte es:[edi], byte ss:[esi]
cmp bl, byte [ebp - 0x54]
insd dword es:[edi], dx
push ecx
rcl byte [ebx - 0x73]
and al, 4

Function at 0x7a6f7e
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg bp
neg ebp
clc
jmp 0x7a6f45
lea esp, [esp + 1]
push word [esp + 1]
lea edx, [edi + edi]
lea esp, [esp + 1]
jmp 0x7a6f97
rcl bp, cl
neg eax
mov dword [esp], esi
mov byte [esp + 3], dh
pop word [esp + 1]
jmp 0x7a6f02
not dx
clc
call 0x7a6f7e
dec byte [ebp + 0x9d2c]
add byte [eax], al
pop eax
lea esp, [esp + 0x25]
add esp, 0
jmp 0x7a6fa4
mov dh, bh
pop dx
mov dh, 0x6a
xchg bp, ax
pushal
push edx
jmp 0x7a6f74
inc ebp
ror ebp, 0x1f
bswap ebp
mov byte [esp], ch
xchg dh, al
xchg byte [esp], dh
jmp 0x7a6fd5
neg dh
mov bp, word [esp]
not dx
bswap ebp
bsf bp, si
mov dx, di
jmp 0x7a7d15
mov dh, byte [esp]
mov bp, 0xc7bd
mov bp, di
lea esp, [esp]
mov ebp, dword [esp]
bswap edx
jmp 0x7a7047
btr ebp, edx
mov eax, 0xb76f8cea
xchg byte [esp], al
neg bp
mov ax, bp
xchg ah, dh
jmp 0x7a6fed
mov edx, dword [esp]
lea edx, [ecx*4]
neg dh
btr ebp, edx
mov dl, dh
mov ebp, dword [esp]
jmp 0x7a7007
mov bp, word [esp]
seto dh
lea esp, [esp]
lea eax, [ecx*4]
neg ax
jmp 0x7a7128
xchg ebp, eax
lea edx, [esp + esi]
ror ah, 1
lea ebp, [esi*4]
lea ebp, [ebx + ebp]
rdtsc
jmp 0x7a7031
mov bp, word [esp + 9]
add esp, 9
mov dword [esp], ecx
mov dl, 0xe4
call 0x7a7079
cmc
in al, 0x17
jle 0x7a70f0
mov bp, bx
xchg dh, al
clc
cmc
push dword [esp]
push dword [esp + 4]
jmp 0x7a7090
rdtsc
mov dh, 0x52
xor bp, 0xb7a4
rcl ax, cl
mov ax, word [esp + 5]
rol dh, 3
jmp 0x7a70a7
lea eax, [ebp*4]
lea ebp, [esi + edi]
mov bp, ax
lea eax, [eax + edi]
sub esp, 6
lea eax, [edx + edi]
jmp 0x7a70df
bsf bp, ax
mov ax, word [esp]
lea ebp, [ecx + edx]
mov byte [esp], ch
mov al, 0xf6
setg dh
jmp 0x7a7064
btr ebp, esp
add esp, 0
clc
btr ebp, esp
mov ebp, dword [esp]
bswap eax
jmp 0x7a714f
lea ebp, reloc.KERNEL32.dll_DuplicateHandle
xchg bp, dx
cmc
mov edx, 0x192c47e0
mov dl, dh
not bp
jmp 0x7a7259
mov ebp, eax
xchg dh, al
mov bp, word [esp]
bswap ebp
rdtsc
and bp, 0x42
jmp 0x7a768f
Function at 0x7a7176
Capabilities:
Execute anti-debugging instructions

Disassembly:
cld
push dword [esp]
jmp 0x7a71a7
pop word [esp + 1]
mov dh, byte [esp + 5]
lea ebp, [eax + edi]
setae dh
jmp 0x7a7218
pop bp
btr ebp, esp
push word [esp + 5]
lea ebp, [edx*4]
bswap ebp
lea ebp, reloc.KERNEL32.dll_DuplicateHandle
jmp 0x7a717c
rcr ebp, 0xf
mov dh, byte [esp + 0x17]
mov edx, 0x921d34ac
not ebp
inc dh
inc al
jmp 0x7a745a
pop word [esp + 1]
inc dl
lea ebp, [esp + ebx]
push dword [esp + 2]
bt eax, esp
pushal
jmp 0x7a71dd
mov edx, ecx
mov dword [esp], eax
lea ebp, [eax + edx]
clc
inc ebp
xchg dword [esp], edx
jmp 0x7a71f5
xchg ebp, eax
xchg dword [esp + 0xe], eax
setbe dh
mov eax, 0x906565ae
push dword [esp + 0x1d]
mov dx, sp
jmp 0x7a72c1
btc ebp, edi
xchg edx, ebp
xchg edx, eax
mov dword [esp + 0x15], esi
mov bp, word [esp + 0x13]
not ebp
jmp 0x7a726d
xchg word [esp + 0x13], ax
push dword [esp + 0x1c]
rol bp, cl
mov ax, cx
mov ax, sp
mov al, ah
jmp 0x7a728d
mov byte [esp + 0x1f], ah
mov ebp, 0xe0045946
xchg dword [esp + 1], ebp
xchg word [esp + 2], dx
xchg byte [esp + 0x22], dl
jmp 0x7a7310
xchg word [esp + 0x11], dx
mov ax, bx
xchg word [esp + 7], ax
stc
rdtsc
mov word [esp + 0x18], di
jmp 0x7a72ab
mov bp, dx
rdtsc
call fcn.007a72f4
not ebp
mov dword [esp + 0xd], esi
inc ebp
mov dh, 0xf8
cld
neg dx
jmp 0x7a739b
xchg dx, bp
mov edx, 0xf327352e
mov bp, 0x69cd
mov ebp, 0x81146eb6
push word [esp + 0x10]
mov dh, ch
jmp 0x7a72dd
lea edx, [ebp - 0x4f]
push dword [esp]
mov ebp, 0x801e9e6
mov dh, byte [esp + 0x22]
xchg bp, ax
lea ebp, [ecx + 0xbb]
jmp 0x7a743f
sub esp, 0
neg ah
cmc
bswap ebp
lea eax, reloc.KERNEL32.dll_DuplicateHandle
mov word [esp + 2], dx
jmp 0x7a734e
lea eax, [edx*4]
mov dh, byte [esp + 0x15]
pop word [esp + 2]
neg ebp
mov dh, byte [esp + 0x24]
mov word [esp + 0x17], sp
jmp 0x7a7377
mov ax, bx
mov word [esp + 0x2b], sp
mov bp, cx
mov bp, word [esp + 0x15]
xchg dword [esp + 0x1d], ebp
mov dh, 0xa
jmp 0x7a73f7
not ah
mov word [esp + 0xa], bx
mov bp, bx
and dh, bh
pushal
lea eax, [ecx + 0xf3]
jmp 0x7a73b8
neg dh
lea esp, [esp + 5]
sub esp, 4
bswap edx
mov dh, 0x68
mov dh, ch
jmp 0x7a753a
push esp
sub esp, 8
mov ax, 0x93d3
btr ebp, esp
call fcn.007a74d9
inc edi
je 0x7a7463
inc ebx
add byte [ebp - 0x70f1db9c], cl
inc esp
and al, 6
lea esp, [esp + 0xe]
pop dword [esp + 6]
neg dx
pop ax
xchg dword [esp + 0xb], eax
mov dword [esp + 6], esi
jmp 0x7a73e2
pop eax
mov bp, word [esp + 4]
mov ebp, edx
xor dl, ch
xchg word [esp + 0xb], bp
mov ebp, esp
jmp 0x7a7421
pop dword [esp + 0x12]
push dword [esp + 0xa]
add esp, 0xd
mov dh, byte [esp + 7]
les ecx, [0x724748a]
neg bp
xchg dh, al
jmp 0x7a7334
sub esp, 6
pop dword [esp + 0xa]
sub esp, 0x18
lea esp, [esp + 0x4c]
mov ax, di
lea ebp, [ecx*4]
jmp 0x7a740b
Function at 0x7a77d3
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 0x13], dh
neg bp
mov al, 0xfe
jmp 0x7a77fc

Function at 0x7ac5b9
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Parse pe header

Disassembly:
call fcn.007ab0c3
mov dword [esp + 0x74], edi
lea esp, [esp + 0x74]
jmp 0x7ac5bb
jmp 0x7ac5a0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x7ac5cd
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x7ac668
push eax
jmp 0x7ab0be

Function at 0x7ac5e7
Capabilities:
Execute anti-debugging instructions
Parse pe header

Disassembly:
mov word [esp], sp
mov word [esp], bx
push edx
push edx
call fcn.007ac5b9
Function at 0x402c70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4c8008], 0x8088405
inc edx
mov dword [ebx + 0x4c8008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4030d4
Capabilities:
Query or enumerate registry value

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

Function at 0x403e38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4cc04c], 0
je 0x403e99
cmp word [0x4cc220], 0xd7b2
jne 0x403e61
cmp dword [0x4cc228], 0
jbe 0x403e61
mov eax, 0x4cc21c
call dword [0x4cc238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c8070
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 0x403ec0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c8034], 0
jne 0x403eb5
push 0
push 0x4c8068
push 0x4c8070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fec
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.004027c0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4cc04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fb4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406088
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 0x4060ee
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.004042a8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060d8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060f5
lea eax, [ebp - 0x10]
call fcn.00404038
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004044f8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408eb5
test al, 0x10
jne 0x408eb9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b96c
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 0x40b9a5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404128
jmp 0x40b9ae
mov eax, ebx
mov edx, esi
call fcn.0040408c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c060
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bed8
mov eax, dword [0x4cb1a8]
cmp byte [eax], 0
je 0x40c0dc
mov eax, dword [0x4cadfc]
call fcn.00402adc
call fcn.00402928
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.00409088
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 0x40c124
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c112
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4cad6c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4cc668]
call fcn.00405580
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 0x40c9cc
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 0x40caa2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040d0
lea eax, [ebp - 8]
call fcn.00404548
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044f8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca8c
mov eax, ebx
call fcn.004027c0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca85
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.004044f8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ca6f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cab4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ca6f
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 0x40ca8c
mov eax, dword [ebp - 0x10]
call fcn.004027e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40caa9
lea eax, [ebp - 8]
call fcn.00404038
ret

Function at 0x40d020
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 0x40d084
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.004042a8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408afc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d08b
lea eax, [ebp - 0xc]
call fcn.00404038
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4cc88c
cmp dword [edi], 0
jne 0x421378
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4cc888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c84a8
mov ecx, 2
call fcn.004029bc
mov edx, 0x4212d4
lea eax, [esi + 5]
call fcn.004212f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004212f4
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 0x42134d
mov dword [0x4cc888], 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 0x4229c4
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 0x4229ca
ret

Function at 0x424f64
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 0x424fb5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424f9c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424f8c
jmp 0x424fb5
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 0x424f9d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430ec8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x430f9a
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x430f6c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x430f5b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004029bc
mov eax, dword [ebp - 4]
call fcn.00430e04
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430f62
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x430fac
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 0x43101e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x430ff2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404230
jmp 0x430ff9
mov eax, ebx
call fcn.00404038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431025
cmp dword [ebp - 8], 0
je 0x431015
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 0x431054
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 edx, edx
push ebp
push 0x4310f6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4310c9
mov edx, ebx
mov eax, dword [0x4223e8]
call fcn.004267f4
test al, al
je 0x4310b9
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00426704
call fcn.00403a9c
jmp 0x4310fd
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x431084
mov ecx, dword [0x4cad50]
mov dl, 1
mov eax, dword [0x4075fc]
call fcn.0040c1f0
call fcn.004039f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4310fd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret