joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402778
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402786
call dword [0x496014]
or eax, eax
je 0x402787
ret
mov al, 1
jmp fcn.00402850

Function at 0x402790
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40279e
call dword [0x496018]
or eax, eax
jne 0x40279f
ret
mov al, 2
jmp fcn.00402850

Function at 0x4027a8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4027e0
test edx, edx
je 0x4027ca
push eax
mov eax, ecx
call dword [0x49601c]
pop ecx
or eax, eax
je 0x4027d9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402850
mov dword [eax], edx
mov eax, ecx
call dword [0x496018]
or eax, eax
jne 0x4027c3
ret
mov al, 1
jmp fcn.00402850
test edx, edx
je 0x4027f4
push eax
mov eax, edx
call dword [0x496014]
pop ecx
or eax, eax
je 0x4027d9
mov dword [ecx], eax
ret

Function at 0x402850
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x499004]
test ecx, ecx
je 0x402860
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402879]
jns 0x402874
call fcn.00406d4c
mov eax, dword [eax + 4]
jmp fcn.00403bd0

Function at 0x402894
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00406d4c
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x4028a9
ret
xor eax, eax
jmp fcn.00402850

Function at 0x4029d8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a07
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403cc0
jmp 0x402a25
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402960
mov edi, eax
test ebx, ebx
je 0x402a25
cmp dword [esi], 0
je 0x402a25
dec ebx
jmp 0x402a0e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402e60
Capabilities:
Query or enumerate registry value

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

Function at 0x403178
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x403192
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x403192
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x40317e
mov al, 0xa
jmp fcn.00402850
ret
Function at 0x4031c4
Capabilities:
Terminate process

Disassembly:
cmp dword [0x499018], 0
je 0x402a8b
call dword [0x499018]
mov eax, 0xd2
jmp fcn.00403bd0
push eax
push ecx
mov eax, dword [eax]
call fcn.00403194
pop ecx
pop eax
je 0x4031d3
jmp ebx
pop ecx
jmp 0x402a7c

Function at 0x4031dc
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00403194
mov eax, ebx
pop ebx
jne 0x4031f1
pop ecx
jmp 0x402a7c
ret

Function at 0x403aac
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4994a0
mov esi, 0x499034
mov edi, 0x499038
cmp byte [ebx + 0x24], 0
jne 0x403adb
cmp dword [edi], 0
je 0x403adb
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403aca
cmp dword [0x49903c], 0
je 0x403b22
call fcn.00403a28
cmp byte [0x499044], 0
je 0x403b08
mov edx, 0x496024
mov eax, 0x499218
call fcn.004065e8
call fcn.0040656b
jmp 0x403b1b
push 0
push 0x496044
push 0x496024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x49903c], eax
cmp byte [ebx + 0x24], 2
jne 0x403b32
cmp dword [esi], 0
jne 0x403b32
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.004038fc
cmp byte [ebx + 0x24], 1
jbe 0x403b42
cmp dword [esi], 0
je 0x403b5f
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403b5f
call fcn.00405e84
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403b5f
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.004038d4
cmp byte [ebx + 0x24], 1
jne 0x403b6d
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403b78
call fcn.00403a78
cmp dword [ebx], 0
jne 0x403b85
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x403b22

Function at 0x4042ac
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00404270
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00404270
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x404258
ret

Function at 0x404354
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402850
test ecx, ecx
je fcn.00404270
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404258
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret
Function at 0x40441c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40445b
cmp al, 0xb
je 0x40445b
cmp al, 0xc
je 0x404465
cmp al, 0xd
je 0x404478
cmp al, 0xe
je 0x404496
cmp al, 0xf
je 0x40445b
cmp al, 0x11
je 0x40445b
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402850
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40445b
jmp 0x4044aa
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404465
jmp 0x4044aa
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.0040441c
dec edi
jg 0x40447b
pop ebp
jmp 0x4044aa
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004043f0
dec edi
jg 0x404499
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4044b0
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.0040441c

Function at 0x4044e8
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40452f
cmp al, 0xb
je 0x404549
cmp al, 0xc
je 0x404560
cmp al, 0xd
je 0x40456f
cmp al, 0xe
je 0x40458d
cmp al, 0xf
je 0x4045a3
cmp al, 0x11
je 0x4045b2
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402850
cmp ecx, 1
mov eax, ebx
jg 0x404540
call fcn.00403bdc
jmp 0x4045c1
mov edx, ecx
call fcn.00403c00
jmp 0x4045c1
cmp ecx, 1
mov eax, ebx
jg 0x404557
call fcn.00404270
jmp 0x4045c1
mov edx, ecx
call fcn.00404288
jmp 0x4045c1
mov eax, ebx
add ebx, 0x10
call fcn.00405230
dec edi
jg 0x404560
jmp 0x4045c1
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004044e8
dec edi
jg 0x404572
pop ebp
jmp 0x4045c1
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004044bc
dec edi
jg 0x404590
pop ebp
jmp 0x4045c1
mov eax, ebx
add ebx, 4
call fcn.00405f4c
dec edi
jg 0x4045a3
jmp 0x4045c1
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00405ae0
dec edi
jg 0x4045b2
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x4045c8
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004044e8
Function at 0x4045d4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x404600
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402920
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40463f
cmp cl, 0xb
je 0x404650
cmp cl, 0xc
je 0x404661
cmp cl, 0xd
je 0x404672
cmp cl, 0xe
je 0x404692
cmp cl, 0xf
je 0x4046ab
cmp cl, 0x11
je 0x4046bc
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402850
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403c30
mov eax, 4
jmp 0x4046cd
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004042ac
mov eax, 4
jmp 0x4046cd
lea edx, [esi + eax]
add eax, ebx
call fcn.00404990
mov eax, 0x10
jmp 0x4046cd
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004046f0
pop eax
jmp 0x4046cd
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004045d4
pop eax
jmp 0x4046cd
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405f64
mov eax, 4
jmp 0x4046cd
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405b1c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4045ee
pop ecx
sub ecx, eax
jle 0x4046e9
lea edx, [ebx + eax]
add eax, esi
call fcn.00402920
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4046f0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x404736
cmp cl, 0xb
je 0x40474d
cmp cl, 0xc
je 0x404761
cmp cl, 0xd
je 0x404775
cmp cl, 0xe
je 0x404796
cmp cl, 0xf
je 0x4047b3
cmp cl, 0x11
je 0x4047c7
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402850
mov eax, ebx
mov edx, dword [esi]
call fcn.00403c30
add ebx, 4
add esi, 4
dec ebp
jne 0x404736
jmp 0x4047db
mov eax, ebx
mov edx, dword [esi]
call fcn.004042ac
add ebx, 4
add esi, 4
dec ebp
jne 0x40474d
jmp 0x4047db
mov eax, ebx
mov edx, esi
call fcn.00404990
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404761
jmp 0x4047db
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004046f0
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x40477e
jmp 0x4047db
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004045d4
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404796
jmp 0x4047db
mov eax, ebx
mov edx, dword [esi]
call fcn.00405f64
add ebx, 4
add esi, 4
dec ebp
jne 0x4047b3
jmp 0x4047db
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00405b1c
add ebx, 4
add esi, 4
dec ebp
jne 0x4047c7
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404990
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402850
cmp eax, edx
je 0x404a27
cmp word [eax], 8
jb 0x4049c8
push eax
push edx
cmp word [eax], 0x100
je 0x4049be
cmp word [eax], 0x101
je 0x4049b6
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x4049c6
call dword [0x4993e4]
jmp 0x4049c6
add eax, 8
call fcn.00403bdc
pop edx
pop eax
cmp word [edx], 8
jae 0x4049df
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x4049fa
cmp word [edx], 0x101
jne 0x404a13
push eax
call 0x4049ce
pop eax
jmp dword [0x4993ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x404a0a
mov ecx, dword [edx - 8]
inc ecx
jle 0x404a0a
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x404944
ret

Function at 0x404e28
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x404e36
mov edx, dword [edx + 8]
jmp fcn.004042ac
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404ba0
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.00404260
add esp, 0x10
pop ebx
ret

Function at 0x404fb8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.00405238
xor eax, eax
push ebp
push 0x404faa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x4993e8]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00404fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404fb1
lea eax, [ebp - 0x10]
call fcn.00405230
ret
cmp word [edx], 0x101
je 0x404f54
cmp word [edx], 0x100
jne fcn.00404990
cmp word [eax], 8
jb 0x404fdd
push eax
push edx
call fcn.0040494c
pop edx
pop eax
mov word [eax], 8
add eax, 8
add edx, 8
xor ecx, ecx
mov edx, dword [edx]
mov dword [eax], ecx
jmp fcn.00404378
Function at 0x405120
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x405146
cmp eax, 0x100
jne 0x405175
mov eax, 8
cmp edx, 0x11
jbe 0x405158
cmp edx, 0x100
jne case.default.0x40516c
mov edx, 8
mov al, byte [eax + 0x49605c]
mov dl, byte [edx + 0x49605c]
movzx ecx, byte [edx + eax*8 + 0x496070]
jmp dword [ecx*4 + 0x405187]
mov eax, edx
cmp eax, 0x101
jne case.0x40516c.0
pop edi
pop esi
call fcn.0040508c
push eax
popf
ret
pop edi
pop esi
jmp 0x404944
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404c94
xchg edi, eax
call fcn.00404c94
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404d34
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404d34
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.00404d90
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404d90
fld xword [esp]
add esp, 0xc
jmp 0x4051df
mov eax, edi
mov edx, esi
call fcn.00405024
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404d00
xchg edi, eax
call fcn.00404d00
mov edx, edi
cmp al, dl
pop edi
pop esi
ret
Function at 0x405ba0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405d58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c01
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405d74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c6e
xor eax, eax
push ebp
push 0x405c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405d94
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c6e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405d4f
cmp byte [ebp - 0xd], 0
jne 0x405cb0
cmp byte [ebp - 0x12], 0
je 0x405d4f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405cc9
dec ebx
cmp byte [ebx], 0x2e
je 0x405cd8
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405cc8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d4f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d05
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d4f
cmp byte [ebp - 0xd], 0
je 0x405d4f
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d4f
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b778
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 0x40b7b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cc0
jmp 0x40b7ba
mov eax, ebx
mov edx, esi
call fcn.00403c74
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b7c4
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 0x40b7e5
mov al, byte [esp]
jmp 0x40b7e7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x419914
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 0x41991a
ret

Function at 0x41bf88
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 0x41bfd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41bfc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41bfb0
jmp 0x41bfd9
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 0x41bfc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427024
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4270ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x427095
mov eax, dword [0x49803c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x427063
push ebx
push 0x4270bc
call fcn.004401e8
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x427091
lea edx, [ebp - 4]
mov eax, dword [0x497d0c]
call fcn.00405ef4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x407e60]
call fcn.0040bf18
call fcn.004036d4
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4270b5
lea eax, [ebp - 4]
call fcn.00403bdc
ret

Function at 0x4270dc
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]
call fcn.00427024
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42714e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x427122
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d90
jmp 0x427129
mov eax, ebx
call fcn.00403bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427155
cmp dword [ebp - 8], 0
je 0x427145
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00426ff8
ret

Function at 0x42715c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42723a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00427024
xor edx, edx
push ebp
push 0x42721d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4271e6
mov edx, ebx
mov eax, dword [0x4193e8]
call fcn.0041d6a0
test al, al
je 0x4271d6
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.0041d574
call fcn.00403774
jmp 0x427224
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4271a1
lea edx, [ebp - 8]
mov eax, dword [0x497d98]
call fcn.00405ef4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x407e60]
call fcn.0040bf18
call fcn.004036d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427224
mov eax, dword [ebp - 4]
call fcn.00426ff8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427241
lea eax, [ebp - 8]
call fcn.00403bdc
ret
Function at 0x427248
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]
call fcn.00427024
xor eax, eax
push ebp
push 0x4272a0
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4272a7
mov eax, dword [ebp - 4]
call fcn.00426ff8
ret

Function at 0x4272b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00427024
xor edx, edx
push ebp
push 0x427305
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42730c
mov eax, dword [ebp - 4]
call fcn.00426ff8
ret

Function at 0x42737c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00427024
xor eax, eax
push ebp
push 0x4273f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00426fdc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041d674
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4273db
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4273f8
mov eax, dword [ebp - 4]
call fcn.00426ff8
ret

Function at 0x427400
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00427024
xor eax, eax
push ebp
push 0x427475
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00426fdc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42745f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42747c
mov eax, dword [ebp - 4]
call fcn.00426ff8
ret