joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbbcf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xbd19fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xbbd002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00bc0dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xbbd002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00bb86e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00bc120b
push 0x10
call fcn.00bc11d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xbbcfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00bad1c0
jmp 0xbbcfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00bbcb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xbbcff0
mov ecx, edi
call fcn.00bad2c0
push edi
call fcn.00bc11c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xbbd021
inc ebx
cmp ebx, 0x20
jb 0xbbcf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xbbe250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xbd2808
push 0xbc2288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xbbe329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xbbe329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00bc11d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xbbe329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xbbe329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xbbe32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00bbe351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbbed20
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 0xbbed58
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 0xbbed60
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 0xbbed94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xbbed94
push eax
push esi
call fcn.00bc120b
add esp, 8
pop esi
ret 0x10

Function at 0xbbeda0
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 0xbbee22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xbbee15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xbd7320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00bc0dff
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 0xbbedda
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 0xbbee30
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 0xbbeec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xbbeeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xbd7320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00bc0dff
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 0xbbeeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xbbee6a
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 0xbbf000
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 0xbbf131
push esi
call fcn.00bc2145
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.00bb1080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xbbf131
push 0
push ebp
call fcn.00bb13a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00bb1260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xbbf08b
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.00bb12f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xbbf121
push 0xbd7918
push edi
call fcn.00bc03f0
push eax
push ebx
push esi
call fcn.00bbef60
push 0xbd78f8
push edi
call fcn.00bc03f0
push eax
push ebx
push esi
call fcn.00bbef60
push 0xbd78d8
push edi
call fcn.00bc03f0
push eax
push ebx
push esi
call fcn.00bbef60
push 0xbd78c0
push edi
call fcn.00bc03f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00bbef60
push 0xbd78a0
push edi
call fcn.00bc03f0
push eax
push ebx
push esi
call fcn.00bbef60
push 0xbd7888
push edi
call fcn.00bc03f0
push eax
push ebx
push esi
call fcn.00bbef60
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 0xbc01b0
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.00bc0140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00bc0140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00bc0140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00bc0140
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 0xbc0bfa
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 0xbc0c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xbd287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xbc0c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xbc0c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x102c895c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10331360]
jne 0x102c8966
repz ret
jmp fcn.102c8c0d

Function at 0x102c9a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov dword [0x1033133c], 0
mov dword [0x10331340], 0
mov dword [0x1033134c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [0x10331334], 0x145d
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x10]
jae 0x102c9bd7
mov eax, 0x100
mov ecx, dword [0x10331334]
add ecx, 0x21fe
mov dword [0x10331334], ecx
mov ecx, dword [0x1033133c]
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x1033133c], edx
mov edx, dword [0x10331334]
add edx, 0xf93
mov dword [0x10331338], edx
mov edx, dword [0x10331340]
mov esi, dword [0x1033133c]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10331340], edx
mov edx, dword [0x1033133c]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov byte [0x10331344], bl
mov edx, dword [0x10331340]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov edx, dword [0x1033133c]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov dword [0x10331338], 0x2b4
mov bl, byte [0x10331344]
mov edx, dword [0x10331340]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov edx, dword [0x1033133c]
mov esi, dword [ebp - 0x1c]
movzx edx, byte [esi + edx]
mov esi, dword [0x10331340]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov dword [ebp - 0x20], edx
mov dword [0x10331338], 0xdf3
mov edx, dword [ebp - 0x20]
mov eax, edx
cdq
idiv ecx
mov dword [0x1033134c], edx
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
mov esi, dword [0x1033134c]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
xor edx, esi
mov bl, dl
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], bl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x102c9ab4
mov dword [0x10331338], 0x2692
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102ca330
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [0x10331334], 0x1c6a
mov dword [ebp - 8], 0
mov dword [0x10331338], 0x2f2
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x10331334], 0xb29
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x102ca3a9
mov dword [ebp - 4], 1
jmp 0x102ca4ab
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x61
je 0x102ca425
jmp 0x102ca48b
cmp dword [ebp - 0x10], 0x104
jl 0x102ca3d5
jmp 0x102ca3f7
jmp 0x102ca48b
jmp 0x102ca486
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x102ca43c
jmp 0x102ca486
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x102ca3e8
jmp 0x102ca3f7
jmp 0x102ca3ea
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x102ca3a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x102ca48f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x102ca388
jmp 0x102ca48d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x102ca3be
jmp 0x102ca3b4
mov dword [0x10331338], 0xa81
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
cmp ecx, 0x6c
jne 0x102ca3b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x102ca37c
jmp 0x102ca3b9
jmp 0x102ca3b4
jmp 0x102ca48d
jmp 0x102ca48f
mov eax, dword [0x10331338]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0x94b
mov dword [0x10331338], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x1c
pop ebp
ret

Function at 0x102ca880
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.102ca880]
mov dword [0x10331334], 0x2e
mov dword [ebp - 8], eax
jmp 0x102ca89d
jmp 0x102ca8d5
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x102ca8bb
jmp 0x102ca8d5
mov al, 1
test al, 1
jne 0x102ca89d
jmp 0x102ca8fc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
jne 0x102ca89b
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x102ca905
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x10331338]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, 0x8d4
mov dword [0x10331334], eax
jmp 0x102ca8b3
mov dword [ebp - 4], 0
jmp 0x102ca905
mov eax, dword [ebp - 4]
add esp, 0x10
pop ebp
ret
Function at 0x10003eec
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 0x1008
call fcn.10016ff4
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x1002a398
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x10003f49
mov eax, 0
jmp 0x100040d7
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xc]
push eax
push 0x800
mov ebx, dword [ebp - 8]
call fcn.10002fcc
push ebx
xor eax, eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10003f84
push 0x80
push 0x40375c9
push 6
call fcn.10017000
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100040cf
fild dword [ebp - 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fdiv qword [0x1002a388]
fstp qword [ebp - 0x24]
mov dword [ebp - 0x2c], 1
fld qword [ebp - 0x24]
call fcn.10002fec
cmp eax, 0
jge 0x10003fce
push 0xe4
push 0x40375c9
push 0xa
call fcn.10017000
add esp, 0xc
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x2c]
call fcn.10002fcc
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10016ff4
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x28]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 8]
call fcn.10002fcc
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x1000400d
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
test edx, edx
je 0x10004023
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 8]
call fcn.10016fee
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.10003ed0
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100040cc
mov ebx, dword [ebp - 8]
call fcn.10002fcc
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x10004078
push 0x14e
push 0x40375c9
push 4
call fcn.10017000
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10004095
push 0x14e
push 0x40375c9
push 1
call fcn.10017000
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], eax
jne 0x100040b2
mov dword [ebp - 0x14], 1
push 0
mov ebx, 0x350
call fcn.10017aa0
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x10004043
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x100040d7
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.10016fee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10005cb4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
xor eax, eax
call dword [0x1002dbc0]
nop
nop
cmp dword [ebp - 4], esp
je 0x10005cec
push 0x24
push 0x4039902
push 6
call fcn.10017000
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10005d0a
pushal
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
popal
leave
ret 0xc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10011328
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.10011409
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001135c
push ebx
call fcn.10016fee
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x10011364
mov esp, ebp
pop ebp
ret 8
Function at 0x10017f40
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.100172f0
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x10017f97
push ebx
push edi
call fcn.10017400
push esi
mov ebx, esi
call fcn.100172f0
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x10017f6e
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x402e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x402e89
mov edi, 0
mov dword [0x407040], edi
mov byte [0x406475], 1
mov byte [0x40739d], 0
mov byte [0x40739e], 0
mov byte [0x40739f], 0
jmp 0x402eac
cmp eax, 1
jne 0x402eac
mov edi, 0
mov dword [0x407044], edi
mov byte [0x4064a7], 1
mov eax, 0
mov dword [0x407395], eax
cmp dword [section.BSS], 0
jbe 0x402eb7
jmp 0x402edf
push section.BSS
push 0
push 0
push 0x402ef0
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x407010], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle
mov dword [0x40701c], eax
pop edx
pop ecx
pop ebx
leave
ret 4
Function at 0x4c9503
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
jmp 0x4c950d
jbe 0x497564
ja 0x4c9543
push edi
into
pop esp
cmp edx, esi
ret
lea edi, reloc.MFC42.DLL_CWnd::OnCommand
mov esi, ecx
bswap esi
lea esi, [ebx*4]
jmp fcn.004c952d

Function at 0x4c95b2
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x4c9640
mov cl, dl
jmp 0x4c95f4
and al, 0x83
mov byte [edx + ecx*4], 0xcd
mov ecx, dword [esp + 4]
lea esp, [esp + 8]
jne 0x49754e
je 0x497564
js 0x4c95ec
jo 0x4c9623
loop 0x4c962f
mov edx, 0x21d2b727
out dx, al
fidiv dword [reloc.MFC42.DLL_CWnd::OnCommand]
mov ecx, dword [esp]
lea ecx, [eax*4]
and al, 8
lea ecx, reloc.MFC42.DLL_CWnd::OnCommand
jmp 0x4c964c
invalid
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ch, ah
bswap ecx
jmp 0x4c962a
call 0x4b34de
pop edi
setg al
xchg bl, al
jmp 0x4c967c
mov ebx, ebp
jmp 0x4c9689
lea eax, [eax*4]
mov al, bl
pop esi
push ebx
jmp 0x4c9659
lea ebx, [ebx - 4]
push esi
mov esi, 0x3f3c91a7
pushfd
jmp 0x4c96cc
mov ax, dx
jmp 0x4c96f2
lea esi, reloc.MFC42.DLL_CWnd::OnCommand
lea esp, [esp + 4]
mov dword [ebx], esi
pop esi
pop ebx
jmp 0x4c96b6
pop ebx
jmp 0x4975ac
lea eax, reloc.MFC42.DLL_CWnd::OnCommand
not bl
jmp 0x4c96dc

Function at 0x563f30
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bh, byte [esp + 8]
inc bh
pop word [esp + 0x10]
setge dl
jmp 0x563f19
mov ebx, dword [esp + 7]
add esp, 0xb
mov eax, 0x229fd52c
rdtsc
rdtsc
sub esp, 0x16
jmp 0x563eee
sub esp, 2
not bx
mov dx, word [esp + 2]
inc ah
mov ebx, ebp
jmp 0x563f41
mov eax, ebp
bswap edx
mov ax, word [esp + 1]
mov ebx, dword [esp + 9]
xchg bx, ax
jmp 0x563f04
lea esp, [esp + 0xe]
xchg word [esp], dx
not bx
lea ebx, reloc.MFC42.DLL_CWnd::OnCommand
neg dx
stc
jmp 0x563f81
bswap eax
xchg byte [esp + 6], dl
rdtsc
lea esp, [esp + 6]
lea edx, [eax + esi]
mov word [esp], sp
call fcn.00563f6b