joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa5d050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0xad0da1
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
lea edi, [ebx + 4]
mov dword [ebx], vtable.LString.0
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
mov eax, 1
add dword [0xafcc40], eax
mov dword [esp + 0x14], ebx
mov esi, ecx
xor ecx, ecx
push 0x3a
push ecx
lea edx, [esp + 0x42]
mov dword [esp + 0x88], 0
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x44], cx
call fcn.00a827a0
movzx eax, byte [esi + 5]
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 3]
add esp, 0xc
push eax
movzx eax, byte [esi + 2]
push ecx
movzx ecx, byte [esi + 1]
push edx
movzx edx, byte [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x50]
push str._.2X:_.2X:_.2X:_.2X:_.2X:_.2X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00a63660
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x24]
mov esi, 1
push edx
mov ecx, edi
mov dword [esp + 0x8c], esi
call fcn.00a11910
sub dword [0xafcc40], esi
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], vtable.LString.0
jb 0xa5d158
mov eax, dword [esp + 0x20]
push eax
call fcn.00a7ac28
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00a7a967
add esp, 0x78
ret
Function at 0xa611a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xacf1eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00a7705a
push 4
mov dword [esp + 0x24], 0
call fcn.00a7acb0
mov edi, eax
add esp, 4
test edi, edi
je 0xa61222
call fcn.00a76ecb
mov dword [edi], eax
call fcn.00a76da0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00a7701b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0xa61217
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00a77043
jmp 0xa61224
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0xa63230
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
cmp byte [esi + 4], 0
mov dword [esi], 0
jne 0xa63245
xor al, al
add esp, 8
ret
cmp dword [eax + 0x1c], 8
mov ecx, 4
mov dword [esp + 4], ecx
mov dword [esp], ecx
jb 0xa6325c
mov eax, dword [eax + 8]
jmp 0xa6325f
add eax, 8
push edi
lea ecx, [esp + 4]
push ecx
push edx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
mov dword [esi], eax
sete al
pop edi
add esp, 8
ret

Function at 0xa63290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xacf383
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00a76dd0
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0xa632e1
mov eax, dword [esi + 0x1c]
push eax
call fcn.00a7ac28
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0xa64360
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0xad1ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x82c], eax
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84c]
xor edi, edi
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
call fcn.00a65a70
push 0x800
lea ecx, [esp + 0x32]
xor eax, eax
push edi
mov dword [esp + 0x84c], edi
push ecx
mov word [esp + 0x38], ax
call fcn.00a827a0
mov eax, dword [esp + 0x20]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x28], edi
jae 0xa643e3
lea eax, [esp + 0x14]
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0xa6441d
push esi
lea ecx, [esp + 0x30]
call fcn.00a63660
dec dword [0xafcc40]
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], edi
jb 0xa64449
mov eax, dword [esp + 0x14]
push eax
jmp 0xa64441
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.00a63b70
dec dword [0xafcc40]
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], edi
jb 0xa64449
mov edx, dword [esp + 0x14]
push edx
call fcn.00a7ac28
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.00a7a967
add esp, 0x840
ret 4

Function at 0xa64690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xad1d60
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0x30]
push eax
mov esi, ecx
call fcn.00a63b70
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x5c], 0
call fcn.00a64510
push esi
lea edx, [esp + 0x10]
push edx
call fcn.00a63b70
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x5c], 1
call fcn.00a64510
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
jae 0xa6470c
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xa64711
sub eax, esi
sar eax, 1
push edx
mov ebx, eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x14]
call fcn.00a13a70
dec dword [0xafcc40]
mov ebx, 8
mov esi, eax
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], ebx
jb 0xa64758
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov dword [esp + 0x2c], vtable.LString.0
cmp dword [esp + 0x48], ebx
jb 0xa64790
mov eax, dword [esp + 0x34]
push eax
call fcn.00a7ac28
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00a7a967
add esp, 0x50
ret 8
Function at 0xa6fd70
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0xa6fd81
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0xa6fd9f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0xa6fdd6
test ecx, ecx
je 0xa6fdcf
test esi, esi
ja 0xa6fd90
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0xa6fdf0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0xa6fe01
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0xa6fe1f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0xa6fe56
test ecx, ecx
je 0xa6fe4f
test esi, esi
ja 0xa6fe10
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0xa72c10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0xafe240], ecx
inc edx
cmp edx, 0x100
jb 0xa72c13
cmp edx, 0x800
jae 0xa72ce9
lea ecx, [ecx]
mov eax, dword [edx*4 + 0xafde40]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0xafe240]
inc edx
mov dword [edx*4 + 0xafe23c], eax
cmp edx, 0x800
jb 0xa72cc0
mov eax, 0xa73990
mov dword [0xafe228], eax
mov dword [0xb00240], eax
mov dword [0xafe224], 0xa73a40
call fcn.00a73c40
test eax, eax
jne 0xa72d15
mov dword [0xb00240], 0xa73a40
pop ecx
ret
Function at 0xa72d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
push esi
mov esi, dword [esp + 0xb0]
push edi
xor ebp, ebp
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
call fcn.00a766a0
add esp, 4
cmp eax, ebp
jne 0xa72eb5
mov edx, dword [esp + 0xb8]
mov edi, dword [esp + 0xa8]
mov eax, 1
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
jmp 0xa72dc0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0x40000
test ebp, ebp
ja 0xa72de2
jb 0xa72dde
cmp edi, 0x40000
jae 0xa72de2
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call edx
mov esi, eax
add esp, 0xc
test esi, esi
jne 0xa72ea1
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xbc]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.00a762f0
mov esi, eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x24], eax
add esp, 0x14
sub edi, eax
sbb ebp, 0
test esi, esi
jne 0xa72ea1
mov ecx, dword [esp + 0x20]
cmp ecx, 1
je 0xa72e8b
mov edx, dword [esp + 0xb8]
cmp edx, dword [esp + 0x4c]
jne 0xa72e67
mov edx, edi
or edx, ebp
jne 0xa72e67
cmp ecx, 4
je 0xa72ea1
test eax, eax
jne 0xa72e71
cmp ebx, dword [esp + 0x4c]
je 0xa72e9c
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 4]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0xa72dc0
jmp 0xa72ea1
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [esp + 0x4c]
jne 0xa72e9c
or edi, ebp
je 0xa72ea1
mov esi, 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [eax + 4]
call eax
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a7a967
add esp, 0x94
ret
Function at 0xa743d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [ecx]
push edi
xor edi, edi
and esi, 7
cmp eax, 5
jae 0xa743ef
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
sub eax, 4
push ebp
lea ebp, [ebx + eax]
mov dword [esp + 0x10], ebp
lea ebx, [ebx]
lea edx, [edi + ebx]
cmp edx, ebp
jae 0xa74414
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0xa74414
inc edx
cmp edx, ebp
jb 0xa74407
mov ecx, edx
sub ecx, edi
mov eax, edx
sub eax, ebx
sub ecx, ebx
mov edi, eax
cmp edx, ebp
jae 0xa744e4
cmp ecx, 2
jbe 0xa744b3
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0xa744d9
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
add edi, 5
mov eax, ecx
sub eax, edi
test esi, esi
je 0xa74491
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0xa74487
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
sub eax, edi
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
xor esi, esi
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0xa74400
shr esi, cl
test esi, esi
je 0xa74433
cmp esi, 4
ja 0xa744d9
cmp esi, 3
je 0xa744d9
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0xa74433
or esi, 8
shr esi, 1
inc edi
jmp 0xa74400
pop ebp
cmp ecx, 2
jbe 0xa744f9
mov edx, dword [esp + 0x18]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebx
pop ecx
ret
Function at 0xa784f2
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0xacf088
call fcn.00a80606
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0xa78604
cmp byte [esi + 0x42], bl
je 0xa78604
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0xa7852e
xor al, al
jmp 0xa78606
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00a21c70
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0xa7859e
dec eax
je 0xa785a2
dec eax
dec eax
je 0xa78600
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00a11790
mov al, bl
jmp 0xa78606
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0xa785e2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00a7c564
add esp, 0x10
cmp edi, eax
jne 0xa7858c
cmp byte [esi + 0x42], 0
je 0xa78600
test edi, edi
jne 0xa7853c
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00a12d00
jmp 0xa7853c
mov bl, 1
jmp 0xa7858e
mov al, 1
call fcn.00a80650
ret
Function at 0xa786ad
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0xacf0f6
call fcn.00a80606
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0xa786d7
lea eax, [ebp + 8]
push eax
call fcn.00a5c1a0
pop ecx
jmp 0xa78852
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0xa78705
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0xa78705
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0xa78852
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0xa7884d
cmp dword [esi + 0x3c], ebx
jne 0xa7872e
push eax
push edi
call fcn.00a77e6e
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0xa78852
jmp 0xa7884d
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.00a21c70
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
lea edx, [ebp - 0x38]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0xa7881f
cmp eax, 1
jg 0xa7885a
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0xa787c4
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00a7c564
add esp, 0x10
cmp edi, eax
jne 0xa78841
lea eax, [ebp - 0x30]
mov byte [esi + 0x42], 1
cmp dword [ebp - 0x3c], eax
jne 0xa7888a
test edi, edi
ja 0xa787ea
cmp dword [ebp - 0x18], 0x20
push 0
lea ecx, [ebp - 0x2c]
jae 0xa78846
push 8
call fcn.00a12d00
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00a3e570
mov ecx, eax
call fcn.00a3ed00
lea edx, [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x40]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x2e]
push edx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0xa7877b
push 0
lea ecx, [ebp - 0x2c]
push 1
call fcn.00a11790
mov eax, 0xffff
call fcn.00a80650
ret 4
cmp eax, 3
jne 0xa78841
push dword [esi + 0x4c]
push dword [ebp - 0x30]
call fcn.00a77e6e
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0xa78879
mov esi, 0xffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00a11790
mov ax, si
jmp 0xa78852
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00a11790
mov ax, word [ebp + 8]
jmp 0xa78852
Function at 0xa78ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0xafba8c]
mov dword [ebp - 4], eax
jmp 0xa78ee9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0xa78f06
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0xa78ee0
mov esp, ebp
pop ebp
ret

Function at 0xa78f10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0xafba9c], eax
je 0xa78f2e
mov eax, 0x10dd
jmp 0xa7900f
mov eax, dword [0xafbaac]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0xa78fac
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0xa78f8a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0xa78f8a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00a79080
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00a7ac28
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0xa78f36
mov dword [0xafbaac], 0
call fcn.00a79020
mov ecx, dword [0xafbaa8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0xa78ff9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00a7ac28
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0xa78fc4
mov dword [0xafbaa8], 0
mov dword [0xafba9c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xa79580
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0xa79595
xor eax, eax
jmp 0xa7960a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0xa795c2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0xa79605
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0xa79603
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0xa795ff
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0xa79603
xor eax, eax
jmp 0xa7960a
jmp 0xa795b9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0xa796b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0xafbaa0], 0
je 0xa796c9
mov eax, dword [0xafbaa0]
jmp 0xa79769
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0xa796db
xor eax, eax
jmp 0xa79769
push 8
call fcn.00a7acb0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xa79731
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0xa7971a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00a7ac28
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0xafbaa0], eax
mov dword [0xafbaa4], 0
mov eax, dword [ebp - 4]
jmp 0xa79769
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0xa7974b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0xa796fb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0xafbaa8]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0xafbaa8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4