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

Disassembly:
cmp ecx, dword [0x100170b8]
jne 0x100095bd
repz ret
jmp fcn.1000d2ec

Function at 0x100120e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000cc72
and dword [ebp - 4], 0
cmp dword [0x10019738], 0
mov ebx, eax
jne 0x10012195
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10012246
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10012246
push eax
call fcn.1000cc00
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10019738], eax
call esi
push eax
call fcn.1000cc00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001973c], eax
call esi
push eax
call fcn.1000cc00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10019740], eax
call esi
push eax
call fcn.1000cc00
pop ecx
mov dword [0x10019748], eax
test eax, eax
je 0x10012195
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000cc00
pop ecx
mov dword [0x10019744], eax
mov eax, dword [0x10019744]
cmp eax, ebx
je 0x100121ed
cmp dword [0x10019748], ebx
je 0x100121ed
push eax
call fcn.1000cc7b
push dword [0x10019748]
mov esi, eax
call fcn.1000cc7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100121ed
test edi, edi
je 0x100121ed
call esi
test eax, eax
je 0x100121e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100121e4
test byte [ebp - 0xc], 1
jne 0x100121ed
or dword [ebp + 0x10], 0x200000
jmp 0x10012226
mov eax, dword [0x1001973c]
cmp eax, ebx
je 0x10012226
push eax
call fcn.1000cc7b
pop ecx
test eax, eax
je 0x10012226
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10012226
mov eax, dword [0x10019740]
cmp eax, ebx
je 0x10012226
push eax
call fcn.1000cc7b
pop ecx
test eax, eax
je 0x10012226
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10019738]
call fcn.1000cc7b
pop ecx
test eax, eax
je 0x10012246
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10012248
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402770
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40277e
call dword [0x498014]
or eax, eax
je 0x40277f
ret
mov al, 1
jmp fcn.004027fc

Function at 0x402788
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402796
call dword [0x498018]
or eax, eax
jne 0x402797
ret
mov al, 2
jmp fcn.004027fc

Function at 0x4027a0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4027d8
test edx, edx
je 0x4027c2
push eax
mov eax, ecx
call dword [0x49801c]
pop ecx
or eax, eax
je 0x4027d1
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004027fc
mov dword [eax], edx
mov eax, ecx
call dword [0x498018]
or eax, eax
jne 0x4027bb
ret
mov al, 1
jmp fcn.004027fc
test edx, edx
je 0x4027ec
push eax
mov eax, edx
call dword [0x498014]
pop ecx
or eax, eax
je 0x4027d1
mov dword [ecx], eax
ret

Function at 0x4027fc
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x49b004]
test ecx, ecx
je 0x40280c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402825]
jns 0x402820
call fcn.00406a70
mov eax, dword [eax + 4]
jmp fcn.00403a44

Function at 0x402cd4
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 0x402d6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d4c
xor eax, eax
push ebp
push 0x402d45
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 0x402d88
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 0x402d4c
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 0x402fec
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x403006
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x403006
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402ff2
mov al, 0xa
jmp fcn.004027fc
ret

Function at 0x403038
Capabilities:
Terminate process

Disassembly:
cmp dword [0x49b018], 0
je 0x402957
call dword [0x49b018]
mov eax, 0xd2
jmp fcn.00403a44
push eax
push ecx
mov eax, dword [eax]
call fcn.00403008
pop ecx
pop eax
je 0x403047
jmp ebx
pop ecx
jmp 0x402948

Function at 0x403050
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00403008
mov eax, ebx
pop ebx
jne 0x403065
pop ecx
jmp 0x402948
ret
Function at 0x403920
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x49b4a0
mov esi, 0x49b034
mov edi, 0x49b038
cmp byte [ebx + 0x24], 0
jne 0x40394f
cmp dword [edi], 0
je 0x40394f
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x40393e
cmp dword [0x49b03c], 0
je 0x403996
call fcn.0040389c
cmp byte [0x49b044], 0
je 0x40397c
mov edx, 0x498024
mov eax, 0x49b218
call fcn.0040630c
call fcn.0040628f
jmp 0x40398f
push 0
push 0x498044
push 0x498024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x49b03c], eax
cmp byte [ebx + 0x24], 2
jne 0x4039a6
cmp dword [esi], 0
jne 0x4039a6
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403770
cmp byte [ebx + 0x24], 1
jbe 0x4039b6
cmp dword [esi], 0
je 0x4039d3
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4039d3
call fcn.00405d10
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x4039d3
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403748
cmp byte [ebx + 0x24], 1
jne 0x4039e1
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x4039ec
call fcn.004038ec
cmp dword [ebx], 0
jne 0x4039f9
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 0x403996

Function at 0x403a88
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.00402770
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49b045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403a50
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x404138
Capabilities:
Terminate process

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

Function at 0x4041e0
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.004027fc
test ecx, ecx
je fcn.004040fc
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x4040e4
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret
Function at 0x4042a8
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 0x4042e7
cmp al, 0xb
je 0x4042e7
cmp al, 0xc
je 0x4042f1
cmp al, 0xd
je 0x404304
cmp al, 0xe
je 0x404322
cmp al, 0xf
je 0x4042e7
cmp al, 0x11
je 0x4042e7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004027fc
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4042e7
jmp 0x404336
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 0x4042f1
jmp 0x404336
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.004042a8
dec edi
jg 0x404307
pop ebp
jmp 0x404336
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040427c
dec edi
jg 0x404325
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40433c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004042a8

Function at 0x404374
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 0x4043bb
cmp al, 0xb
je 0x4043d5
cmp al, 0xc
je 0x4043ec
cmp al, 0xd
je 0x4043fb
cmp al, 0xe
je 0x404419
cmp al, 0xf
je 0x40442f
cmp al, 0x11
je 0x40443e
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.004027fc
cmp ecx, 1
mov eax, ebx
jg 0x4043cc
call fcn.00403ad4
jmp 0x40444d
mov edx, ecx
call fcn.00403af8
jmp 0x40444d
cmp ecx, 1
mov eax, ebx
jg 0x4043e3
call fcn.004040fc
jmp 0x40444d
mov edx, ecx
call fcn.00404114
jmp 0x40444d
mov eax, ebx
add ebx, 0x10
call fcn.004050bc
dec edi
jg 0x4043ec
jmp 0x40444d
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.00404374
dec edi
jg 0x4043fe
pop ebp
jmp 0x40444d
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404348
dec edi
jg 0x40441c
pop ebp
jmp 0x40444d
mov eax, ebx
add ebx, 4
call fcn.00405dd8
dec edi
jg 0x40442f
jmp 0x40444d
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.0040596c
dec edi
jg 0x40443e
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404454
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404374
Function at 0x404460
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 0x40448c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004028cc
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x4044cb
cmp cl, 0xb
je 0x4044dc
cmp cl, 0xc
je 0x4044ed
cmp cl, 0xd
je 0x4044fe
cmp cl, 0xe
je 0x40451e
cmp cl, 0xf
je 0x404537
cmp cl, 0x11
je 0x404548
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004027fc
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b28
mov eax, 4
jmp 0x404559
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404138
mov eax, 4
jmp 0x404559
lea edx, [esi + eax]
add eax, ebx
call fcn.0040481c
mov eax, 0x10
jmp 0x404559
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.0040457c
pop eax
jmp 0x404559
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.00404460
pop eax
jmp 0x404559
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405df0
mov eax, 4
jmp 0x404559
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004059a8
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40447a
pop ecx
sub ecx, eax
jle 0x404575
lea edx, [ebx + eax]
add eax, esi
call fcn.004028cc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40457c
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 0x4045c2
cmp cl, 0xb
je 0x4045d9
cmp cl, 0xc
je 0x4045ed
cmp cl, 0xd
je 0x404601
cmp cl, 0xe
je 0x404622
cmp cl, 0xf
je 0x40463f
cmp cl, 0x11
je 0x404653
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004027fc
mov eax, ebx
mov edx, dword [esi]
call fcn.00403b28
add ebx, 4
add esi, 4
dec ebp
jne 0x4045c2
jmp 0x404667
mov eax, ebx
mov edx, dword [esi]
call fcn.00404138
add ebx, 4
add esi, 4
dec ebp
jne 0x4045d9
jmp 0x404667
mov eax, ebx
mov edx, esi
call fcn.0040481c
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4045ed
jmp 0x404667
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.0040457c
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x40460a
jmp 0x404667
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404460
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404622
jmp 0x404667
mov eax, ebx
mov edx, dword [esi]
call fcn.00405df0
add ebx, 4
add esi, 4
dec ebp
jne 0x40463f
jmp 0x404667
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.004059a8
add ebx, 4
add esi, 4
dec ebp
jne 0x404653
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x40481c
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.004027fc
cmp eax, edx
je 0x4048b3
cmp word [eax], 8
jb 0x404854
push eax
push edx
cmp word [eax], 0x100
je 0x40484a
cmp word [eax], 0x101
je 0x404842
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404852
call dword [0x49b3e4]
jmp 0x404852
add eax, 8
call fcn.00403ad4
pop edx
pop eax
cmp word [edx], 8
jae 0x40486b
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 0x404886
cmp word [edx], 0x101
jne 0x40489f
push eax
call 0x40485a
pop eax
jmp dword [0x49b3ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x404896
mov ecx, dword [edx - 8]
inc ecx
jle 0x404896
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 0x4047d0
ret

Function at 0x404cb4
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x404cc2
mov edx, dword [edx + 8]
jmp fcn.00404138
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404a2c
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.004040ec
add esp, 0x10
pop ebx
ret

Function at 0x404e44
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.004050c4
xor eax, eax
push ebp
push 0x404e36
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x49b3e8]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00404e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404e3d
lea eax, [ebp - 0x10]
call fcn.004050bc
ret
cmp word [edx], 0x101
je 0x404de0
cmp word [edx], 0x100
jne fcn.0040481c
cmp word [eax], 8
jb 0x404e69
push eax
push edx
call fcn.004047d8
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.00404204
Function at 0x404fac
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 0x404fd2
cmp eax, 0x100
jne 0x405001
mov eax, 8
cmp edx, 0x11
jbe 0x404fe4
cmp edx, 0x100
jne case.default.0x404ff8
mov edx, 8
mov al, byte [eax + 0x49805c]
mov dl, byte [edx + 0x49805c]
movzx ecx, byte [edx + eax*8 + 0x498070]
jmp dword [ecx*4 + 0x405013]
mov eax, edx
cmp eax, 0x101
jne case.0x404ff8.0
pop edi
pop esi
call fcn.00404f18
push eax
popf
ret
pop edi
pop esi
jmp 0x4047d0
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404b20
xchg edi, eax
call fcn.00404b20
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404bc0
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404bc0
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.00404c1c
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404c1c
fld xword [esp]
add esp, 0xc
jmp 0x40506b
mov eax, edi
mov edx, esi
call fcn.00404eb0
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404b8c
xchg edi, eax
call fcn.00404b8c
mov edx, edi
cmp al, dl
pop edi
pop esi
ret
Function at 0x405a2c
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 0x405be4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405a8d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c00
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405afa
xor eax, eax
push ebp
push 0x405af3
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 0x405adc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405c20
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 0x405afa
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 0x405bdb
cmp byte [ebp - 0xd], 0
jne 0x405b3c
cmp byte [ebp - 0x12], 0
je 0x405bdb
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405b55
dec ebx
cmp byte [ebx], 0x2e
je 0x405b64
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405b54
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405bdb
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405b91
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 0x405bdb
cmp byte [ebp - 0xd], 0
je 0x405bdb
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 0x405bdb
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 0x40b324
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 0x40b35d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bb8
jmp 0x40b366
mov eax, ebx
mov edx, esi
call fcn.00403b6c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b370
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 0x40b391
mov al, byte [esp]
jmp 0x40b393
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4178f4
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x417909
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x41984c
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 0x419852
ret

Function at 0x41bf4c
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 0x41bf9d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41bf84
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41bf74
jmp 0x41bf9d
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 0x41bf85
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b0e8
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b172
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x42b159
mov eax, dword [0x49a174]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42b127
push ebx
push 0x42b180
call fcn.00444188
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 0x42b155
lea edx, [ebp - 4]
mov eax, dword [0x499e64]
call fcn.00405d80
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x407b30]
call fcn.0040bac4
call fcn.00403548
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b179
lea eax, [ebp - 4]
call fcn.00403ad4
ret

Function at 0x42b1a0
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.0042b0e8
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42b212
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42b1e6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403c88
jmp 0x42b1ed
mov eax, ebx
call fcn.00403ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b219
cmp dword [ebp - 8], 0
je 0x42b209
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042b0bc
ret

Function at 0x42b220
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 0x42b2fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042b0e8
xor edx, edx
push ebp
push 0x42b2e1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42b2aa
mov edx, ebx
mov eax, dword [0x419320]
call fcn.0041d664
test al, al
je 0x42b29a
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.0041d538
call fcn.004035e8
jmp 0x42b2e8
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42b265
lea edx, [ebp - 8]
mov eax, dword [0x499ee4]
call fcn.00405d80
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x407b30]
call fcn.0040bac4
call fcn.00403548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b2e8
mov eax, dword [ebp - 4]
call fcn.0042b0bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b305
lea eax, [ebp - 8]
call fcn.00403ad4
ret