joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1661d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1661d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x1661d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1661d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1661d94
push eax
push esi
call fcn.0166420b
add esp, 8
pop esi
ret 0x10

Function at 0x1661da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1661e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1661e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x167a320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01663dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x1661dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1661e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1661ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1661eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x167a320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01663dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x1661eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1661e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x1662000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1662131
push esi
call fcn.01665145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.01654080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1662131
push 0
push ebp
call fcn.016543a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01654260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x166208b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.016542f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1662121
push 0x167a918
push edi
call fcn.016633f0
push eax
push ebx
push esi
call fcn.01661f60
push 0x167a8f8
push edi
call fcn.016633f0
push eax
push ebx
push esi
call fcn.01661f60
push 0x167a8d8
push edi
call fcn.016633f0
push eax
push ebx
push esi
call fcn.01661f60
push 0x167a8c0
push edi
call fcn.016633f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01661f60
push 0x167a8a0
push edi
call fcn.016633f0
push eax
push ebx
push esi
call fcn.01661f60
push 0x167a888
push edi
call fcn.016633f0
push eax
push ebx
push esi
call fcn.01661f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x16631b0
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.01663140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.01663140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.01663140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.01663140
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 0x1663bfa
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 0x1663c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x167587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1663c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1663c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1000db4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
mov dword [ebp - 8], 0xf7e2799a
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], 0x1d
push edi
mov edi, ecx
jne 0x1000dcb3
push esi
push 2
lea ecx, [ebp - 0x24]
call fcn.10012962
mov dword [ebp - 0xc], 5
mov dword [ebp - 0x14], 0x962600bf
mov dword [ebp - 0x10], ebx
jmp 0x1000db9c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov dword [eax + ecx*4], 0x72fd
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1000db8c
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 1
jg 0x1000dc8e
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
jne 0x1000dbe5
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 8]
je 0x1000dbd2
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub eax, ecx
jne 0x1000dbe5
mov eax, ebx
jmp 0x1000dbe8
xor eax, eax
inc eax
imul ecx, eax, 0x11e9
xor edx, edx
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setg dl
xor ecx, ecx
cmp edx, dword [esi + 4]
setg cl
add ecx, dword [eax]
cmp ecx, dword [ebp - 8]
jle 0x1000dc14
cmp dword [ebp - 0xc], ebx
je 0x1000dc14
xor ecx, ecx
inc ecx
jmp 0x1000dc16
mov ecx, ebx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
sub ecx, eax
add ecx, dword [ebp - 0xc]
xor eax, eax
cmp ecx, edx
setne al
xor ecx, ecx
cmp eax, edx
mov eax, 0x4983
setne cl
sub eax, ecx
add eax, dword [ebp - 8]
jne 0x1000dc40
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
xor edx, edx
cmp dword [esi + 4], 5
sete dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffb
je 0x1000dc6b
cmp dword [ebp - 0xc], ebx
jne 0x1000dc6e
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], 9
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jle 0x1000dbb2
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000dc9d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x24]
call fcn.100129e4
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1d
je 0x1000db6f
pop esi
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000dcc6
push 0x1152
call dword [sym.imp.USER32.dll_SetCapture]
push 2
lea ecx, [ebp - 0x30]
call fcn.10012962
mov dword [ebp - 0x14], 0xfffffffb
mov dword [ebp - 0x14], ebx
jmp 0x1000dcec
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [eax + ecx*4], 0x9f9b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1000dcdc
mov dword [ebp - 0x14], ebx
jmp 0x1000dd04
mov dword [ebp - 0x18], 0xb0c
inc dword [ebp - 0x18]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jle 0x1000dcf7
lea ecx, [ebp - 0x30]
call fcn.100129e4
mov eax, dword [edi]
pop edi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028983
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100620cb
call fcn.10061410
sub esp, 0x14
push ebx
push esi
mov dword [ebp - 0x1c], 0xe04
cmp dword [ebp - 0x1c], 0xeff
push edi
mov dword [ebp - 0x10], esp
jle 0x100289fe
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, edi
mov dword [ebp - 0x20], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov eax, edi
mov ecx, 0x10609d98
xor eax, ebx
or eax, esi
cdq
push edx
push eax
call fcn.1001273a
inc edi
cmp edi, 0x7c64
jl 0x100289bb
inc ebx
cmp ebx, 0x4910
jl 0x100289b9
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x6fab
jl 0x100289b0
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x5488
jl 0x100289ab
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xadf
jge 0x10028a1a
mov edx, 0x10009544
mov ecx, 0x10609d98
call fcn.1001505e
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10028a47
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100620d5
call fcn.10061410
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x20], 0x5da2
cmp dword [ebp - 0x20], 0x5efc
push edi
mov dword [ebp - 0x10], esp
jle 0x10028ac7
xor esi, esi
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0x18], 0x45ca
mov dword [ebp - 0x14], ebx
xor edi, edi
and dword [ebp - 0x24], 0
mov esi, ebx
mov ebx, dword [ebp - 0x24]
and esi, edi
mov eax, esi
mov ecx, 0x10609d98
xor eax, ebx
cdq
push edx
push eax
call fcn.1001273a
inc ebx
cmp ebx, 0x62a5
jl 0x10028a88
mov ebx, dword [ebp - 0x14]
inc edi
cmp edi, 0x5bff
jl 0x10028a7d
mov esi, dword [ebp - 0x1c]
add ebx, esi
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
jne 0x10028a7b
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x17de
jl 0x10028a6f
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x59d2
jge 0x10028ae3
mov edx, 0x10009588
mov ecx, 0x10609d98
call fcn.1001505e
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100290a5
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100620fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002921c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0x4079
mov dword [ebp - 0x2c], 0x10009780
cmp dword [ebp - 0x24], 0x40ed
jle 0x1002915b
and dword [ebp - 0x18], 0
jmp 0x100290fd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6d8b
jge 0x1002915b
and dword [ebp - 0x1c], 0
jmp 0x10029113
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x13c0
jge 0x10029159
and dword [ebp - 0x20], 0
jmp 0x10029129
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6585
jge 0x10029157
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov ecx, 0x10609d98
call fcn.1001273a
jmp 0x10029122
jmp 0x1002910c
jmp 0x100290f6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x3dd0
jge 0x1002917b
mov edx, dword [ebp - 0x2c]
mov ecx, 0x10609d98
call fcn.1001505e
jmp 0x10029197
or dword [ebp - 4], 0xffffffff
jmp 0x100291a1
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x100291c2
push 0x14a5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1002921a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x100291f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x1002921a
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10012a00
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10012a00
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x100291e5
jmp 0x10029242
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
push 0x3ede
push dword [ebp - 0x44]
push 0
push 0x1740
push dword [ebp - 0x48]
call fcn.1003df9d
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029eba
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10029ed5
push 1
call fcn.10029f63
pop ecx
jmp 0x10029f5f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10029f41
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10029f25
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10029f3f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10012a00
and dword [eax], 0
jmp 0x10029f1a
jmp 0x10029f5f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10029f5f
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x1002fed1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006228a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002ff14
push 0x165f
push 0x7e53
push 0
call fcn.10041982
add esp, 0xc
jmp 0x10030012
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002ff37
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10030012
mov dword [ebp - 0x1c], 0x66f6
mov dword [ebp - 0x2c], 0x10009ee8
cmp dword [ebp - 0x1c], 0x6abe
jle 0x1002ffb8
and dword [ebp - 0x14], 0
jmp 0x1002ff5b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x20df
jge 0x1002ffb8
and dword [ebp - 0x18], 0
jmp 0x1002ff71
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e96
jge 0x1002ffb6
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.1000d0ee
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.1001271a
push eax
call fcn.1004c14f
pop ecx
lea ecx, [ebp - 0x54]
call fcn.10012710
jmp 0x1002ff6a
jmp 0x1002ff54
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x6352
jge 0x1002ffd4
push dword [ebp - 0x2c]
call fcn.1004c14f
pop ecx
jmp 0x1002fff0
or dword [ebp - 4], 0xffffffff
jmp 0x1002fffa
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10030012
push 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100313b3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10031450
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003142e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1003140f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x1003142c
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.10012a00
mov dword [eax], 0x8d514faf
jmp 0x10031404
jmp 0x1003144b
push 0
push 0
push 0
push 0
push 0x6e2
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x100314d0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x100314b9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1003149a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jge 0x100314b7
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.10012a00
mov dword [eax], 0xeaf6082f
jmp 0x1003148f
jmp 0x100314d0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100314d0
push 0x1152
call dword [sym.imp.USER32.dll_SetCapture]
mov esp, ebp
pop ebp
ret
Function at 0x10031e11
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10031f2b
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10031f21
mov dword [ebp - 8], 0xaf8b5131
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xfff7
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jg 0x10031e79
mov dword [ebp - 0xc], 1
jmp 0x10031e7d
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
add eax, 0x58633f67
cmp eax, dword [ebp - 8]
jne 0x10031e96
mov dword [ebp - 0x10], 1
jmp 0x10031e9a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jne 0x10031eb7
cmp dword [ebp - 8], 0
jne 0x10031eb7
cmp dword [ebp - 8], 0
jne 0x10031eb7
and dword [ebp - 0x24], 0
jmp 0x10031ebe
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
cmp eax, dword [ebp - 8]
je 0x10031ed2
mov dword [ebp - 0x28], 1
jmp 0x10031ed6
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jge 0x10031ee7
mov dword [ebp - 0x1c], 1
jmp 0x10031eeb
and dword [ebp - 0x1c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0x50], ecx
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10031f1f
push 0x8fe
push 0x1c87
push 0x169e
push 0x1348
push 0
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x10031f29
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10031f70
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
push 0
push 0x925
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.1002fcaa
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x1003df06
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003df78
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1003df6e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x1003df76
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1003df99
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
push 0x7c0a
call fcn.10029e70
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100414ce
Capabilities:
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100414fe
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100414f4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x100414fc
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x10041535
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push dword [eax]
push 0x534f
push 0x4a1
push dword [ebp - 0xc]
push 0x4e39
push 1
push 0x5401
push 0x4d33
call fcn.100305b7
add esp, 0x20
mov esp, ebp
pop ebp
ret