joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d90
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x4000
push eax
push ecx
push 0x13
push 0
push 2
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x404ec2
push dword [esp + 0xc]
call fcn.0040c27e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404eb8
push dword [esp + 0xc]
push 0
push ebx
call fcn.004092a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x404eaf
nop dword [eax]
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x404e92
lea esi, [ebx + 0xc]
nop dword [eax + eax]
cmp dword [ebx + 8], 3
jne 0x404e78
push dword [esi + 8]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41fa64
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [0x424268], 0
je 0x404e6f
lea eax, [esp + 0x18]
push eax
push str.___Found_share:__s_n
call fcn.00404800
add esp, 8
lea ecx, [esp + 0x18]
call fcn.004049a0
test dword [esi], 2
je 0x404e88
lea ecx, [esi - 0xc]
call fcn.00404d90
inc edi
add esi, 0x20
cmp edi, dword [esp + 0x14]
jb 0x404e30
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x404e20
push ebx
call fcn.0040c279
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
mov ecx, dword [esp + 0x224]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040826b
mov esp, ebp
pop ebp
ret

Function at 0x404ee0
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea esi, [edi + 0x41]
push 0x1c
call fcn.0040c27e
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebx], eax
push str.__
mov word [ebx + 4], ax
push ebx
mov byte [ebx + 6], al
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41facc
lea eax, [ebx + 0xa]
mov word [ebx + 8], si
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [ebp - 0x10], si
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xe], 0x5c003a
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x404f58
cmp eax, 3
je 0x404f58
cmp eax, 4
jne 0x404f92
cmp dword [0x424268], 0
je 0x404f6f
push ebx
push str.___Found_drive:__s_n
call fcn.00404800
add esp, 8
mov ecx, esi
call fcn.00404c60
push 0
push 0
push ebx
push 0x404980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi*4 + 0x424200], eax
inc edi
inc esi
cmp si, 0x5a
jbe 0x404ef8
xor esi, esi
test edi, edi
jle 0x404fc0
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax]
push 0xffffffffffffffff
push dword [esi*4 + 0x424200]
call ebx
inc esi
cmp esi, edi
jl 0x404fb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040826b
mov esp, ebp
pop ebp
ret
Function at 0x404ff0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x27c], 0x41fc04
mov dword [ebp - 0x278], 0x41fc0c
xor esi, esi
mov dword [ebp - 0x274], 0x41fc14
mov dword [ebp - 0x270], 0x41fc1c
mov dword [ebp - 0x26c], 0x41fc24
mov dword [ebp - 0x268], 0x41fc2c
mov dword [ebp - 0x264], 0x41fc34
mov dword [ebp - 0x260], 0x41fc3c
mov dword [ebp - 0x25c], 0x41fc44
mov dword [ebp - 0x258], 0x41fc4c
mov dword [ebp - 0x254], 0x41fc54
mov dword [ebp - 0x250], 0x41fc5c
mov dword [ebp - 0x24c], 0x41fc64
mov dword [ebp - 0x248], 0x41fc6c
mov dword [ebp - 0x244], 0x41fc74
mov dword [ebp - 0x240], 0x41fc7c
mov dword [ebp - 0x23c], 0x41fc84
mov dword [ebp - 0x238], 0x41fc8c
mov dword [ebp - 0x234], 0x41fc94
mov dword [ebp - 0x230], 0x41fc9c
mov dword [ebp - 0x22c], 0x41fca4
mov dword [ebp - 0x228], 0x41fcac
mov dword [ebp - 0x224], 0x41fcb4
mov dword [ebp - 0x220], 0x41fcbc
mov dword [ebp - 0x21c], 0x41fcc4
mov dword [ebp - 0x218], 0x41fccc
mov dword [ebp - 0x210], edi
nop dword [eax]
nop dword [eax + eax]
mov ebx, dword [ebp + esi*4 - 0x27c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x40513b
mov dword [ebp + edi*4 - 0x2e4], ebx
inc edi
inc esi
cmp esi, 0x1a
jl 0x405120
xor eax, eax
push 0x10000
mov word [ebp - 0x20c], ax
call fcn.0040c27e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40523b
push 0x8000
push 0
push ebx
call fcn.004092a0
add esp, 0xc
push 0x8000
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x214], eax
mov esi, eax
test edi, edi
je 0x40522b
lea eax, [ebp - 0x210]
push eax
push 0x78
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x4051c5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x4051c5
xor eax, eax
mov word [ebp - 0x20c], ax
jmp 0x405216
mov esi, dword [ebp + edi*4 - 0x2e8]
dec edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
je 0x4051f2
cmp dword [0x424268], 0
je 0x405210
push esi
push str.______Mounted__s_n
call fcn.00404800
add esp, 8
jmp 0x405210
cmp dword [0x424268], 0
je 0x405210
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._______Failed_to_mount__s_Error:__d_n
call fcn.00404800
add esp, 0xc
mov esi, dword [ebp - 0x214]
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x405185
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push ebx
call fcn.0040c279
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040826b
mov esp, ebp
pop ebp
ret
Function at 0x405540
Capabilities:
Create thread
Get system information on windows

Disassembly:
push esi
push edi
push 0x4241d8
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x4241ec]
push 0
push 0
push 0
push 0xffffffffffffffff
lea edi, [eax*4]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x4241cc], eax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c27e
add esp, 4
mov dword [0x4241d0], eax
xor esi, esi
test edi, edi
jle 0x4055c4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [eax]
push 0
push 0
push dword [0x4241cc]
push 0x405b90
push 0
push 0
call ebx
mov ecx, dword [0x4241d0]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, edi
jl 0x4055a0
pop ebx
mov eax, dword [0x4241cc]
pop edi
mov dword [0x4241d4], eax
pop esi
ret

Function at 0x4056a0
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x8000000
push 3
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp eax, 0xffffffff
je 0x4057a9
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4211f0
call esi
xor ecx, ecx
add eax, 0x20
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c27e
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], ebx
push 0x4211f0
call esi
add eax, 0x20
push eax
push 2
push ebx
call fcn.004092a0
mov edi, dword [ebp - 0xc]
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
push 0
push edi
push ebx
push dword [ebp - 0x14]
call esi
push 0
lea eax, [ebp - 8]
push eax
push 0x4211f0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push edi
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call fcn.0040c279
add esp, 4
push 0x4211f0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
cmp dword [ebp - 8], eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040826b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040826b
mov esp, ebp
pop ebp
ret
Function at 0x4116f2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004113b2
Function at 0x9b5d1d
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x9b5df9
pop word [esp]
lea esp, [esp + 1]
lea esp, [esp]
mov byte [esp], ch
lea esp, [esp]
mov byte [esp], ch
call fcn.009b5d22
sub esp, 0xac
jmp 0x9b5e54
mov edi, esp
mov ax, dx
not dh
lea eax, [eax + edx]
btr ecx, ebx
jmp 0x9b5e88
js fcn.009b5e67
jns fcn.009b5e67

Function at 0x9b5d22
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x9b5dce
push dword [esp + 2]
lea esp, [esp + 1]
mov dword [esp + 0x38], esi
push esp
push esp
call 0x9b5da1

Function at 0x9b6086
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0xc]
dec al
jmp 0x9b6092
ror edx, 0x1b
jne 0x9b60b5
sub esp, 8
inc dx
dec dx
add esp, 3
lea esp, [esp + 1]
jmp 0x9b60d8
sub esp, 8
inc dx
jmp 0x9b60f7
lea esp, [esp + 4]
rol al, 0
mov dx, 0x8bdd
stc
je 0x9b61b9
sub edx, eax
jmp 0x9b6147
dec dx
add esp, 3
lea esp, [esp + 1]
jmp 0x9b60d8
lea edx, reloc.kernel32.dll_DeleteCriticalSection
bsr dx, cx
sub esp, 8
jmp 0x9b612a
sub edx, eax
lea edx, reloc.kernel32.dll_DeleteCriticalSection
bsr dx, cx
sub esp, 8
inc dh
jmp 0x9b6178

Function at 0x9b75d5
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0x11
jmp 0x9b7861
xchg byte [esp + 8], al
neg ah
btc edx, edi
rdtsc
xchg dx, ax
lea esp, [esp + 3]
call fcn.009b7642
invalid
btc edx, edi
rdtsc
xchg dx, ax
jmp 0x9b75eb
jne 0x9b75de
xchg byte [esp + 8], al
neg ah
jmp 0x9b7711

Function at 0x9c1100
Capabilities:
Encode data using xor

Disassembly:
call 0x9c1083
push edx
push esp
lea esp, [esp + 8]
call fcn.009c1215
sub eax, 0xc64b2cbe
jns fcn.009c112f
xchg ebx, eax
add esp, dword [esi - 0x6b]
xchg esi, eax

Function at 0x9d5a1b
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [edx - 8], edi
jmp 0x9d5b06
mov edi, dword [ecx]
jmp 0x9d5ac0
mov eax, dword [edx]
mov dword [edx - 4], edi
jmp 0x9d5a6b
mov ebx, ecx
lea ebx, [ebx - 4]
mov dword [ebx], eax
pop ebx
jmp 0x9d5a82
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
jmp 0x9d5ae5
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
jmp 0x9d5aa4
pushal
stc
pop dword [esp]
push ebx
jmp 0x9d5a9a
lea esp, [esp + 0x40]
sub ebx, 4
add ecx, 0x10
sub esp, 6
jmp 0x9d5bb4
lea edi, [ebx*4]
not di
lea edi, [esi + edi]
mov edi, dword [ecx - 4]
stc
jmp 0x9d5add
push dword [esp + 4]
call 0x9d5b58

Function at 0x9d5b68
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.009d6383
pop word [esp]
lea esp, [esp + 2]
jle 0x9a8d24
xchg bh, cl
jmp 0x9d5b7e
lea edx, [eax - 0x49]
lea ebx, [eax*4]
jmp 0x9d5b9c
Function at 0x9d5e2d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 1]
pushal
mov byte [esp + 0x13], ah
jmp 0x9d5e6f
push word [esp + 0x15]
lea esp, [esp + 2]
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x9d5f04
lea esp, [esp + 3]
and edi, ecx
pushal
mov word [esp + 2], sp
mov byte [esp + 3], ch
jmp 0x9d5e4e
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
sub esp, 0xa
mov dword [esp + 5], ecx
jmp 0x9d5ee0
clc
mov word [esp + 4], di
lea esp, [esp + 2]
jmp 0x9d5e9e
sub esp, 4
lea esp, [esp + 4]
movzx ebx, byte [esi + 6]
sub esp, 0x12
mov word [esp + 6], sp
jmp 0x9d5eb4
mov dword [esp + 1], ebp
add esp, 1
lea esp, [esp + 1]
and ebx, ecx
pushal
jmp 0x9d5f2d
and ebx, ecx
lea esp, [esp + 0x48]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
mov bx, 0xf3e3
jmp 0x9d5ecb
lea esp, [esp + 0x38]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x9d5fd2
mov byte [esp + 0x1d], ch
mov dword [esp + 0xb], esi
stc
jmp 0x9d5f17
movzx ebx, byte [esi + 9]
push esp
call fcn.009d5f99

Function at 0x9d5e91
Capabilities:
Encrypt data using aes

Disassembly:
lea eax, reloc.kernel32.dll_DeleteCriticalSection
mov ebx, dword [eax]
pop eax
call 0x9d5d12
mov edx, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
call 0x9d5db2
fistp dword [esi - 0x34]
stosd dword es:[edi], eax
salc
das
and dword ss:[eax - 0x5d], esp
and edx, ecx
cmc
jmp 0x9d5d41
push eax
mov eax, ebx
lea eax, [eax*4]
jmp 0x9d5d33
pushal
add esp, 0x1f
lea esp, [esp + 1]
jmp 0x9d5dd9

Function at 0x9d5fb6
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
stc
mov word [esp], di
jmp 0x9d5fb8
jmp 0x9d5f9d
mov edx, dword [esi + 8]
push edx
push edx
jmp 0x9d6065
pushal
mov dword [esp], edx
push esp
lea esp, [esp + 4]
popal
push edx
jmp 0x9d602a
lea edi, [edi*4]
lea edi, reloc.kernel32.dll_DeleteCriticalSection
mov ebx, dword [edi]
pop edi
mov edi, dword [esp]
jmp 0x9d5fdc
mov word [esp + 2], dx
lea esp, [esp + 2]
jmp 0x9d604d
shr edi, 0x18
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
sub esp, 0x1a
mov word [esp + 4], di
jmp 0x9d6012
not edi
push edi
mov edi, ebx
jmp 0x9d5ffd
and edi, ecx
push ebp
jmp 0x9d60fb
mov edx, esi
lea edx, [edx + 4]
mov dword [edx], edi
pop edx
jmp 0x9d6046
add esp, 1
lea esp, [esp + 1]
lea esp, [esp + 0x24]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
not bl
jmp 0x9d60cc
pop ebp
and ebx, ecx
push edx
pop word [esp]
cmc
jmp 0x9d606f
push esp
mov ebx, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
call fcn.009d6097
push esp
fmul dword [esi + 0x29]
fsub dword [edi - 0x46]
xor eax, 0xfc3fcca5
movsb byte es:[edi], byte [esi]
xlatb
sub esp, 0x14
sub esp, 0x14
push word [esp + 0x11]
lea esp, [esp + 2]
lea esp, [esp + 0x14]
movzx ebx, byte [esi + 0xa]
jmp 0x9d60b0
mov ebp, edi
lea ebp, [ebp*4]
lea ebp, reloc.kernel32.dll_DeleteCriticalSection
mov edi, dword [ebp]
jmp 0x9d608c
Function at 0x9d6097
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 1
push word [esp + 2]
lea esp, [esp + 1]
jmp 0x9d60e2
and ebx, ecx
sub esp, 2
pushal
lea esp, [esp + 2]
jmp 0x9d66ec
lea esp, [esp + 0x28]
xor edi, dword [ebx*4 + reloc.kernel32.dll_DeleteCriticalSection]
bswap ebx
movzx ebx, byte [esi + 0xd]
call fcn.009d654f

Function at 0x9d63f5
Capabilities:
Encrypt data using aes

Disassembly:
pop esi
bswap ebx
mov bl, 0x56
mov ebx, dword [esp]
mov ebx, dword [esp]
jmp 0x9d636a
pop ebx
push esp
mov word [esp], di
mov word [esp], sp
jmp 0x9d63dd
lea esp, [esp + 4]
pop edi
mov bx, 0x3af1
jmp 0x9a8d29
lea esp, [esp + 4]
and al, 4
leave
call fcn.009d63c6
mov word [edx], ds
mov bh, ch
sbb bl, al
out dx, al
jg 0x9d63df
mov bh, byte [ecx + 0x46]
ror byte [ebp - 0x15], cl
movsd dword es:[edi], dword [esi]
push edx
mov word [esp], di
jmp 0x9d703e
pushal
mov byte [esp + 0x15], dh
mov word [esp + 0xe], dx
jmp 0x9d70d2
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x9d708e
lea esp, [esp + 4]
pop eax
jmp 0x9d643c
mov dword [esp + 0x1c], esi
lea esp, [esp + 0x1c]
cmp bl, 0x2b
call fcn.009d7106
pop ecx
les ebx, [edx + 0x3d]
int3

Function at 0xaf2ce6
Capabilities:
Parse pe header

Disassembly:
call fcn.00af2024
pop word [esp]
neg edi
mov dh, byte [esp]
xchg ah, bl
bsf cx, si
and cl, bh
jmp 0xaf28ba
mov bx, word [esp]
mov bx, 0xb5d9
xchg ch, dl
xchg byte [esp], al
not cx
push esp
jmp 0xaf2812
xchg ch, dl
lea ebx, [esi*4]
xchg word [esp], di
mov cl, 0xa
mov dh, byte [esp]
sub esp, 0x18
jmp 0xaf2ac0
not dh
mov dh, byte [esp]
btc ecx, ebx
cld
mov ecx, ebp
neg bh
jmp 0xaf2850
mov al, 0x9e
mov di, 0x6651
btc edx, ebx
bsf ax, si
mov al, ah
mov di, word [esp]
jmp 0xaf2879
shr ah, 1
mov bh, byte [esp]
mov bx, word [esp + 2]
not dh
xchg ah, bl
mov di, 0xc595
jmp 0xaf2896
mov cl, 0x12
mov si, 0x6361
mov byte [esp + 0xf], dh
call fcn.00af29fd
mov word [esp], di
push edx
call fcn.00af2b23
aam 0x54
retf 0x5cad
push word [esp + 3]
lea esp, [esp + 3]
push edx
pop word [esp]
call 0xaf2ce6
in al, 0x17
jle 0xaf2cba
pop dword [esp + 5]
mov dword [esp + 0x28], esi
call fcn.00af2c3d
pop eax
leave
pop ecx
cmp bl, cl
and al, ch
or esp, dword [edx + reloc.kernel32.dll_DeleteCriticalSection]
push edx
fild dword [esi + 0x66c48adc]
mov ecx, dword [esp]
mov ebx, 0xbe2831ec
mov cx, 0xa771
jmp 0xaf283d
mov eax, dword fs:[0x30]
jmp 0xaf2cc9
push esp
lea esp, [esp + 6]
lea esp, [esp + 3]
mov dword [esp + 0x28], edi
lea esp, [esp + 0x28]
jmp 0xaf2c85
mov eax, dword [eax + 8]
jmp 0xaf2d12
mov eax, dword [reloc.kernel32.dll_DeleteCriticalSection]
xor ah, byte [eax - 0x4c7bcd39]
stosb byte es:[edi], al
lds esi, [edi - 0x75]
inc eax
or al, 0x8b
inc eax
sbb al, 0x8b
add bl, ch
loopne 0xaf2c6d
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xaf2cb3
or al, 0x82
in eax, 0x14
mov ebp, 0x68099901
wait
sub byte [ecx - 6], ah
push 0x5b53fa0f
jmp 0xaf2ca0
push eax
jmp 0xaf201f
Function at 0x1003214
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.0100487d
jmp fcn.01003190

Function at 0x1004209
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x10042ca
cmp dword [ebp + 0x10], ebx
je 0x10042ca
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x100424e
mov dword [ebp - 4], 0x80040116
jmp 0x10042be
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1004267
mov dword [ebp - 4], 0x80040116
jmp 0x10042b6
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
jne 0x1004280
mov dword [ebp - 4], 0x8007000e
jmp 0x10042b5
push ebx
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100429d
mov dword [ebp - 4], 0x80040116
jmp 0x10042b5
cmp esi, dword [ebp - 8]
je 0x10042ab
mov dword [ebp - 4], 0x80004005
jmp 0x10042b5
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
pop edi
mov eax, dword [ebp + 8]
cmp eax, ebx
pop esi
je 0x10042c5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x10042cf
mov eax, 0x80070057
pop ebx
leave
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x406d7c
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 0x406de2
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.00404cd0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403444
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406dcc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406de9
lea eax, [ebp - 0x10]
call fcn.00404a60
ret

Function at 0x40cc10
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 0x40cc49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b50
jmp 0x40cc52
mov eax, ebx
mov edx, esi
call fcn.00404ab4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d304
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d17c
mov eax, dword [0x4d9070]
cmp byte [eax], 0
je 0x40d380
mov eax, dword [0x4d8ce4]
call fcn.00402fd8
call fcn.00402998
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.00409d6c
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 0x40d3c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d3b6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4d8c68]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4da668]
call fcn.00406274
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 0x436924
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f10
xor eax, eax
push ebp
push 0x436a52
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x436a25
xor eax, eax
push ebp
push 0x436a1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d20
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4369f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4369e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d20
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404f20
mov edx, ebx
pop ecx
call fcn.00402a2c
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 0x4369e9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4d8bb8]
mov dl, 1
mov eax, dword [0x40841c]
call fcn.0040d4ac
call fcn.004043fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436a59
lea eax, [ebp - 4]
call fcn.00404a60
ret