joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca423
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xc9
push ecx
call ebp
mov byte [0x4f3c3e], 1
mov ebx, dword [0x4f3c48]
or ebx, dword [0x4f3c4c]
je 0x4ca452
mov edx, dword [esp + 0x10]
sub edx, dword [0x4f3c44]
cmp edx, 0x7d0
jle 0x4ca467
mov eax, dword [esp + 0x10]
mov dword [0x4f3c48], edi
mov dword [0x4f3c4c], esi
mov dword [0x4f3c44], eax
mov ebx, dword [esp + 0xec]
call 0x54a03f
push 0
push 0
push 0
push 0
push 0
call 0x56a99e
cmp byte [0x4f3c3c], 0
add byte [ebp + 0x74], bl
invalid
xor esi, esi
test ebx, ebx
jbe 0x4ca539
mov edi, dword [0x4ea118]
test edi, edi
jne 0x4ca508
movzx eax, word [0x4ea110]
movzx ecx, word [0x4ea112]
imul eax, eax, 0x9069
movzx edx, word [0x4ea116]
add eax, ecx
movzx ecx, word [0x4ea114]
imul ecx, ecx, 0x4650
add ecx, edx
mov edx, dword [0x4ea120]
mov dword [0x4ea110], eax
shl eax, 0x10
add edx, 4
xor eax, ecx
and edx, 0xfc
mov dword [0x4ea114], ecx
mov dword [0x4ea120], edx
mov edi, 0x10
jmp 0x4ca513
mov edx, dword [0x4ea120]
mov eax, dword [0x4ea11c]
mov ecx, eax
shr eax, 2
call 0x42e281d
mov dword [0x4ea11c], eax
mov eax, dword [esp + 0x10]
dec edi
or ecx, edx
mov dword [0x4ea118], edi
mov byte [eax + esi], cl
inc esi
cmp esi, ebx
jb 0x4ca4a6
mov eax, ebx
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx

Function at 0x4ca48c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add byte [ebp + 0x74], bl
adc byte [ebx + 0x4f3c382d], al
sub dword [0x4f3c38], 1
jne 0x4ca49c
xor eax, eax
jmp 0x4ca53b

Function at 0x4ca516
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xc9
push ecx
call ebp
mov byte [0x4f3c3e], 1
mov ebx, dword [0x4f3c48]
or ebx, dword [0x4f3c4c]
je 0x4ca452
mov edx, dword [esp + 0x10]
sub edx, dword [0x4f3c44]
cmp edx, 0x7d0
jle 0x4ca467
mov eax, dword [esp + 0x10]
mov dword [0x4f3c48], edi
mov dword [0x4f3c4c], esi
mov dword [0x4f3c44], eax
mov ebx, dword [esp + 0xec]
call 0x54a03f
push 0
push 0
push 0
push 0
push 0
call 0x56a99e
cmp byte [0x4f3c3c], 0
add byte [ebp + 0x74], bl
invalid
xor esi, esi
test ebx, ebx
jbe 0x4ca539
mov edi, dword [0x4ea118]
test edi, edi
jne 0x4ca508
movzx eax, word [0x4ea110]
movzx ecx, word [0x4ea112]
imul eax, eax, 0x9069
movzx edx, word [0x4ea116]
add eax, ecx
movzx ecx, word [0x4ea114]
imul ecx, ecx, 0x4650
add ecx, edx
mov edx, dword [0x4ea120]
mov dword [0x4ea110], eax
shl eax, 0x10
add edx, 4
xor eax, ecx
and edx, 0xfc
mov dword [0x4ea114], ecx
mov dword [0x4ea120], edx
mov edi, 0x10
jmp 0x4ca513
mov edx, dword [0x4ea120]
mov eax, dword [0x4ea11c]
mov ecx, eax
shr eax, 2
call 0x42e281d
mov dword [0x4ea11c], eax
mov eax, dword [esp + 0x10]
dec edi
or ecx, edx
mov dword [0x4ea118], edi
mov byte [eax + esi], cl
inc esi
cmp esi, ebx
jb 0x4ca4a6
mov eax, ebx
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
Function at 0x4cab53
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, 1
add dword [eax], eax
add byte [eax], al
mov dword [esp + 0x3c], edx
test byte [0x4f3cb0], cl
add byte [ebp + 0x5b], dh
or dword [0x4f3cb0], ecx
mov dword [esp + 0xa0], 0
mov ecx, 0x6a09e667
mov esi, 0xbb67ae85
mov edi, 0x3c6ef372
mov ebx, 0xa54ff53a
dec edi
movsd dword es:[edi], dword [esi]
movd xmm0, ebx
movd xmm1, edi
movd xmm2, esi
movdqa xmm3, xmmword [0x4f3ca0]

Function at 0x4caf0d
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
movd xmm7, dword [esp + 0x14]
paddd xmm2, xmm1
pxor xmm0, xmm2
movdqa xmm3, xmm0
pslld xmm0, 0x18
psrld xmm3, 8
pxor xmm3, xmm0
movdqa xmm0, xmmword [esp + 0x64]
paddd xmm0, xmm3

Function at 0x4caf37
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
movdqa xmm5, xmm0
pxor xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, 7
pslld xmm1, 0x19
pxor xmm0, xmm1
pshufd xmm1, xmm5, 0x4e
movdqa xmmword [esp + 0x64], xmm1
pshufd xmm1, xmm0, 0x39
movd xmm0, dword [esp + 0x2c]
movd xmm5, ebx
pshufd xmm3, xmm3, 0x93
movd xmm6, edi
punpckldq xmm7, xmm5
movd xmm5, dword [esp + 0x28]
punpckldq xmm6, xmm0
punpckldq xmm7, xmm6
paddd xmm2, xmm7
movd xmm7, dword [esp + 0x10]
paddd xmm2, xmm1
pxor xmm3, xmm2
movdqa xmm0, xmm3
pslld xmm3, 0x10
psrld xmm0, 0x10
pxor xmm0, xmm3
movdqa xmm3, xmmword [esp + 0x64]
paddd xmm3, xmm0
pxor xmm1, xmm3
movdqa xmmword [esp + 0x64], xmm3
movdqa xmm3, xmm1
invalid
invalid
jb 0x4cafb9

Function at 0x4cb70a
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
movd xmm5, ebx
mov ebx, dword [esp + 0x2c]
movd xmm6, ebx
mov ebx, dword [esp + 0x24]
movd xmm7, ebx
punpckldq xmm7, xmm5
punpckldq xmm6, xmm3
mov ebx, dword [esp + 0x18]
invalid

Function at 0x4cbb22
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
movq qword [esp + 0x64], mm1
pshufd xmm1, xmm0, 0x93
movd xmm0, edi
outsb dx, byte [esi]
invalid
movd xmm6, ebx
movd xmm7, ecx
pshufd xmm3, xmm3, 0x39
punpckldq xmm6, xmm0
punpckldq xmm7, xmm5
mov ebx, dword [esp + 0x1c]
punpckldq xmm7, xmm6
paddd xmm2, xmm7
paddd xmm2, xmm1
pxor xmm3, xmm2
movdqa xmm0, xmm3
pslld xmm3, 0x10
psrld xmm0, 0x10
pxor xmm0, xmm3
movdqa xmm3, xmmword [esp + 0x64]
paddd xmm3, xmm0
pxor xmm1, xmm3
Function at 0x4cbcc8
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
paddd xmm0, xmm3
movdqa xmm5, xmm0
pxor xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, 7
pslld xmm1, 0x19
pxor xmm0, xmm1
pshufd xmm1, xmm5, 0x4e
movdqa xmmword [esp + 0x64], xmm1
pshufd xmm1, xmm0, 0x93
movd xmm0, ebx
mov ebx, dword [esp + 0x28]
movd xmm5, ebx
mov ebx, dword [esp + 0x1c]
movd xmm6, ebx
mov ebx, dword [esp + 0x38]
pop esp
and al, 0x38
movd xmm7, ebx
mov ebx, dword [esp + 0x2c]
pshufd xmm3, xmm3, 0x39
punpckldq xmm6, xmm0
punpckldq xmm7, xmm5
punpckldq xmm7, xmm6
paddd xmm2, xmm7
paddd xmm2, xmm1
pxor xmm3, xmm2
movdqa xmm0, xmm3
pslld xmm3, 0x10
psrld xmm0, 0x10
pxor xmm0, xmm3
movdqa xmm3, xmmword [esp + 0x64]
paddd xmm3, xmm0
pxor xmm1, xmm3
movdqa xmmword [esp + 0x64], xmm3
movdqa xmm3, xmm1
pslld xmm3, 0x14
psrld xmm1, 0xc
pxor xmm1, xmm3
movd xmm5, ecx
mov ecx, dword [esp + 0x24]
movd xmm3, ebx
movd xmm6, edx
mov edx, dword [esp + 0x34]
movd xmm7, esi
punpckldq xmm6, xmm3
punpckldq xmm7, xmm5
punpckldq xmm7, xmm6
paddd xmm2, xmm7
paddd xmm2, xmm1
pxor xmm0, xmm2
movdqa xmm3, xmm0
pslld xmm0, 0x18
psrld xmm3, 8
pxor xmm3, xmm0
movdqa xmm0, xmmword [esp + 0x64]
paddd xmm0, xmm3
movdqa xmm5, xmm0
pxor xmm1, xmm5
movdqa xmm0, xmm1
invalid
invalid

Function at 0x4cc01f
Capabilities:
Hash data using sha256

Disassembly:
movzx ebx, byte [eax]
mov dword [esp + ecx*4 + 0x50], edi
movzx edi, byte [eax + 1]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax - 1]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax - 2]

Function at 0x4cc06b
Capabilities:
Hash data using sha256

Disassembly:
movzx edi, byte [eax - 3]
movzx ebx, byte [eax - 4]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax - 5]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax - 6]
shl edi, 8
add edi, ebx
movzx edi, byte [eax + 9]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax + 7]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax + 6]
shl edi, 8
add edi, ebx
mov dword [esi + eax], edi
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
stc
adc byte [edi], cl
sub byte [eax - 1], 0xff
invalid
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 0xf4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x18], edx

Function at 0x4cc090
Capabilities:
Hash data using sha256

Disassembly:
movzx edi, byte [eax - 3]
movzx ebx, byte [eax - 4]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax - 5]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax - 6]
shl edi, 8
add edi, ebx
movzx edi, byte [eax + 9]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax + 7]
shl edi, 8
add edi, ebx
movzx ebx, byte [eax + 6]
shl edi, 8
add edi, ebx
mov dword [esi + eax], edi
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
stc
adc byte [edi], cl
sub byte [eax - 1], 0xff
invalid
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 0xf4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x18], edx

Function at 0x4cc0a4
Capabilities:
Hash data using sha256

Disassembly:
add byte [ebx + 0x588b0850], cl
adc al, 0x8b
or byte [ebx + 0x54890478], cl
and al, 0x18
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], ebx
and al, 0x24
Function at 0x4cc0b9
Capabilities:
Hash data using sha256

Disassembly:
add byte [ebx + 0x588b0850], cl
adc al, 0x8b
or byte [ebx + 0x54890478], cl
and al, 0x18
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], ebx
and al, 0x24

Function at 0x4ce6dc
Capabilities:
Access peb ldr_data

Disassembly:
add byte [eax + 0x51], dl
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 8]
push eax
call 0x5901f0
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x4ce734
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x41dff0
push ecx
push 0x8a4
push eax
call 0x590592
push edi
call 0x590217
add esp, 4
mov edx, dword [esi + 4]
push edx
call 0x5506c9
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call 0x533379
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x8cf160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008cf2b0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8cf186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8cf172
add dl, dl
jne 0x8cf191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8cf1e4
xor eax, eax
add dl, dl
jne 0x8cf19e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8cf285
add dl, dl
jne 0x8cf1ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8cf1b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8cf1c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8cf1ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8cf1da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8cf17d
mov eax, 1
add dl, dl
jne 0x8cf1f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8cf1fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8cf1e9
sub eax, ebx
mov ebx, 1
jne 0x8cf230
mov ecx, 1
add dl, dl
jne 0x8cf216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8cf221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8cf20d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8cf17d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8cf247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8cf252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8cf23e
cmp eax, 0x7d00
jae 0x8cf275
cmp eax, 0x500
jb 0x8cf270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8cf17d
cmp eax, 0x7f
ja 0x8cf278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8cf17d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8cf2a6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8cf17d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x406243
pop dword [ebp - 0x20]
mov eax, 0xb66b98f5
add eax, 0x49d4c94e
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x5fe79fe
sub dword [ebp - 0x30], 0xb7ac34b3
mov dword [ebp - 0x2c], 0x494ca4d3
sub dword [ebp - 0x2c], 0x1719588e
mov dword [ebp - 0x28], 0x2d54c40b
sub dword [ebp - 0x28], 0xe1087fdd
mov dword [ebp - 0x24], 0xc54edb55
sub dword [ebp - 0x24], 0xc54edb55
lea eax, [ebp - 0x30]
push eax
mov eax, 0x18694f2c
sub eax, 0x1828ce28
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x8c6075
sub dword [ebp - 0x30], 0x8c19f71f
mov dword [ebp - 0x2c], 0x96697a4b
sub dword [ebp - 0x2c], 0x54fd18d6
mov dword [ebp - 0x28], 0x8e0f9a5f
sub dword [ebp - 0x28], 0x2aa02df3
mov dword [ebp - 0x24], 0x8f3f1436
sub dword [ebp - 0x24], 0x8f3f1436
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x6c77ffe8
sub eax, 0x6c377ee8
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x364f7
push 0
call eax
mov ecx, 0x4526
xor ebx, ebx
add ebx, eax
mov esi, 0x46e400
add esi, dword [ebp - 0x20]
mov edi, 0xaca78b98
sub edi, 0xa017d33d
sub dword [ebp - 0x14], edx
mov edx, dword [esi]
add dword [ebp - 0xc], 0xf63cf93f
sub edx, edi
xor dword [ebp - 4], 0x7d4d3768
mov dword [ebx], edx
mov dword [ebp - 0x1c], 0x97c358d9
add ebx, 0x2a2e51b1
sub ebx, 0x2a2e51ad
add esi, 0x4d7a4d11
add esi, 0xb285b2f3
loop 0x40635b
add eax, 0x7e59891f
add eax, 0x81a77e4c
xor ebx, ebx
add ebx, eax
add eax, 0x4496375a
add eax, 0xbb69c8ab
mov ecx, 0x7ffd5ee9
sub ecx, 0x7fbd5ee9
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x402e58
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a30
test esi, esi
jne 0x402e8f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404b20
jmp 0x402eb0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cf4
mov dword [esp], eax
test esi, esi
je 0x402eb0
cmp dword [ebx], 0
je 0x402eb0
dec esi
jmp 0x402e97
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403b10
Capabilities:
Query or enumerate registry value

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

Function at 0x4048ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x482048], 0
je 0x40490d
cmp word [0x48221c], 0xd7b2
jne 0x4048d5
cmp dword [0x482224], 0
jbe 0x4048d5
mov eax, 0x482218
call dword [0x482234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x480094
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 0x404934
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x480034], 0
jne 0x404929
push 0
push 0x48008c
push 0x480094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4069a8
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 0x406a0e
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.00404ca0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4069f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a15
lea eax, [ebp - 0x10]
call fcn.00404a30
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ef0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40957d
test al, 0x10
jne 0x409581
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c374
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 0x40c3ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b20
jmp 0x40c3b6
mov eax, ebx
mov edx, esi
call fcn.00404a84
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d398
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 0x40d46e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ac8
lea eax, [ebp - 8]
call fcn.00404f40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ef0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d458
mov eax, ebx
call fcn.00402a88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d451
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.00404ef0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d43b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d480
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d43b
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 0x40d458
mov eax, dword [ebp - 0x10]
call fcn.00402ab8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d475
lea eax, [ebp - 8]
call fcn.00404a30
ret
Function at 0x40dac4
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 0x40db28
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.00404ca0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004091c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db2f
lea eax, [ebp - 0xc]
call fcn.00404a30
ret

Function at 0x41fae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x482884
cmp dword [edi], 0
jne 0x41fb5c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x482880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4804bc
mov ecx, 2
call fcn.00402cb4
mov edx, 0x41fab8
lea eax, [esi + 5]
call fcn.0041fad8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041fad8
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 0x41fb31
mov dword [0x482880], 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 0x421148
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 0x42114e
ret

Function at 0x4237cc
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 0x42381d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423804
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4237f4
jmp 0x42381d
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 0x423805
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ff04
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 0x42ff76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42ff4a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404c28
jmp 0x42ff51
mov eax, ebx
call fcn.00404a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ff7d
cmp dword [ebp - 8], 0
je 0x42ff6d
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 0x42ff84
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 0x430026
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42fff9
mov edx, ebx
mov eax, dword [0x420c0c]
call fcn.00424fbc
test al, al
je 0x42ffe9
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.00424ecc
call fcn.004044f0
jmp 0x43002d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42ffb4
mov ecx, dword [0x481354]
mov dl, 1
mov eax, dword [0x407e80]
call fcn.0040cbfc
call fcn.00404444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43002d
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

Function at 0x430034
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 eax, eax
push ebp
push 0x43008c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430093
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret