joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42bc90
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x42bc86
cmp edi, 0x1b
jne 0x42bc6e
mov ecx, dword [esi + 4]
push 0
push 2
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x2f8], 0
ret
cmp edi, 0xd
jne 0x42bc86
mov edx, dword [esi + 4]
push 0
push 1
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x2f8], 0
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x472488
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esi + 4], vtable.ICompressSetInStream.0
mov dword [esi + 8], vtable.ISequentialInStream.0
mov dword [esi + 0xc], vtable.ICompressSetOutStream.0
mov dword [esi + 0x10], vtable.ISequentialOutStream.0
mov dword [esi + 0x14], vtable.IOutStreamFlush.0
mov dword [esi + 0x18], vtable.ICryptoSetPassword.0
mov dword [esi + 0x1c], vtable.ICompressSetCoderProperties.0
mov dword [esi + 0x20], vtable.ICompressWriteCoderProperties.0
mov dword [esi + 0x24], vtable.ICryptoResetInitVector.0
mov dword [esi + 0x28], vtable.ICompressSetDecoderProperties2.0
xor edi, edi
mov dword [esi + 0x2c], edi
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [esi + 0x34], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
push 4
push 0x1000
push 0x20000
push edi
mov byte [esp + 0x28], 7
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x30], eax
cmp eax, edi
jne 0x42c790
push 0x483ce4
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 1
call fcn.0045e39b
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x42c7b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x472408
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [esp + 0x10], 7
mov eax, dword [esi + 0x30]
test eax, eax
je 0x42c83e
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov byte [esp + 0x10], 6
mov eax, dword [esi + 0x74]
test eax, eax
je 0x42c852
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x10], 5
mov eax, dword [esi + 0x70]
test eax, eax
je 0x42c866
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x10], 4
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x42c87a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x10], 3
mov eax, dword [esi + 0x68]
test eax, eax
je 0x42c88e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x10], 2
mov eax, dword [esi + 0x64]
test eax, eax
je 0x42c8a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x10], 1
mov eax, dword [esi + 0x60]
test eax, eax
je 0x42c8b6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x10], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x42c8ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], 0xffffffff
mov esi, dword [esi + 0x34]
test esi, esi
je 0x42c8e1
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x42d260
Capabilities:
Delete file

Disassembly:
mov eax, dword [esi + 0x14]
push eax
call fcn.0045a013
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.0045a013
mov eax, dword [esi + 0x10]
add esp, 8
cmp eax, 0xffffffff
je 0x42d28f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42d28f
mov dword [esi + 0x10], 0xffffffff
cmp byte [esi], 0
je 0x42d2ce
push edi
mov edi, dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42d2ba
xor al, al
test al, al
mov eax, dword [esi + 4]
sete dl
pop edi
push eax
mov byte [esi], dl
call fcn.0045a013
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete dl
mov byte [esi], dl
pop edi
mov eax, dword [esi + 4]
push eax
call fcn.0045a013
pop ecx
ret
Function at 0x42d4b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473238
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi + 0x10]
or esi, 0xffffffff
cmp eax, esi
je 0x42d4ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42d565
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x18]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], esi
cmp eax, ebp
jbe 0x42d52e
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x38]
call fcn.0042e6d0
test eax, eax
jne 0x42d56a
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push 0x490fc0
push eax
mov ecx, esi
call dword [0x48f9b4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x1c], eax
cmp byte [edi + 0x28], 0
je 0x42d61b
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], 0
mov eax, dword [edi + 0x1c]
push eax
lea esi, [esp + 0x14]
call fcn.00458b80
test al, al
jne 0x42d57f
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x42d565
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
cmp ebp, dword [edi + 0x34]
ja 0x42d60b
jb 0x42d593
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edi + 0x30]
jae 0x42d60b
mov eax, dword [edi + 0x14]
push 0
lea edx, [esp + 0x1c]
push edx
push 0x100000
push eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d655
mov esi, dword [esp + 0x18]
test esi, esi
je 0x42d60b
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x38]
mov eax, esi
call fcn.0042e6d0
mov ebx, eax
test ebx, ebx
jne 0x42d663
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x14]
push 0x490fc0
push esi
call dword [0x48f9b4]
add dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
adc ebp, ebx
cmp ebp, dword [edi + 0x34]
jb 0x42d593
ja 0x42d60b
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edi + 0x30]
jb 0x42d593
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x42d61b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x14]
cmp dword [edi + 0x38], edx
jne 0x42d565
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x30]
jne 0x42d565
cmp ebp, dword [edi + 0x34]
jne 0x42d565
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
lea esi, [esp + 0x10]
call fcn.0042d690
jmp 0x42d565
lea esi, [esp + 0x10]
call fcn.0042d690
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x42d790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473208
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 4]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
push 0
push 0
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov eax, dword [edi]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ebx, eax
test ebx, ebx
je 0x42d808
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edi, dword [edi]
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ecx + 0xc]
push edx
push edi
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14

Function at 0x42e730
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x42e770
push 0
push 0
call fcn.0045dbb1
mov edx, dword [esp + 0x20]
add esp, 0x18
mov dword [edx], eax
test eax, eax
je 0x42e759
xor eax, eax
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42e768
mov eax, 1
pop ecx
ret 4
Function at 0x431a90
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
xor bl, bl
lea eax, [esp + 4]
push eax
mov byte [esi + 0x1c], bl
mov byte [esi + 0x32], 1
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov byte [esi + 0x40], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x30], bl
mov dword [esi], ecx
mov dword [esi + 0x3c], 5
mov byte [esi + 0x38], 1
mov dword [esi + 4], 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
pop ebx
add esp, 0x24
ret
Function at 0x4336b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
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 [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x4336d7
pop esi
ret

Function at 0x4376c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x4376d0
pop edi
pop ebx
ret

Function at 0x437700
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x437710
pop esi
pop ebp
pop ebx
ret

Function at 0x437870
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
lea edx, [eax + 1]
test edi, edi
je 0x4378b2
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x437881
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x437a00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x437b73
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x437a8a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x437a60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
add edi, eax
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x437a44
cmp edx, 0x10
jae 0x437b0d
lea eax, [edx - 8]
mov dword [esp + 8], eax
lea esp, [esp]
cmp edx, dword [esp + 0x1c]
jae 0x437b73
or eax, 8
xor edi, edi
cmp eax, 1
je 0x437af1
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x437ac4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x437ab0
cmp edx, dword [esp + 0x1c]
jae 0x437b73
lea eax, [edx - 0x10]
mov dword [esp + 8], eax
lea ebx, [ebx]
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x437b56
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x437b30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, dword [esp + 0x1c]
jb 0x437b20
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x439660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x439680
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x439690
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x439680
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret

Function at 0x4396f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30ea0]
movzx ebx, byte [esi + edi + 0x306a0]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
dec ecx
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0e]
push edx
call fcn.00437870
mov dword [esp + edi*4 + 0x24], eax
inc edi
add esp, 8
cmp edi, 0x80
jb 0x439704
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x32910]
lea ecx, [esi + 0x31d58]
sub ebp, 0x31d50
lea edi, [esi + 0x31950]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x439777
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32594], ebx
jbe 0x4397cf
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x4397c3
lea ecx, [ecx]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x439790
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
inc ebx
cmp ebx, dword [esi + 0x32594]
jb 0x439781
mov eax, 0xe
cmp dword [esi + 0x32594], eax
jbe 0x4397f6
lea esp, [esp]
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi + 0x32594]
jb 0x4397e0
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x439820
movzx edx, byte [esi + eax + 0x306a0]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
inc eax
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x439820
sub dword [esp + 0x10], 0xffffff80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x439773
pop edi
pop ebp
mov dword [esi + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret

Function at 0x43a8e0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.0045dbb1
mov ecx, dword [esp + 0x20]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x43a903
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43a912
mov eax, 1
pop ecx
ret
Function at 0x43fd70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x472b05
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [esp + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0x10
mov dword [edi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov ecx, 1
mov byte [esp + 0x14], cl
lea esi, [edi + 0x30]
mov dword [edi + 0x28], ecx
mov byte [edi + 0x2c], al
push 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.0042c310
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4414d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x472aca
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [edi + 0x30]
push eax
call fcn.0045a013
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x14]
add esp, 4
push eax
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x47dd70]
mov eax, dword [esi + 0xc]
push eax
call fcn.0045a013
add esp, 4
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00441de0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x472fe3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov al, byte [ebx]
mov byte [esi], al
lea edi, [ebx + 4]
lea eax, [esi + 4]
call fcn.00432510
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov byte [esp + 0x14], 1
mov edx, dword [ebx + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
lea edi, [ebx + 0x1c]
lea eax, [esi + 0x1c]
call fcn.00432510
mov cl, byte [ebx + 0x28]
mov byte [esi + 0x28], cl
mov edx, dword [ebx + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [ebx + 0x38]
mov dword [esi + 0x38], ecx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4