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

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4f72aea
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2e3a7db5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1092e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1092e1a8
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 0x1092e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1092e06a
add dl, dl
jne 0x1092e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1092e0dc
xor eax, eax
add dl, dl
jne 0x1092e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1092e17d
add dl, dl
jne 0x1092e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1092e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1092e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1092e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1092e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1092e075
mov eax, 1
add dl, dl
jne 0x1092e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1092e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1092e0e1
sub eax, ebx
mov ebx, 1
jne 0x1092e128
mov ecx, 1
add dl, dl
jne 0x1092e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1092e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1092e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1092e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1092e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1092e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1092e136
cmp eax, 0x7d00
jae 0x1092e16d
cmp eax, 0x500
jb 0x1092e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1092e075
cmp eax, 0x7f
ja 0x1092e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1092e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1092e19e
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 0x1092e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add dword [ebx + 0x52], 0xffffffde
aas
mov dh, 0x48
adc edi, dword [ebx]
jge 0x40587f
leave

Function at 0x405f20
Capabilities:
Encode data using xor

Disassembly:
mov ebp, esp
push ecx
xor al, byte [ebp + 0xc]
pop ebp
adc byte [esi + 0x59], dl
fist dword [edi + 0x6f]
sbb byte [ebx + 0x610000b2], bh
cmp word [eax], 0
jne 0x405e74
js 0x405e72
push cs
je 0x405e66
inc ebx
inc ebx
add eax, 2
jmp 0x405e66
jl 0x405e51
inc eax
mov esp, 0x45fc578b
adc byte [ebp + 0x50012b74], cl
mov dword [ecx - 4], edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 8
lea ecx, [ebp - 4]
mov dword [edi], eax
lea edx, [ebp + 0xa]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call 0xb2edacad
mov edx, dword [ebp - 4]
jnp 0x405ec8
mov dh, dl
push esi
push eax
mov eax, dword [0x40c12015]
add byte [ecx + 1], bh
rol dword [eax], 0xb9
add dword [eax], eax
add byte [eax], al
add esp, 0xffffff92
cmp ebx, ecx
mov bh, 7
jle 0x405f02
lea ecx, [ebx - 0x36]
lea eax, [edi + 4]
mov dword [ebp + 0xc], ecx
inc ecx
mov edx, dword [eax - 4]
add edx, 2
mov dword [eax], edx
mov esi, dword [eax]
mov dl, byte [eax + 0x46]
test dl, dl
adc esi, dword [eax]
jne 0x405eeb
mov edx, dword [ebp - 0x4e]
pop eax
rol byte [edi + edx*2], 0x17
push ebp
mov ah, 0x75
loope 0x405e8e
mov eax, dword [ebp + 8]
mov edx, 0x31a98f04
inc ebp
or byte [edx + 0x31a98f04], bh
add byte [esi], dh
mov dword [eax], edi
pop edi
mov ebx, edi
pop esi
xor eax, 0xc35de563
nop
nop
nop
nop
nop
add byte [edx - 0x74aa6f70], ch
push ebp
mov ebp, esp
push ebp
mov ebp, esp
jp 0x405f11
cwde
add ebp, esi
add byte [ebp - 0x78], dl
add eax, dword [ebx]
mov ecx, eax
inc eax
test dword [edi], ebx
mov dword [0x100388], eax
je 0x405f40
add al, 0x8b
in eax, 0x5d
jbe 0x405ece
lea edx, [ebp - 8]
push ebp
clc
push edx
call 0x840a720
jbe 0x405f0f
add byte [ebp - 0x7d7af040], 0
add byte [eax], al
sbb al, 0x15
or al, al
inc eax
add byte [ebx + 0x415c54], ah
call 0x8404940
test eax, eax
jne 0x405fdb
push eax
salc
push eax
jnp 0x405fb2
cld
push eax
call 0xaf996160
test dword [esp + esi*2], esp
or dword [eax + 0x974e88], ebp
xlatb
in eax, 0x5d
pop ebp
pop esi
mov ecx, dword [ebp - 4]
push 0xfe824
push ecx
call 0x3e91f0
invalid
leave
jne 0x405fd0
mov ecx, ebx
cld
sub eax, 0x62
inc esp
add byte [eax], al
jg 0x405f7f
cld
psubsb mm1, mm1
inc esp
add ah, dh
add esp, 0x12
xor eax, eax
mov esp, ebp
pop ebp
idiv edi
adc eax, 0x2a40c8d4
call dword [0x2a40c8d4]
or byte [ebx - 0x74ffff9c], 0xe5
mov esp, ebp
pop ebp
ret

Function at 0x40b080
Capabilities:
Read file on windows
Read pipe

Disassembly:
add byte [eax + eax], dl
mov eax, dword [ebx + 0x58]
push eax
xlatb
or eax, 0x8bfffff3
inc ebp
or byte [edi + 0x5e], bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
sub dword [ebx + 0x224256ec], ecx
or byte [edi + 0x39], dl
jge 0x40b09b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
or eax, ecx
invalid
jno 0x40b027
inc esi
or byte [eax + eax*8 + 0x568b6a74], al
lahf
lea ecx, [ebp + 8]
push 0
push ecx
push 0
push 0
fnsave dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
invalid
Function at 0x6900376c
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.69005214
test esi, esi
jne 0x690037a2
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.69005304
jmp 0x690037c0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.69003610
mov edi, eax
test esi, esi
je 0x690037c0
cmp dword [ebx], 0
je 0x690037c0
dec esi
jmp 0x690037a9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x690037f4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x69003fbc
Capabilities:
Query or enumerate registry value

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

Function at 0x69004fe0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6915e04c], 0
je 0x69005041
cmp word [0x6915e220], 0xd7b2
jne 0x69005009
cmp dword [0x6915e228], 0
jbe 0x69005009
mov eax, 0x6915e21c
call dword [0x6915e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x69005068
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6914e030], 0
jne 0x6900505d
push 0
push 0x6914e75c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x69005198
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x6914e034], 0
je 0x690051be
mov edx, esi
mov eax, ebx
call dword [0x6914e034]
jmp 0x690051cd
mov eax, 8
call fcn.690032b0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x6915e04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x69005160
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x69006e4c
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 0xf0019
push 0
push 0x6900707c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x69006ecf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x6900707c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x69006ecf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x69007098
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x69006f58
xor eax, eax
push ebp
push 0x69006f51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.69006c88
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 0x69006f36
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x690070b8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x69006f36
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69006f58
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x69007072
cmp byte [ebp - 0xd], 0
jne 0x69006f9f
cmp byte [ebp - 0x12], 0
je 0x69007072
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x69006fb8
dec ebx
cmp byte [ebx], 0x2e
je 0x69006fc7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x69006fb7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x69007072
inc ebx
cmp byte [ebp - 0x12], 0
je 0x69007004
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x69007072
cmp byte [ebp - 0xd], 0
je 0x69007072
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x69007072
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x6900b424
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x6900b476
test eax, edx
je 0x6900b479
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x6900b439
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x6900b45f
add ecx, 4
js 0x6900b44f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x6900b45c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x6900b485
test edx, edx
jne 0x6900b42c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.690056a4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x6900c186
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x6900c1a7
cmp ebx, 3
je 0x6900c1a7
cmp ebx, 0x7b
je 0x6900c1a7
mov eax, esi
call fcn.6900c128
test al, al
jne 0x6900c1ab
xor eax, eax
jmp 0x6900c1ad
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.690056a4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x6900c1c9
test al, 0x10
jne 0x6900c1cd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x6900c2cc
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.690056a4
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x6900fcec
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 0x6900fd25
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.69005304
jmp 0x6900fd2e
mov eax, ebx
mov edx, esi
call fcn.69005268
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x6900fd38
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 0x6900fd5a
movzx eax, byte [esp]
jmp 0x6900fd5c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x69010538
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x690103b0
mov eax, dword [0x6915da78]
cmp byte [eax], 0
je 0x690105b4
mov eax, dword [0x6915d768]
call fcn.69003904
call fcn.6900347c
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.6900c8c0
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 0x690105fc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x690105ea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x6915d6e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x691607f8]
call fcn.69006c30
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 0x69010ee0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x69010fb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.690052ac
lea eax, [ebp - 4]
call fcn.690056fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.690056a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x69010fa0
mov eax, ebx
call fcn.690032b0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x69010f99
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 - 4]
call fcn.690056a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x69010f83
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x69010fc8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x69010f83
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69010fa0
mov eax, dword [ebp - 0x10]
call fcn.690032cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69010fbd
lea eax, [ebp - 4]
call fcn.69005214
ret

Function at 0x69028968
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.69028678
dec esi
jne 0x6902898a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x69029afc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x69164c38
cmp dword [edi], 0
jne 0x69029b78
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x69164c34]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6914f534
mov ecx, 2
call fcn.69003510
mov edx, 0x69029ad4
lea eax, [esi + 5]
call fcn.69029af4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.69029af4
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 0x69029b4d
mov dword [0x69164c34], 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 0x6902c300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x6902c398
push 0
mov eax, ebx
call fcn.690056a4
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x6902c373
mov ebx, esi
test ebx, ebx
je 0x6902c349
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.690056a4
push eax
push 1
push 0
mov eax, edi
call fcn.690056a4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x6902c38e
mov ecx, dword [0x6915d78c]
mov dl, 1
mov eax, dword [0x6902a6f4]
call fcn.690106e0
call fcn.69004b04
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x6902c4cc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x6901e670]
call fcn.69005f1c
xor eax, eax
push ebp
push 0x6902c66d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6914f560], 0
jne 0x6902c527
mov ecx, dword [0x6915d5e8]
mov dl, 1
mov eax, dword [0x6900a588]
call fcn.690106e0
call fcn.69004b04
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.69003ab4
mov eax, ebx
call fcn.69005bd4
mov dword [ebp - 0x24], eax
mov esi, 0x6902c67c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.6900722c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.69005be4
test eax, eax
jle 0x6902c610
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x6902c5fc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.69005484
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x6902c5a2
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.6900549c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x6902c5b8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.6900549c
mov eax, dword [ebp - 0x54]
call fcn.690056a4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.69005484
mov eax, dword [ebp - 0x58]
call fcn.690056a4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x6902c5fe
xor eax, eax
test al, al
je 0x6902c609
mov ebx, 0x15
jmp 0x6902c615
mov ebx, 0x10
jmp 0x6902c615
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x6914f560]
call fcn.6902c298
mov eax, dword [ebp - 4]
call fcn.6902c298
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.69007244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6902c674
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.69005238
lea eax, [ebp - 0xc]
mov edx, dword [0x6901e670]
call fcn.69005fec
ret