joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x10]
test eax, eax
je 0x471843
cmp dword [eax], 0
jg 0x471843
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x47183d
cmp byte [ecx], 0
je 0x47183d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
xor edx, edx
jmp fcn.00471040
mov dword [eax], 1
xor eax, eax
ret

Function at 0x474c00
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push esi
push edi
push ebx
xor esi, esi
call fcn.00470230
mov eax, dword [esp + 0x38]
add esp, 4
push esi
push 0x10000080
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x474cbd
push 1
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x474c85
push esi
push esi
push 1
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x474c85
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], eax
lea esi, [esp + 0xc]
push 0
push 0
push 0
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
test esi, esi
je 0x474cbd
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x474cc6
push esi
call edi
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x20
ret
pop edi
mov dword [ebx + 0x14], esi
pop esi
mov al, 1
pop ebx
add esp, 0x20
ret
Function at 0x4785f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4fa5ac]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.00476570
mov ecx, ebp
xor edi, edi
call fcn.00476090
test eax, eax
jle 0x47874d
push ebx
push esi
mov al, byte [ebp + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
test al, al
mov esi, edi
movsx eax, al
jge 0x47864a
mov eax, dword [ebp + 0xc]
test edi, edi
jge 0x478652
xor esi, esi
jmp 0x478658
cmp edi, eax
jle 0x478658
mov esi, eax
mov dl, byte [ebp + 5]
test dl, 0x11
je 0x478664
xor edx, edx
jmp 0x47866f
test dl, 2
lea edx, [ebp + 8]
jne 0x47866f
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x78]
push ebx
sub eax, esi
push eax
lea eax, [edx + esi*2]
push eax
call fcn.0047cc60
mov ebx, eax
add ebx, esi
mov eax, ebx
sub eax, edi
cmp dword [esp + 0x78], 0
jne 0x4786bb
test eax, eax
je 0x4786b1
mov esi, dword [esp + 0x10]
mov cl, byte [esi + 4]
movsx edx, cl
test cl, cl
jge 0x4786a4
mov edx, dword [esi + 0xc]
push eax
push edi
push ebp
push 0
push edx
mov ecx, esi
call fcn.004771a0
mov dword [esp + 0x78], 2
jmp 0x47873a
test eax, eax
je 0x478732
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00476ae0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 4]
mov edi, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edi
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x28]
push edx
call eax
mov cl, byte [eax + 4]
test cl, cl
jl 0x4786fa
movsx ecx, cl
mov dword [esp + 0x14], ecx
jmp 0x478701
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x10]
mov cl, byte [esi + 4]
movsx edx, cl
test cl, cl
jge 0x478712
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
push ecx
push 0
push eax
push 0
push edx
mov ecx, esi
call fcn.004771a0
lea ecx, [esp + 0x20]
call fcn.00476020
cmp dword [edi], 0
jg 0x47874b
mov dword [esp + 0x78], 0
mov ecx, ebp
mov edi, ebx
call fcn.00476090
cmp ebx, eax
jl 0x478634
pop esi
pop ebx
lea ecx, [esp + 0x3c]
call fcn.00476020
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 8]
pop edi
pop ebp
xor ecx, esp
call fcn.00439589
add esp, 0x5c
ret 0x10
Function at 0x47c5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi - 4]
mov edx, dword [eax + 0x60]
push edi
lea edi, [esi - 4]
mov ecx, edi
mov dword [esp + 0x10], esi
call edx
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x47c621
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
push ebp
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push ebp
mov ecx, edi
call edx
mov ecx, eax
xor ecx, esi
and esi, 0xff
test ecx, 0xffffff00
movzx ecx, byte [esp + 0x18]
jne 0x47c603
cmp esi, ecx
jg 0x47c618
jmp 0x47c60b
cmp esi, ecx
jle 0x47c6a2
and eax, 0xff
cmp ecx, eax
jle 0x47c6a2
inc ebp
cmp ebp, ebx
jl 0x47c5d0
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
test eax, eax
je 0x47c6c7
xor edi, edi
test eax, eax
jle 0x47c6c7
movzx ebp, byte [esp + 0x18]
mov edi, edi
push edi
call fcn.00487e60
mov cl, byte [eax + 4]
movsx edx, cl
test cl, cl
jge 0x47c653
mov edx, dword [eax + 0xc]
test edx, edx
jbe 0x47c6ac
test byte [eax + 5], 2
lea ecx, [eax + 8]
jne 0x47c663
mov ecx, dword [eax + 0x10]
movzx eax, word [ecx]
mov ebx, eax
and ebx, 0xfffff800
cmp ebx, 0xd800
jne 0x47c6b1
test eax, 0x400
jne 0x47c6b1
cmp edx, 1
jle 0x47c6b1
movzx ecx, word [ecx + 2]
mov edx, ecx
and edx, 0xfffffc00
cmp edx, 0xdc00
jne 0x47c6b1
add eax, 0xffff2809
shl eax, 0xa
add eax, ecx
jmp 0x47c6b1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4
mov eax, 0xffff
and eax, 0xff
cmp eax, ebp
je 0x47c6a2
mov ecx, dword [esi + 0x24]
inc edi
cmp edi, dword [ecx + 4]
jl 0x47c640
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4
Function at 0x40102c
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
push edi
call fcn.004011a6
xor ebx, ebx
cmp byte [eax], bl
je 0x40104c
call fcn.004011a6
mov esi, eax
jmp 0x401051
mov esi, 0x403334
call fcn.004011a6
cmp byte [eax], bl
mov eax, 0x4030cc
jne 0x401064
mov eax, 0x403334
push esi
push eax
call fcn.00401174
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x15c]
push str.__s_setup_sapsetup.exe__s_s
push eax
call esi
xor eax, eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
add esp, 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], 0x44
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 5
call fcn.00401174
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x15c]
push ebx
push eax
push ebx
call edi
test eax, eax
jne 0x40113c
call fcn.004011a6
cmp byte [eax], bl
je 0x4010e6
call fcn.004011a6
mov dword [ebp - 4], eax
jmp 0x4010ed
mov dword [ebp - 4], 0x403334
call fcn.004011a6
cmp byte [eax], bl
mov eax, 0x4030cc
jne 0x401100
mov eax, 0x403334
push dword [ebp - 4]
push eax
call fcn.00401174
push eax
lea eax, [ebp - 0x15c]
push str.__s_sapsetup.exe__s_s
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401174
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x15c]
push ebx
push eax
push ebx
call edi
test eax, eax
je 0x401153
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.SAPSetup
push str.The_setup_application_was_not_able_to_find_SAPSETUP.EXE_in_its_current_folder._Please_make_sure_that_the_required_executable_is_available.
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xb
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4011a6
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
sub esp, 0x310
cmp byte [0x403230], 0
push ebx
push ebp
push esi
push edi
mov ebp, 0x403230
jne 0x401326
mov edi, 0x104
lea eax, [esp + 0x21c]
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x21c]
push 0x5c
push eax
call section..text
pop ecx
test eax, eax
pop ecx
je 0x4011f0
inc eax
jmp 0x4011f7
lea eax, [esp + 0x21c]
mov dword [esp + 0x10], eax
call fcn.00401174
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x18]
push str._s_setup_sapsetup.cfg
push eax
call ebx
add esp, 0xc
lea eax, [esp + 0x14]
mov esi, str.B311B4C1_907F_44ae_8994_4DEDE904FE2B
push eax
push edi
push ebp
push esi
push dword [esp + 0x20]
push str.Proxies
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401282
call fcn.00401174
push eax
lea eax, [esp + 0x18]
push str._s_sapsetup.cfg
push eax
call ebx
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
push dword [esp + 0x20]
push str.Proxies
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401282
push 0x4030d0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [0x403230]
mov ebx, ebp
test al, al
je 0x401326
cmp al, 0x25
jne 0x40129b
cmp byte [ebx + 1], 0x31
je 0x4012a1
mov al, byte [ebx + 1]
inc ebx
jmp 0x401289
and byte [esp + 0x118], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [esp + 0x119]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4012e1
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4012d4
cmp al, 0x22
jne 0x4012c8
cmp byte [esi], 0
je 0x4012f5
inc esi
cmp byte [esi], 0x20
jne 0x4012f5
jmp 0x4012f4
test al, al
je 0x4012ef
cmp al, 0x20
je 0x4012ef
mov al, byte [esi + 1]
inc esi
jmp 0x4012e1
cmp byte [esi], 0
je 0x4012f5
inc esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebx + 2]
push eax
lea eax, [esp + 0x11c]
push eax
call edi
cmp byte [esi], 0
je 0x401314
push esi
push ebx
call edi
jmp 0x401317
and byte [ebx], 0
lea eax, [esp + 0x118]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x310
ret
Function at 0x402b54
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004048f8
test esi, esi
jne 0x402b8a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004049e8
jmp 0x402ba8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a68
mov edi, eax
test esi, esi
je 0x402ba8
cmp dword [ebx], 0
je 0x402ba8
dec esi
jmp 0x402b91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403994
Capabilities:
Query or enumerate registry value

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

Function at 0x4046f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f804c], 0
je 0x404759
cmp word [0x4f8220], 0xd7b2
jne 0x404721
cmp dword [0x4f8228], 0
jbe 0x404721
mov eax, 0x4f821c
call dword [0x4f8238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f3090
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 0x404780
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f3030], 0
jne 0x404775
push 0
push 0x4f3088
push 0x4f3090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4048ac
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.00402814
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404874
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4069bc
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 0x406a22
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.00404b68
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004033f0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a0c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a29
lea eax, [ebp - 0x10]
call fcn.004048f8
ret

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

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

Function at 0x409834
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404db8
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409856
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40c53c
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 0x40c575
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049e8
jmp 0x40c57e
mov eax, ebx
mov edx, esi
call fcn.0040494c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c588
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 0x40c5a9
mov al, byte [esp]
jmp 0x40c5ab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40cc30
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40caa8
mov eax, dword [0x4f6ffc]
cmp byte [eax], 0
je 0x40ccac
mov eax, dword [0x4f6bc4]
call fcn.00402fbc
call fcn.00402988
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.00409b8c
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 0x40ccf4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cce2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f6b18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f8668]
call fcn.00405eb4
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 0x40d5c0
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 0x40d696
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404990
lea eax, [ebp - 8]
call fcn.00404e08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404db8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d680
mov eax, ebx
call fcn.00402814
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d679
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.00404db8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d663
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d6a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d663
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 0x40d680
mov eax, dword [ebp - 0x10]
call fcn.00402834
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d69d
lea eax, [ebp - 8]
call fcn.004048f8
ret

Function at 0x40dc54
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 0x40dcb8
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.00404b68
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409344
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcbf
lea eax, [ebp - 0xc]
call fcn.004048f8
ret
Function at 0x422b74
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.004229a0
dec esi
jne 0x422b96
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x423cd8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f888c
cmp dword [edi], 0
jne 0x423d54
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f8888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f35c8
mov ecx, 2
call fcn.00402a28
mov edx, 0x423cb0
lea eax, [esi + 5]
call fcn.00423cd0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423cd0
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 0x423d29
mov dword [0x4f8888], 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 0x4253b8
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 0x4253be
ret

Function at 0x427aa0
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 0x427af1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427ad8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427ac8
jmp 0x427af1
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 0x427ad9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4342d0
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 0x434342
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x434316
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404af0
jmp 0x43431d
mov eax, ebx
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434349
cmp dword [ebp - 8], 0
je 0x434339
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 0x434350
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 0x4343f2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4343c5
mov edx, ebx
mov eax, dword [0x424ddc]
call fcn.00429330
test al, al
je 0x4343b5
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.00429240
call fcn.0040435c
jmp 0x4343f9
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x434380
mov ecx, dword [0x4f6af8]
mov dl, 1
mov eax, dword [0x408048]
call fcn.0040cde4
call fcn.004042b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4343f9
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 0x434400
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 0x434458
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 0x43445f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret