joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417080
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov dword [esi + 4], vtable.IOutArchive.0
mov dword [esi + 8], vtable.ISetProperties.0
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi], vtable.NArchive::NZip::CHandler.0
mov dword [esi + 4], vtable.NArchive::NZip::CHandler.1.0
mov dword [esi + 8], vtable.NArchive::NZip::CHandler.2.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x40], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov byte [esi + 0x88], al
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
lea ebx, [esi + 0xa8]
mov dword [esi + 0xa0], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
call fcn.00419e50
lea eax, [ebp - 0x24]
push eax
mov dword [ebx + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x10], ecx
mov word [ebx + 0x14], 0
mov byte [ebx + 0x16], 3
mov ecx, 1
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xc4], 0x100
mov word [esi + 0xc8], 0
mov dword [esi + 0xcc], ecx
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e5c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d454b
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], vtable.ICompressSetFinishMode.0
mov dword [esi + 8], vtable.ICompressSetInStream2.0
mov dword [esi + 0xc], vtable.ISequentialInStream.0
mov dword [esi + 0x10], vtable.ICompressSetOutStreamSize.0
mov dword [esi + 0x14], vtable.ICompressSetBufSize.0
xor ebx, ebx
mov dword [esi + 0x18], ebx
mov eax, 0x40000
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
push 0x4118e0
push 0x4118d0
mov dword [ebp - 4], ebx
push 4
push 4
lea eax, [esi + 0x98]
push eax
mov dword [esi], vtable.NCompress::NBcj2::CDecoder.0
mov dword [esi + 4], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [esi + 8], vtable.NCompress::NBcj2::CDecoder.2.0
mov dword [esi + 0xc], vtable.NCompress::NBcj2::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NBcj2::CDecoder.4.0
mov dword [esi + 0x14], vtable.NCompress::NBcj2::CDecoder.5.0
call fcn.005a9a06
mov word [esi + 0xa8], bx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x63ae80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov byte [esi + 0x7049], 0
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [eax], 0
add esi, 0x140
push ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, 8
sub ecx, eax
shr ebx, cl
add eax, 8
mov dword [esi], eax
shr ebx, 0x10
and ebx, 0xff
call fcn.004219e0
mov byte [ebp + edi - 0x10], bl
inc edi
cmp edi, 0xa
jb 0x420993
mov eax, dword [esi + 0x28]
pop ebx
cmp eax, 4
ja 0x420a9a
add eax, eax
add eax, eax
mov ecx, 0x20
sub ecx, dword [esi]
add eax, eax
cmp ecx, eax
jb 0x420a9a
movzx edx, byte [ebp - 0xa]
movzx eax, byte [ebp - 9]
movzx ecx, byte [ebp - 8]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 7]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 0x18]
shl edx, 8
or edx, eax
mov al, byte [ebp - 0x10]
mov dword [ecx], edx
cmp al, 0x31
jne 0x420a5b
cmp byte [ebp - 0xf], 0x41
jne 0x420a9a
mov al, 0x59
cmp byte [ebp - 0xe], al
jne 0x420a9a
cmp byte [ebp - 0xd], 0x26
jne 0x420a9a
cmp byte [ebp - 0xc], 0x53
jne 0x420a9a
cmp byte [ebp - 0xb], al
jne 0x420a9a
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x7048], 1
mov edx, dword [eax + 0x6ffc]
rol edx, 1
xor edx, dword [ecx]
mov dword [eax + 0x6ffc], edx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret 4
cmp al, 0x17
jne 0x420a9a
cmp byte [ebp - 0xf], 0x72
jne 0x420a9a
cmp byte [ebp - 0xe], 0x45
jne 0x420a9a
cmp byte [ebp - 0xd], 0x38
jne 0x420a9a
cmp byte [ebp - 0xc], 0x50
jne 0x420a9a
cmp byte [ebp - 0xb], 0x90
jne 0x420a9a
mov eax, dword [ebp - 0x14]
mov word [eax + 0x7048], 0x101
mov ecx, dword [ecx]
cmp ecx, dword [eax + 0x6ffc]
je 0x420a47
mov byte [eax + 0x704a], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret 4

Function at 0x421240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
jne 0x421276
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x10], eax
test eax, eax
jne 0x421276
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4212c5
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0
jne 0x42128d
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x421262
cmp dword [esi + 0x18], 0
jne 0x4212a4
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x421262
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x421220
push 0
push 0
call fcn.005a9bc4
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x421262
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x421e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x8ce8], eax
test eax, eax
jne 0x421e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x421edf
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x8cec], eax
test eax, eax
je 0x421e7f
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x8cf0], eax
test eax, eax
je 0x421e7f
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x421e50
push 0
push 0
call fcn.005a9bc4
add esp, 0x18
mov dword [esi + 0x8ce4], eax
test eax, eax
je 0x421e7f
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x423410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 0x10]
push ebx
mov ecx, 8
push edi
lea edx, [ecx + 0x29]
call fcn.00421b40
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x39]
call fcn.00421b40
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x51]
call fcn.00421b40
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x1e]
call fcn.00421b40
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x4b]
call fcn.00421b40
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x51]
call fcn.00421b40
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
or eax, 0xffffffff
xor edi, edi
mov byte [ebp - 1], dl
xor ebx, ebx
jmp 0x423493
mov dl, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov cl, byte [ebx + ecx]
cmp edi, 4
jne 0x4234be
test cl, cl
je 0x4234ba
movzx edx, dl
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
xor eax, dword [edi*4 + 0x644a70]
dec cl
jne 0x4234a5
xor edi, edi
jmp 0x4234e1
cmp dl, cl
jne 0x4234c5
inc edi
jmp 0x4234cd
mov edi, 1
mov byte [ebp - 1], cl
mov edx, eax
movzx ecx, cl
shr edx, 0x18
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x644a70]
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x423490
not eax
mov edi, eax
push edi
push esi
call fcn.004227f0
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00422880
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4236e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
push ebx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 8
mov byte [esp + 0x20], bl
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x174]
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00423510
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x1a0], bl
je 0x42375c
mov ecx, dword [esi + 0x8cd8]
mov edx, dword [eax + 0x17c]
imul ecx, ecx, 0x8e00
mov eax, dword [ecx + edx + 0x8cf0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp dword [esi + 0x8cd4], ebx
jbe 0x423792
lea edx, [esi + 0x7cd4]
lea esp, [esp]
mov eax, dword [esi + 0x8ce0]
mov edi, dword [eax + 0x178]
rol edi, 1
xor edi, dword [edx]
inc ecx
mov dword [eax + 0x178], edi
add edx, 4
cmp ecx, dword [esi + 0x8cd4]
jb 0x423770
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edx*8 + 8]
sub eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x8ce0]
push ecx
call fcn.00423890
mov eax, dword [esi + 0x8ce0]
xor edi, edi
cmp byte [eax + 0x1a0], bl
je 0x423883
mov ecx, dword [esi + 0x8cd8]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, dword [eax + 0x19c]
jne 0x4237e3
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x1b4], ebx
je 0x423857
mov ecx, dword [eax + 0x160]
mov edi, dword [eax + 0x14c]
mov edx, dword [eax + 0x164]
xor ebx, ebx
sub ecx, dword [eax + 0x154]
sbb edx, ebx
add ecx, edi
adc edx, ebx
cmp dword [eax + 0x154], edi
jbe 0x42381b
add ecx, dword [eax + 0x158]
adc edx, ebx
mov edi, 0xf
sub edi, dword [eax + 0x140]
xor ebx, ebx
shr edi, 3
add edi, ecx
adc ebx, edx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 0x1b4]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esi + 0x8cf8]
push ecx
push eax
call edx
mov ecx, dword [esp + 0xc]
mov edi, eax
mov eax, dword [esi + 0x8ce0]
imul ecx, ecx, 0x8e00
mov edx, dword [eax + 0x17c]
lea eax, [edx + ecx + 0x8cf0]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x423883
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d4368
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x63ae80]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0xc]
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov ax, word [esp + 0xc]
test esi, esi
je 0x4322a4
test ax, ax
je case.0x43227f.0
movzx eax, ax
cmp eax, 0x40
ja case.0x43227f.1
movzx ecx, byte [eax + 0x432328]
jmp dword [ecx*4 + 0x432320]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp ax, 0x40
jne 0x4322d6
mov ecx, dword [esp + 0x18]
xor eax, eax
or eax, dword [esp + 0x14]
xor esi, esi
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
or ecx, esi
mov dword [edi + 4], ecx
mov byte [eax], 1
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
test ax, ax
je 0x4322fa
lea ecx, [esp + 0xc]
call fcn.004101d0
mov eax, 0x80070057
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [ecx], 0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4ebe
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov eax, dword [esi + 0xd8]
push eax
call fcn.004a4d8a
mov ecx, dword [esi + 0xcc]
push ecx
call fcn.004a4d8a
mov edx, dword [esi + 0xc0]
push edx
call fcn.004a4d8a
mov eax, dword [esi + 0xb4]
push eax
call fcn.004a4d8a
mov ecx, dword [esi + 0xa8]
push ecx
call fcn.004a4d8a
mov edx, dword [esi + 0x9c]
push edx
call fcn.004a4d8a
mov eax, dword [esi + 0x90]
push eax
call fcn.004a4d8a
mov ecx, dword [esi + 0x84]
push ecx
call fcn.004a4d8a
mov edx, dword [esi + 0x78]
push edx
call fcn.004a4d8a
add esp, 0x24
lea ebx, [esi + 0x6c]
call fcn.00462b80
mov eax, dword [esi + 0x60]
push eax
call fcn.004a4d8a
add esp, 4
lea ecx, [esi + 0x54]
push ecx
call fcn.00434430
mov edx, dword [esi + 0x48]
push edx
call fcn.004a4d8a
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a4d8a
mov ecx, dword [esi + 0x30]
push ecx
call fcn.004a4d8a
mov edx, dword [esi + 0x24]
push edx
call fcn.004a4d8a
mov eax, dword [esi + 0x18]
push eax
call fcn.004a4d8a
mov ecx, dword [esi + 0xc]
push ecx
call fcn.004a4d8a
mov edx, dword [esi]
push edx
call fcn.004a4d8a
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4336b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
lea ebx, [esi + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0x44], 1
mov dword [esi + 0x10], 4
call fcn.00419e50
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov byte [ecx], bl
mov edx, dword [esi + 0x38]
xor eax, eax
mov dword [esi + 0x3c], ebx
lea edi, [esi + 0x14]
mov word [edx], ax
call fcn.0042cec0
mov byte [esi + 0x48], bl
mov dword [esi + 0x63], 1
mov word [esi + 0x67], bx
mov word [esi + 0x69], bx
mov word [esi + 0x6b], 0x100
or eax, 0xffffffff
pop edi
mov word [esi + 0x60], bx
mov byte [esi + 0x62], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5618
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [esi + 0xa8]
push eax
call fcn.004a4d8a
mov eax, dword [esi + 0xa0]
add esp, 4
test eax, eax
je 0x436080
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x436096
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x48]
lea ebx, [esi + 0x30]
push eax
call fcn.004a4d8a
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004a4d8a
add esp, 8
call fcn.00416610
lea edi, [esi + 0x24]
call fcn.004166e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4360d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6d26
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.IInArchive.0
mov dword [esi + 4], vtable.IArchiveOpenSeq.0
lea edi, [esi + 0x10]
mov dword [esi + 8], vtable.IOutArchive.0
push edi
mov dword [esi + 0xc], vtable.ISetProperties.0
call fcn.004145c0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x58], ebx
mov dword [esi], vtable.NArchive::NXz::CHandler.0
mov dword [esi + 4], vtable.NArchive::NXz::CHandler.1.0
mov dword [esi + 8], vtable.NArchive::NXz::CHandler.2.0
mov dword [esi + 0xc], vtable.NArchive::NXz::CHandler.3.0
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov word [esi + 0x90], bx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov byte [ebp - 4], 2
push 4
mov dword [esi + 0xa8], ebx
call fcn.004a4d50
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], 3
mov byte [eax], bl
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov dword [esi + 0xa4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
lea ebx, [edi + 0x20]
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov byte [edi + 0x44], 1
mov dword [edi + 0x10], 4
call fcn.00419e50
mov ecx, dword [ebx + 0xc]
xor eax, eax
mov dword [ebx + 0x10], eax
mov byte [ecx], al
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
add edi, 0x14
mov word [edx], ax
call fcn.0042cec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4381c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x98], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
or eax, 0xffffffff
lea ebx, [esi + 0x24]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [esi + 0x48], 1
mov dword [esi + 0x14], 4
call fcn.00419e50
mov ecx, dword [esi + 0x30]
xor ebx, ebx
mov dword [esi + 0x34], ebx
mov byte [ecx], bl
mov edx, dword [esi + 0x3c]
xor eax, eax
mov dword [esi + 0x40], ebx
lea edi, [esi + 0x18]
mov word [edx], ax
call fcn.0042cec0
mov ebx, dword [ebp + 0x10]
xor edi, edi
lea ebx, [ebx]
cmp edi, dword [ebp + 0x14]
jae 0x438277
mov eax, dword [ebp + 0xc]
mov ecx, edi
shl ecx, 4
add ecx, ebx
push ecx
mov ecx, dword [eax + edi*4]
lea edx, [esi + 4]
push edx
call fcn.0042ca10
test eax, eax
jne 0x4383c2
inc edi
jmp 0x438250
cmp dword [esi + 0x34], 0
je 0x4382fc
mov dword [ebp + 8], 0
mov ecx, dword [ebp + 8]
cmp ecx, 9
jae 0x4382dc
mov eax, dword [esi + 0x30]
mov edx, dword [ecx*8 + 0x60ecb4]
mov edi, eax
mov cl, byte [edi]
mov al, byte [edx]
inc edx
inc edi
mov dword [ebp + 0x10], edx
cmp cl, al
je 0x4382c5
lea edx, [ecx - 0x41]
cmp dl, 0x19
ja 0x4382b2
lea edx, [ecx + 0x20]
jmp 0x4382b4
mov dl, cl
lea ebx, [eax - 0x41]
cmp bl, 0x19
ja 0x4382be
add al, 0x20
cmp dl, al
jne 0x4382f7
mov edx, dword [ebp + 0x10]
test cl, cl
jne 0x438298
mov ecx, dword [ebp + 8]
mov eax, dword [ecx*8 + 0x60ecb0]
mov dword [esi + 0x98], eax
cmp ecx, 9
jne 0x4382fc
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
inc dword [ebp + 8]
jmp 0x438284
xor edi, edi
mov edi, edi
cmp edi, dword [esi + 0x1c]
jae 0x43831a
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + edi*4]
cmp dword [eax + 0x10], 0
jne 0x43831a
cmp dword [eax + 4], 0
jne 0x43831a
inc edi
jmp 0x438300
lea ebx, [esi + 0x18]
push ebx
call fcn.004342e0
mov esi, dword [esi + 0x1c]
cmp esi, 1
ja 0x4382de
jne 0x4383c0
mov edx, dword [ebx]
mov edi, dword [edx]
cmp dword [edi + 0x10], 0
jne 0x4383ab
xor esi, esi
lea ecx, [ecx]
cmp byte [esi + str.LZMA2], 0
je 0x43834c
inc esi
jmp 0x438340
cmp esi, dword [edi + 0x14]
jbe 0x438371
lea eax, [esi + 1]
push eax
call fcn.004a4d50
mov ecx, dword [edi + 0xc]
add esp, 4
push ecx
mov ebx, eax
call fcn.004a4d8a
add esp, 4
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], esi
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x10], esi
mov edx, str.LZMA2
lea esp, [esp]
mov al, byte [edx]
mov byte [ecx], al
inc ecx
inc edx
test al, al
jne 0x438380
jmp 0x4383c0
mov ecx, dword [edi + 0xc]
mov eax, str.LZMA2
call fcn.0040ece0
test al, al
je 0x4382de
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10