joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aa15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44ab2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ab2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0045f25f
mov esi, eax
test esi, esi
je 0x44ab2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44ab2d
mov ecx, esi
call fcn.0044a980
cmp edi, eax
jge 0x44ab2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44aab3
mov dword [esp + 0x34], 1
jmp 0x44ab0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44ab2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449200
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45fc02
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45fc3a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045dcb9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045dc91
jmp 0x45fc46
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4612f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461339
call fcn.00466db1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461339
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461330
xor eax, eax
jmp 0x461341
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461347
pop edi
pop esi
pop ebx
ret 4
Function at 0x4672e1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46730f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46732d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467247
jmp 0x46732d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46732d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467247
test edi, edi
mov eax, edi
jne 0x467317
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x436674
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00436824
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x436772
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x436715
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x436758
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43672c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x436747
test al, 0x40
je 0x43673e
mov ecx, dword [edi + 0x20]
jmp 0x436745
test al, 0x80
je 0x436758
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x436758
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4366e4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x405b70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
xchg ebx, eax
jne 0x405b7f
push edi
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x405b87
mov eax, dword [esi + 0x20]
xchg ebp, eax
cmp byte [eax], al
invalid
mov esi, edx
or al, 0x8b
neg dword [ecx + 0x4676c83b]
adc al, 0
add bh, dh
xchg ecx, eax
jge 0x405bf5
mov edx, dword [esi + 0x1c]
mov esp, esp
mov bh, byte [eax + 0x38802046]
adc dword [ecx + 0x1508a00], edi
inc eax
test dl, dl
je 0x405bd6
mov eax, dword [0x778a0746]
cmp byte [edi + 0x2d], 0x75
jge 0x405bfa
mov dword [esi + 0xc], ecx
adc eax, 0x2d42046
inc ecx
add byte [eax], al
dec ebp
adc byte [edx + 0x5e5f10ff], cl
mov al, ah
mov eax, 0x5d01117e
wait
ret 0x10
mov edx, dword [esi + 0x20]
mov ebx, dword [esi - 0x2a41f0f4]
inc ebx
cmp eax, 0x3a
mov dword [edi + 0x20568910], eax
je 0x405cbf
push eax
push edi
call dword [0x83c17c]
add esp, 8
add dword [eax], 0xffffff83
les ecx, [eax]
test eax, eax
je 0xc55c22
cmp byte [eax + 1], 0x3a
sbb cl, byte ss:[ebx + 0x1c7144d]
add byte [eax], al
add byte [eax], al
mov edx, dword [esi + 0x20]
or bh, 0
jne 0xf6405caf
jmp 0x665cac
adc dword [ebp - 0x6c], 0x2d
je 0xa0405bc3
mov edx, dword [esi + 0x20]
cmp byte [edx], 0x15
jne 0x405cd4
inc dword [esi + 0x6d]
inc esi
insd dword es:[edi], dx
mov eax, dword [esi + 4]
test eax, eax
je 0x405cff
aas
cmp dh, byte [edi + ebx - 0x75]
dec esi
sbb al, 0x26
inc esi
adc byte [eax - 0x75], dl
popfd
push edx
imul edx, dword [ecx + 0x50000048], 0x68db258b
int3
mov edx, dword [ebp - 0x5e]
mov ah, byte [ebx + 0x10]
mov ch, 0xb8
jl 0x405d1a
add dword [eax], eax
mov byte [edx], cl
pop esi
jecxz 0x405cd2
hlt
nop
nop
nop
nop
pop edx
nop
push ebp
mov ebp, esp
push ecx
push esi
push edi
call 0xf1e220
test esi, esp
jne 0x86405e30
cmp dword [0x884108dc], 0x14
pcmpeqw mm4, qword [eax - 0x33000000]
int 0x6b
add edi, ebp
add byte [ebp - 0x1e7a8aa7], al
add byte [eax], al
xchg ebx, eax
mov dword [0x60414084], 0xd08f01
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x405db3
mov eax, dword [0x9410358]
test eax, eax
jne 0x405d89
push eax
push 0x9f98f414
cwde
lahf
push ebx
inc dword [edi]
sub eax, eax
inc eax
salc
mov ebx, eax
push 0xffffffffffffffff
push ebx
mov ch, 0x15
and al, 0xc1
inc eax
add al, dh
call 0x10d5e50
mov edi, dword [ebp + 0x10]
sub dword [ecx - 0xa003c8e], 0x3b
jne 0x405e0b
test dword [eax + eax], ebp
sbb dword [eax], eax
push esi
jmp edx
sub cl, al
inc eax
add bh, bh
salc
inc esi
or byte [ebx - 0x7b], bl
leave
je 0x405e2e
call esi
mov esi, dword [eax]
jmp [esi - 0x7532f7a9]
iretd

Function at 0x408199
Capabilities:
Encode data using xor

Disassembly:
call fcn.0040809d
sub ecx, ecx
sub ecx, 0xffffff8f
call 0x408199
rcr byte [esi - 0x7f], 0x76
push cs
int3
Function at 0x6241b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00624140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00624140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00624140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00624140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x624bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x624c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x63687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x624c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x624c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x406d60
Capabilities:
Packed with generic packer

Disassembly:
imul eax, dword [eax], 0x2a75c085
push 0x41048e
call eax
add al, 0x40
add byte [ebx + 0xe05ec], ah
mov eax, dword [ebp + 8]
adc al, 5
inc eax
add eax, 0xc8010041
imul eax, dword [eax], 0x41f00c7
inc ecx
add byte [esp + ebp*8], ch
add al, 0x41
add byte [ebp - 0x3d], bl
sbb ecx, dword [ebp + 8]
invalid
test dword [ebx + 0xc458b9e], ecx
mov ecx, dword [ebp + 8]
push 0
mov edx, 0xb63d
push eax
push ecx
call 0x40d390
push eax
mov dl, 0x15
nop
mov edi, 0xc25d8240
or byte [eax], al
nop
nop
jae 0x406d16
nop
nop
jno 0x406ddf
dec eax
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
cwde
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebp, eax
and byte [ebx + 0x57b01050], cl
arpl word [edx - 0x18], dx
jecxz 0x406dea
add byte [eax], al
sbb al, 0xc4
adc byte [ebp + 0x5f0b34c0], al
mov eax, 0x5b00001c
pop esi
pop ebp
ror byte [esi + ebp*8], cl
rol dword [ecx + edi*4 - 1], 0
inc esi
sbb al, al
pop esi
call dword [edi]
popfd
clc
nop
nop
nop
nop
test word [ecx - 0x3c], bx
pop esi
adc byte [esi - 0x77], ah
pop esi
sub byte [ebx + esi*2 + 0x57], dh
jae 0x406e43
sbb dword [eax], eax
push edi
mov dword [ecx], 0
mov edi, ebx
out 0xc9, eax
push dword [ebx]
shl byte [esi - 0x39], 2
jg 0x406e4a
xor eax, eax
mov word [edx], 0x7f
mov al, 0xf7
rol dword [ebp + ecx*4 + 0x74], 1
sbb edi, edi
cmp edx, dword [edx]
mov edi, esi
jb 0x406e35
mov eax, dword [0x40ea74]
Function at 0x6a9a50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1cb000]
push edi
jmp 0x6a9a6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6a9a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a9a60
mov eax, 1
add ebx, ebx
jne 0x6a9a83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6a9a94
jne 0x6a9ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a9ab3
dec eax
add ebx, ebx
jne 0x6a9aa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6a9a78
add ebx, ebx
jne 0x6a9aaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6a9b05
xor ecx, ecx
sub eax, 3
jb 0x6a9acb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6a9b3a
sar eax, 1
mov ebp, eax
jmp 0x6a9ad6
add ebx, ebx
jne 0x6a9ad6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a9aa4
inc ecx
add ebx, ebx
jne 0x6a9ae4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a9aa4
add ebx, ebx
jne 0x6a9af1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6a9ae6
jne 0x6a9b02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6a9ae6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6a9b24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6a9b16
jmp 0x6a9a66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6a9b24
add edi, ecx
jmp 0x6a9a66
pop esi
mov edi, esi
mov ecx, 0x4580
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6a9b42
cmp byte [edi], 0x1e
jne 0x6a9b42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6a9b47
lea edi, [esi + 0x2a6000]
mov eax, dword [edi]
or eax, eax
je 0x6a9bbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ac7d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ac954]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6a9b74
mov ecx, edi
jns 0x6a9ba3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2ac958]
or eax, eax
je 0x6a9bb9
mov dword [ebx], eax
add ebx, 4
jmp 0x6a9b91
call dword [esi + 0x2ac968]
mov ebp, dword [esi + 0x2ac95c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6a9bf3
sub esp, 0xffffff80
jmp 0x495998

Function at 0x438c93
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ebx
add eax, eax
call fcn.00438cc6
inc ecx
inc ecx
sub ecx, eax
xor dword [esi], ebx
dec eax
inc esi
sub eax, 1
sub ecx, 1
push ecx
mov eax, dword [esp]
add esp, 4
cmp esi, edx
jne fcn.00438c93
add eax, eax
sub eax, ecx
ret
Function at 0x403304
Capabilities:
Query or enumerate registry value

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

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47b048], 0
je 0x4040f9
cmp word [0x47b21c], 0xd7b2
jne 0x4040c1
cmp dword [0x47b224], 0
jbe 0x4040c1
mov eax, 0x47b218
call dword [0x47b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47906c
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 0x404120
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x479030], 0
jne 0x404115
push 0
push 0x479064
push 0x47906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405edc
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 0x405f42
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.004044ac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f2c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f49
lea eax, [ebp - 0x10]
call fcn.0040423c
ret

Function at 0x40b384
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 0x40b3bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040432c
jmp 0x40b3c6
mov eax, ebx
mov edx, esi
call fcn.00404290
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ba88
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b8f0
mov eax, dword [0x47a444]
cmp byte [eax], 0
je 0x40bb04
mov eax, dword [0x47a24c]
call fcn.00402d34
call fcn.00402bb4
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.00408a24
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 0x40bb4c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bb3a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47a1f0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47b664]
call fcn.00405348
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 0x40c3a8
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 0x40c47e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042d4
lea eax, [ebp - 8]
call fcn.0040474c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c468
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c461
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.004046fc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c44b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c490
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c44b
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 0x40c468
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c485
lea eax, [ebp - 8]
call fcn.0040423c
ret

Function at 0x40cb6c
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 0x40cbd0
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.004044ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbd7
lea eax, [ebp - 0xc]
call fcn.0040423c
ret
Function at 0x41bee4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x47b884
cmp dword [esi], 0
jne 0x41bf8a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x47b880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x47946c
mov ecx, 2
call fcn.00402c48
mov edx, 0x41bebc
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041bedc
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041bedc
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41bf51
mov eax, dword [ebp - 8]
mov dword [0x47b880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41d528
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 0x41d52e
ret

Function at 0x41fa9c
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 0x41faed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41fad4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41fac4
jmp 0x41faed
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 0x41fad5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429c3c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004046ec
xor eax, eax
push ebp
push 0x429d6c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429d3f
xor eax, eax
push ebp
push 0x429d38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044fc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429d0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x429cfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044fc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004046fc
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c48
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429d03
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47a194]
mov dl, 1
mov eax, dword [0x407368]
call fcn.0040bc0c
call fcn.00403c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429d73
lea eax, [ebp - 4]
call fcn.0040423c
ret