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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push esi
push edi
push ebx
push ecx
mov edi, edx
call ebp
test eax, eax
jne 0x100ed5b8
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x100ed5b1
nop
push ebx
push dword [esi]
call ebp
test eax, eax
jne 0x100ed5b8
add esi, 4
cmp esi, dword [edi + 4]
jne 0x100ed5a0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x1c]
mov dl, 1
sub eax, 0
je 0x100ed5fb
sub eax, 1
jne 0x100ed624
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x100ed624
mov esi, dword [esp + 0x18]
nop dword [eax]
test dword [eax], esi
je 0x100ed5f2
add eax, 4
cmp eax, ecx
jne 0x100ed5e0
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret
pop edi
pop esi
xor dl, dl
pop ebp
mov al, dl
pop ebx
ret
mov ecx, dword [esp + 0x20]
xor dl, dl
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x100ed624
mov esi, dword [esp + 0x18]
nop
test dword [eax], esi
jne 0x100ed622
add eax, 4
cmp eax, ecx
jne 0x100ed610
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret
mov dl, 1
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret
Function at 0x100ed8d0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
xor bl, bl
mov dword [esp + 8], 0
push edi
mov dword [esp + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esp + 0x14], 1
jb 0x100ed900
mov eax, dword [esi]
push ebp
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push dword [esp + 0x14]
call fcn.10096b22
mov ecx, dword [esp + 0x14]
mov edi, eax
add ecx, ecx
push ecx
call fcn.10096b22
add esp, 8
mov ebp, eax
test edi, edi
je 0x100ed99c
test ebp, ebp
je 0x100ed9a9
cmp dword [esi + 0x14], 8
jb 0x100ed949
mov esi, dword [esi]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x100ed99c
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov esi, eax
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push esi
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
test ebp, ebp
je 0x100ed9a9
push ebp
call fcn.1007e266
add esp, 4
pop ebp
test edi, edi
je 0x100ed9b7
push edi
call fcn.1007e266
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x100f1150
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
xorps xmm0, xmm0
mov dword [esp], 0x3c
push esi
mov esi, edx
movlpd qword [esp + 8], xmm0
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
test eax, eax
je 0x100f11e4
cmp dword [esp + 0x20], 0x20
seta al
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret

Function at 0x100f13c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x20c
push esi
push edi
push 0x208
lea eax, [esp + 0x10]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [esp + 0x14], edi
call fcn.100747a0
add esp, 0xc
lea eax, [esp + 0xc]
push 0
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
test eax, eax
jne 0x100f1421
push eax
push 0x10132fa4
mov ecx, edi
mov word [edi], ax
call fcn.1001a860
mov eax, edi
pop edi
pop esi
add esp, 0x20c
ret
xor eax, eax
lea ecx, [esp + 0xc]
mov word [edi], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f1430
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1001a860
mov eax, edi
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x100f1bb0
Capabilities:
Acquire debug privileges
Check os version

Disassembly:
mov eax, dword [0x10155910]
sub esp, 0x138
push edi
mov edi, ecx
test eax, eax
jne 0x100f1bf9
push 0x118
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.100747a0
add esp, 0xc
mov dword [esp + 0x20], 0x11c
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100f1cbc
mov eax, dword [esp + 0x24]
mov dword [0x10155910], eax
cmp eax, 5
jbe 0x100f1cbc
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100f1c24
call esi
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x100f1c50
call esi
push eax
push str.LookupPrivilegeValue_error:__u_n
call fcn.10030720
add esp, 8
jmp 0x100f1cb0
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push 0
push ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x100f1c9a
call esi
push eax
push str.AdjustTokenPrivileges_error:__u_n
call fcn.10030720
add esp, 8
jmp 0x100f1cb0
call esi
cmp eax, 0x514
jne 0x100f1cb0
push str.The_token_does_not_have_the_specified_privilege.__n
call fcn.10030720
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
push dword [esp + 0x140]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
pop edi
add esp, 0x138
ret
Function at 0x100f2100
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp], eax
cmp eax, 1
jne 0x100f2167
lea eax, [esp]
push eax
push dword [esp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 4]
neg eax
sbb eax, eax
and dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp]
cmp eax, 1
sete al
add esp, 0x10
ret
Function at 0x100f5c10
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x100f5c85
cmp edi, 1
jl 0x100f5c85
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x28]
push 0x40
xorps xmm0, xmm0
push 0
push eax
movups xmmword [esi], xmm0
call fcn.100747a0
push edi
mov edx, ebx
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.1010f990
add esp, 0x10
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.1010f800
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x100f8940
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f2c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x10], edx
or ebx, 0x4000000
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x18], esi
push 4
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push eax
push 2
push esi
mov dword [ebp + 0xc], 0x7d0
call edi
push 4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 3
push eax
push 3
push esi
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
sub esp, 8
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.100f7f40
add esp, 0x18
mov bl, al
test esi, esi
je 0x100f89ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100fa2c0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1011f41d
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov ebx, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x100fa309
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push 0x10151e64
push 2
push edi
call esi
push 4
push 0x10151e60
push 3
push edi
call esi
mov eax, dword [0x101558c8]
mov dword [ebp - 0x10], 0x101558c8
test eax, eax
je 0x100fa33e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10151e84
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.1001cdf0
mov eax, dword [0x101558c8]
test eax, eax
je 0x100fa362
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], 0
jne 0x100fa376
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x100fa398
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.100e0800
add esp, 4
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 0x10
jb 0x100fa3a0
mov ebx, dword [ebx]
push 0
push 0x84000000
push 0xffffffffffffffff
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp dword [ebp - 0x10], 0
mov esi, eax
je 0x100fa400
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100fa3ee
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa3e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa466
push edx
push ecx
call fcn.100703b3
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
jne 0x100fa40f
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x100fa41d
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100fa453
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa449
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa46b
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007e0fa
call fcn.1007e0fa
int3
Function at 0x10104ec0
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push esi
cmp eax, 0xffffffff
je 0x10104f02
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10104ee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10104f02
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ecx
ret 4
xor al, al
pop esi
pop ecx
ret 4

Function at 0x10106d60
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x10106d79
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xffffffff
je 0x10106d9b
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x10106d8c
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esi + 0x2c], 0xffffffff
pop esi
ret

Function at 0x1010fbc0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ecx]
push ebx
push esi
push edi
test eax, eax
je 0x1010fc8a
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1010fc8a
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
add dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
cmp ecx, dword [esi + 4]
je 0x1010fc7d
mov ebx, dword [esi + 0xc]
mov edi, ecx
sub edi, dword [esi + 0x18]
cmp edi, 0x3e8
jbe 0x1010fc45
mov eax, ebx
mov dword [esi + 0x18], ecx
sub eax, dword [esi + 0x1c]
xor edx, edx
div edi
mov dword [esi + 0x1c], ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1013cbe0]
movsd qword [esi + 0x10], xmm0
mov eax, ecx
movd xmm1, ebx
sub eax, dword [esi]
cvtdq2pd xmm1, xmm1
shr ebx, 0x1f
mov dword [esi + 4], ecx
movd xmm0, eax
addsd xmm1, qword [ebx*8 + 0x1013cbe0]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1013cbe0]
divsd xmm1, xmm0
movsd qword [esi + 0x20], xmm1
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x101109c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10120391
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x24]
push 0
call fcn.100e0800
add esp, 4
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 0xc], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x10110a29
mov esi, edi
cmp byte [edi], al
je 0x10110a26
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x10110a20
sub esi, edi
inc esi
push esi
call fcn.1004ae80
mov edx, eax
test edi, edi
je 0x10110a4e
test esi, esi
je 0x10110a4e
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x10110a40
test edx, edx
je 0x10110a7b
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x30]
push 0
push edx
push 0
add ecx, 0x30
push 4
call fcn.10049390
test eax, eax
je 0x10110a7b
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
jne 0x10110a76
mov ecx, dword [ebx + 0x30]
call fcn.100496c0
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
cmp edx, 0x10
jb 0x10110aae
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10110aa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10110abe
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.1007e0fa
int3
Function at 0x10111280
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10120403
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x24]
push 0
call fcn.100e0800
add esp, 4
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 0xc], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x101112e9
mov esi, edi
cmp byte [edi], al
je 0x101112e6
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x101112e0
sub esi, edi
inc esi
push esi
call fcn.1004ae80
mov edx, eax
test edi, edi
je 0x1011130e
test esi, esi
je 0x1011130e
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x10111300
test edx, edx
je 0x10111346
mov ecx, dword [ebx + 0x30]
push 0
push dword [ebp + 0xc]
add ecx, 0x30
push 0
push edx
push 1
call fcn.10049390
mov esi, eax
test esi, esi
je 0x10111346
mov ecx, dword [ebp + 8]
push esi
test ecx, ecx
je 0x1011133c
call fcn.100496c0
jmp 0x10111348
mov ecx, dword [ebx + 0x30]
call fcn.100496c0
jmp 0x10111348
xor esi, esi
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x10111378
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1011136e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011138d
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.1007e0fa
int3
Function at 0x101113a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10120415
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x24]
push 0
call fcn.100e0800
add esp, 4
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
add ecx, 0x30
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov dword [ebp + 8], eax
cmovae edi, dword [ebp - 0x24]
test eax, eax
jne 0x10111409
mov esi, edi
cmp byte [edi], al
je 0x10111406
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x10111400
sub esi, edi
inc esi
push esi
call fcn.1004ae80
mov edx, eax
test edi, edi
je 0x1011142e
test esi, esi
je 0x1011142e
mov ecx, edx
sub edi, edx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x10111420
test edx, edx
je 0x1011148a
mov ecx, dword [ebx + 0x30]
push 0
push dword [ebp + 8]
add ecx, 0x30
push 0
push edx
push 1
call fcn.10049390
mov esi, eax
test esi, esi
je 0x1011148a
mov ecx, dword [ebx + 0x30]
cmp dword [ecx + 0x18], 0
je 0x10111471
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [eax + 0x2c], esi
mov dword [ecx + 0x1c], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x2c], 0
jmp 0x1011148c
mov dword [esi + 0x28], 0
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x2c], 0
jmp 0x1011148c
xor esi, esi
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x101114bc
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101114b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101114d1
push edx
push ecx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1007e0fa
int3
Function at 0x101129a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101204d9
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
cmp esi, eax
je 0x101129dd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x101129d4
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.1001a860
cmp dword [esi + 0x10], 0
je 0x10112a1e
mov dword [ebp - 0x20], vtable.PH::GMFile.0
mov dword [ebp - 0x1c], 0xffffffff
push ecx
push 3
push 1
push 0xc0000000
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.10105040
test al, al
jne 0x10112a32
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x10112a1e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x1c]
push ebx
cmp esi, 0xffffffff
je 0x10112ae7
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10112a67
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10112a67
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10112ae7
mov ecx, dword [ebp + 8]
xor eax, eax
add eax, ebx
mov dword [ebp - 0x10], eax
adc ecx, 0
mov dword [ebp - 0x18], ecx
lea ecx, [edi + 0x20]
lea esi, [eax + 1]
push esi
call fcn.1001bc00
push esi
push 0
push dword [edi + 0x28]
call fcn.100747a0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
push dword [edi + 0x28]
call fcn.10104f10
test al, al
je 0x10112adf
xor eax, eax
cmp dword [ebp - 0x14], esi
jne 0x10112adf
cmp eax, dword [ebp - 0x18]
jne 0x10112adf
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x28]
mov eax, dword [eax + 8]
call eax
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.10105130
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x20]
call fcn.10105130
mov ecx, dword [ebp - 0xc]
xor al, al
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xa16058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa161a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa1607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1606a
add dl, dl
jne 0xa16089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa160dc
xor eax, eax
add dl, dl
jne 0xa16096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1617d
add dl, dl
jne 0xa160a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa160b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa160bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa160c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa160d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa16075
mov eax, 1
add dl, dl
jne 0xa160ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa160f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa160e1
sub eax, ebx
mov ebx, 1
jne 0xa16128
mov ecx, 1
add dl, dl
jne 0xa1610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa16119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa16105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa16075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa1613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa1614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa16136
cmp eax, 0x7d00
jae 0xa1616d
cmp eax, 0x500
jb 0xa16168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa16075
cmp eax, 0x7f
ja 0xa16170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa16075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa1619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa16075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6bbd5f1a
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x62932703
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40965c
Capabilities:
Encode data using xor

Disassembly:
call 0x40951f
mov ecx, 0x246
call 0x40965c
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x40965f
ljmp 0xefb6:0xda8d5821