joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb3b250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb4f808
push 0xb3f288
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 0xb3b329
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 0xb3b329
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.00b3e1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xb3b329
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 0xb3b329
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 0xb3b32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00b3b351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xb3bd20
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 0xb3bd58
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 0xb3bd60
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 0xb3bd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb3bd94
push eax
push esi
call fcn.00b3e20b
add esp, 8
pop esi
ret 0x10

Function at 0xb3bda0
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 0xb3be22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xb3be15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xb54320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00b3ddff
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 0xb3bdda
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 0xb3be30
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 0xb3bec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xb3beb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xb54320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00b3ddff
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 0xb3beab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xb3be6a
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 0xb3c000
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 0xb3c131
push esi
call fcn.00b3f145
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.00b2e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xb3c131
push 0
push ebp
call fcn.00b2e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00b2e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xb3c08b
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.00b2e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xb3c121
push 0xb54918
push edi
call fcn.00b3d3f0
push eax
push ebx
push esi
call fcn.00b3bf60
push 0xb548f8
push edi
call fcn.00b3d3f0
push eax
push ebx
push esi
call fcn.00b3bf60
push 0xb548d8
push edi
call fcn.00b3d3f0
push eax
push ebx
push esi
call fcn.00b3bf60
push 0xb548c0
push edi
call fcn.00b3d3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00b3bf60
push 0xb548a0
push edi
call fcn.00b3d3f0
push eax
push ebx
push esi
call fcn.00b3bf60
push 0xb54888
push edi
call fcn.00b3d3f0
push eax
push ebx
push esi
call fcn.00b3bf60
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 0xb3d1b0
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.00b3d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b3d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b3d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b3d140
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 0xb3dbfa
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 0xb3dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb4f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb3dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb3dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x4ca25448
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x21eb56a1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403250
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x4a25fc]
mov ecx, dword [0x49f508]
sub esp, 0xc24
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403354
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4a25fc], 0x959
jne 0x40333a
push 0
call esi
push 0
lea eax, [esp + 0x434]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0x402d74
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov eax, dword [esp + 0x14]
push eax
call fcn.00403090
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403290
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc24
ret
Function at 0x40a730
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436620]
jne 0x40a73a
repz ret
jmp fcn.0040e6d1

Function at 0x40e127
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004090c3
and dword [ebp - 4], 0
cmp dword [0x4380a8], 0
mov ebx, eax
jne 0x40e1d8
push 0x40237c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e289
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402370
push edi
call esi
test eax, eax
je 0x40e289
push eax
call fcn.00409051
mov dword [esp], 0x402360
push edi
mov dword [0x4380a8], eax
call esi
push eax
call fcn.00409051
mov dword [esp], 0x40234c
push edi
mov dword [0x4380ac], eax
call esi
push eax
call fcn.00409051
mov dword [esp], 0x402330
push edi
mov dword [0x4380b0], eax
call esi
push eax
call fcn.00409051
pop ecx
mov dword [0x4380b8], eax
test eax, eax
je 0x40e1d8
push 0x402318
push edi
call esi
push eax
call fcn.00409051
pop ecx
mov dword [0x4380b4], eax
mov eax, dword [0x4380b4]
cmp eax, ebx
je 0x40e230
cmp dword [0x4380b8], ebx
je 0x40e230
push eax
call fcn.004090cc
push dword [0x4380b8]
mov esi, eax
call fcn.004090cc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e230
test edi, edi
je 0x40e230
call esi
test eax, eax
je 0x40e227
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e227
test byte [ebp - 0xc], 1
jne 0x40e230
or dword [ebp + 0x10], 0x200000
jmp 0x40e269
mov eax, dword [0x4380ac]
cmp eax, ebx
je 0x40e269
push eax
call fcn.004090cc
pop ecx
test eax, eax
je 0x40e269
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e269
mov eax, dword [0x4380b0]
cmp eax, ebx
je 0x40e269
push eax
call fcn.004090cc
pop ecx
test eax, eax
je 0x40e269
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4380a8]
call fcn.004090cc
pop ecx
test eax, eax
je 0x40e289
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e28b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa0209d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0xa020db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [0xa2f094]
test eax, eax
je 0xa020e5
mov edi, dword [edi]
cmp edi, esi
jne 0xa020c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0xa020e1
Function at 0xa053d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [0xa2f058]
push eax
call dword [0xa2f048]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0xa05437
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [0xa2f0a4]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0xa05409
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0xa0562f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xa3c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0xa0565f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0xa0566d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.00a1d6e4
leave
ret
Function at 0xa07555
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0xa3c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.00a1136c
lea eax, [ebp - 0x980]
push eax
call fcn.00a056a7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0xa359d6
lea esi, [ebp - 0x8f8]
call fcn.00a1133a
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0xce8ee4]
push dword [0xce8bac]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0xce8fc0]
test eax, eax
jne 0xa075dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0xa07760
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0xce8fe4]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0xa07754
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0xce89f8]
push dword [ebp - 0x918]
push 0xa36944
push dword [ebp - 0x8e8]
call dword [0xce9024]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0xa07748
cmp esi, ebx
je 0xa07675
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0xce8ddc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0xce8fac]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0xce903c]
test eax, eax
jne 0xa076bd
push 0xa36948
mov esi, dword [ebp - 0x8d8]
call fcn.00a1133a
jmp 0xa07771
lea edx, [ebp - 0x104]
call fcn.00a12950
cmp eax, 0xc8
jne 0xa0779d
cmp esi, ebx
je 0xa0773c
mov edi, 0x7cf
jmp 0xa0771d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0xa0773c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.00a1145c
lea esi, [ebp - 0x8f8]
call fcn.00a113e0
mov eax, dword [ebp - 0x908]
call fcn.00a03510
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0xce8f0c]
test eax, eax
jne 0xa076de
push dword [ebp - 0x8e0]
call dword [0xce8ee0]
push dword [ebp - 0x8e8]
call dword [0xce8ee0]
push dword [ebp - 0x8dc]
call dword [0xce8ee0]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00a1136c
mov eax, dword [ebp - 0x8f8]
call fcn.00a03510
mov eax, dword [ebp + 0xc]
call fcn.00a03510
mov eax, dword [ebp + 0x18]
call fcn.00a03510
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a1d6e4
leave
ret
push 0xa36950
jmp 0xa076ad
Function at 0xa08331
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00a088cd
add esp, 0x10
test eax, eax
jne 0xa08351
xor eax, eax
inc eax
jmp 0xa083e7
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xa083e4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xa083e4
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00a088cd
add esp, 0x10
test eax, eax
je 0xa08349
cmp dword [edi], 0x4550
jne 0xa083e4
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0xa083e4
movzx eax, word [esi + 0x46]
test ax, ax
je 0xa083e4
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00a129cb
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0xa083b9
push 3
jmp 0xa083e6
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00a088cd
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0xa083e7
push 2
pop eax
pop edi
pop ebp
ret
Function at 0xa10470
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0xa10536
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00a242e0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0xa355bd
push 0xa356fc
call dword [0xce8e90]
test eax, eax
je 0xa10534
push edi
push 0x1000
push edi
push ebx
call dword [0xce8f4c]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [0xa2f0ac]
test eax, eax
je 0xa10534
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [0xa2f0b4]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [0xa2f0b8]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0xa1053b
push dword [ebp - 0x20]
call dword [0xce9000]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [0xa2f174]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0xa10595
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0xa1055e
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [0xa2f0b0]
push dword [ebp - 0x20]
call dword [0xce9000]
mov eax, dword [ebp - 0x1c]
jmp 0xa10536

Function at 0xa18c4c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0xa1aca0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0xa1acce
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00a242e0
mov eax, ebx
movzx ecx, word [eax*8 + 0xa3515a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0xa35158]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0xa3515c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0xa3515e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0xa1ad31
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0xa1ad3d
cmp ebx, 8
jl 0xa1ad3d
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0xa1ada2
cmp eax, 0xffffffff
je 0xa1ada2
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0xa1ad7d
call fcn.00a1aef8
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0xa1ad85
jmp 0xa1adb2
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret