joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012d700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10202918
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1044501c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x20], eax
lea edi, [esi + 0x24]
lea eax, [esp + 0x28]
call fcn.101f1d20
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x30]
lea eax, [esp + 0x34]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
call fcn.101f1d20
lea ecx, [esp + 0x1c]
call sym.OOXMLDocument.dll_public_virtual:_void___thiscall_OOXML::DRAWING::CST_AdjCoordinate::destructor_void_
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x20

Function at 0x1012d780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10202918
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1044501c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x40], eax
lea edi, [esi + 0x44]
lea eax, [esp + 0x28]
call fcn.101f1d20
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x50]
lea eax, [esp + 0x34]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
call fcn.101f1d20
lea ecx, [esp + 0x1c]
call sym.OOXMLDocument.dll_public_virtual:_void___thiscall_OOXML::DRAWING::CST_AdjCoordinate::destructor_void_
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x20
Function at 0x10140e70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x628
mov eax, dword [0x1044501c]
xor eax, esp
mov dword [esp + 0x624], eax
mov eax, dword [esp + 0x62c]
push ebp
push 0
push 0
push 0
push 0
push 0x104
lea ecx, [esp + 0x434]
push ecx
push 3
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.MSVCR90.dll__wsplitpath_s]
push 0
push 0
lea eax, [esp + 0x44c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24c]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll__wmakepath_s]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x3c
lea eax, [esp + 0x218]
push eax
call ebp
cmp eax, 0xffffffff
je 0x10140f0b
and eax, 0x10
je 0x10140f0b
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.101f2bc8
add esp, 0x628
ret
lea ecx, [esp + 0x218]
push ecx
lea edx, [esp + 0x14]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10140f30
sub eax, edx
sar eax, 1
push esi
mov esi, eax
je 0x10140f6d
lea eax, [esp + 0x14]
push 0x5c
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
lea ecx, [esp + esi*2 + 0x1a]
add esp, 8
cmp eax, ecx
je 0x10140f6d
mov edx, 0x5c
xor eax, eax
mov word [esp + esi*2 + 0x14], dx
mov word [esp + esi*2 + 0x16], ax
push ebx
push edi
mov edi, dword [sym.imp.MSVCR90.dll_wcschr]
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call edi
add eax, 2
push 0x5c
push eax
call edi
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10140fd6
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x1c]
xor edx, edx
push eax
mov word [esi], dx
call ebp
cmp eax, 0xffffffff
je 0x10140fab
and eax, 0x10
jne 0x10140fb8
push 0
lea ecx, [esp + 0x20]
push ecx
call ebx
test eax, eax
je 0x10140ff4
mov edx, 0x5c
mov word [esi], dx
add esi, 2
cmp word [esi], 0
je 0x10140fd6
push edx
push esi
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x10140f95
mov eax, 1
mov ecx, dword [esp + 0x634]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.101f2bc8
add esp, 0x628
ret
xor eax, eax
jmp 0x10140fdb
Function at 0x10141580
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x101ff98b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1044501c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1044501c]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x234]
mov eax, dword [esp + 0x238]
mov esi, ecx
mov ecx, dword [0x104450ec]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x22c], 0
movzx edx, word [eax + 0xe]
movzx ecx, word [eax + 0xc]
push edx
movzx edx, word [eax + 0xa]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 6]
push ecx
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
push str._04u__02u__02uT_02u:_02u:_02u._03u
lea eax, [esp + 0x38]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_swprintf_s]
add esp, 0x28
lea edi, [esp + 0x18]
lea ebx, [esp + 0x14]
call fcn.101f1dc0
mov edi, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push edi
push ebp
mov ecx, esi
call eax
cmp dword [edi - 0xc], 0xfffffffe
lea esi, [edi - 0xc]
je 0x10141653
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10141653
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.101f2bc8
add esp, 0x21c
ret
Function at 0x101a8e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.101a7180
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.101a70e1
add esp, 0xc
jmp 0x101a90e8
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.101a7170
pop ds
das
ror dword [ebp - 0x39f4a01], 0xff
invalid
Function at 0x101e2bf0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0xa1c
mov eax, dword [0x1044501c]
xor eax, esp
mov dword [esp + 0xa18], eax
mov eax, dword [esp + 0xa20]
push ebx
push esi
push edi
push 0x100
mov esi, ecx
lea ecx, [esp + 0x628]
push ecx
push 0x100
mov edi, edx
lea edx, [esp + 0x830]
push edx
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCR90.dll__wsplitpath_s]
add esp, 0x24
test edi, edi
jne 0x101e2cee
lea eax, [esp + 0x41c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x101e2d1b
push ebp
push 0
call dword [sym.imp.MSVCR90.dll__time64]
push eax
call dword [sym.imp.MSVCR90.dll_srand]
mov esi, dword [sym.imp.MSVCR90.dll_swprintf_s]
mov edi, dword [sym.imp.MSVCR90.dll_rand]
mov ebx, dword [sym.imp.MSVCR90.dll__wmakepath_s]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 8
call edi
push eax
push str._04x
lea ecx, [esp + 0x228]
push 0x100
push ecx
call esi
push 0
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x438]
push eax
push 0
lea ecx, [esp + 0x38]
push 0x104
push ecx
call ebx
add esp, 0x28
lea edx, [esp + 0x18]
push edx
call ebp
cmp eax, 0xffffffff
je 0x101e2cdb
and eax, 0x10
jne 0x101e2c90
mov ebx, dword [esp + 0x10]
add ebx, 0x10
lea edi, [esp + 0x18]
call fcn.101f1dc0
pop ebp
jmp 0x101e2cf6
lea ebx, [esi + 0x10]
call fcn.101f1dc0
push 0x10242484
push 0x10253870
push ebx
call fcn.101f2290
push 0x10253888
push 0x1025385c
push ebx
call fcn.101f2290
mov eax, 1
mov ecx, dword [esp + 0xa24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f2bc8
add esp, 0xa1c
ret 4
Function at 0x101e4f10
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x87c
mov eax, dword [0x1044501c]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, edi
call fcn.101e5250
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x101e507f
mov esi, dword [sym.imp.MSVCR90.dll_swprintf_s]
push 0
push 0
push 0
push 0
push 0x104
lea ecx, [esp + 0x484]
push ecx
push 3
lea edx, [esp + 0x27c]
push edx
push ebx
call dword [sym.imp.MSVCR90.dll__wsplitpath_s]
add esp, 0x24
test byte [esp + 0x10], 0x10
je 0x101e500f
cmp word [esp + 0x3c], 0x2e
je 0x101e505c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x474]
push ecx
lea edx, [esp + 0x268]
push edx
push str._s_s_s.
lea eax, [esp + 0x278]
push 0x104
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x268]
push ecx
mov ecx, edi
call fcn.101e4f10
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x474]
push eax
lea ecx, [esp + 0x268]
push ecx
push str._s_s_s
lea edx, [esp + 0x278]
push 0x104
push edx
call esi
add esp, 0x18
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x101e505c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x474]
push edx
lea eax, [esp + 0x268]
push eax
push str._s_s_s
lea ecx, [esp + 0x688]
push 0x104
push ecx
call esi
add esp, 0x18
push 0x80
lea edx, [esp + 0x67c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x678]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101e4f58
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f2bc8
mov esp, ebp
pop ebp
ret 4
Function at 0x101e50a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x1044501c]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [esp + 0x28]
push eax
mov esi, ecx
push ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x101e5236
jmp 0x101e50f8
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_swprintf_s]
push 0
push 0
push 0
push 0
push 0x104
lea ecx, [esp + 0x294]
push ecx
push 3
lea edx, [esp + 0x294]
push edx
push ebx
call dword [sym.imp.MSVCR90.dll__wsplitpath_s]
add esp, 0x24
test byte [esp + 0x28], 0x10
je 0x101e517a
cmp word [esp + 0x54], 0x2e
je 0x101e5217
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x284]
push ecx
lea edx, [esp + 0x280]
push edx
push str._s_s_s.
lea eax, [esp + 0x6a0]
push 0x104
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x690]
push ecx
mov ecx, esi
call fcn.101e50a0
jmp 0x101e5217
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x280]
push ecx
push str._s_s_s
lea edx, [esp + 0x498]
push 0x104
push edx
call edi
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [esp + 0x4a0]
push eax
call dword [sym.imp.HncBL90.dll_HncCreateFile]
mov ecx, dword [esi + 0x60]
add esi, 0x54
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x101e51d8
xor edx, edx
jmp 0x101e51e0
mov edx, dword [esi + 0x14]
sub edx, ecx
sar edx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, ecx
sar ebx, 2
cmp ebx, edx
jae 0x101e51f8
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x101e5217
cmp ecx, edi
jbe 0x101e5202
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, esi
call fcn.10140720
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101e50f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x89c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f2bc8
mov esp, ebp
pop ebp
ret 4
Function at 0x101f2bc8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1044501c]
jne 0x101f2bd2
repz ret
jmp fcn.101f316e
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x427b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x427b82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427b78
mov eax, 1
add ebx, ebx
jne 0x427b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427b90
jne 0x427bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427b90
xor ecx, ecx
sub eax, 3
jb 0x427bc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427c32
mov ebp, eax
add ebx, ebx
jne 0x427bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427bfc
inc ecx
add ebx, ebx
jne 0x427be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427bdd
jne 0x427bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427bdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427c0d
jmp 0x427b7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427c1c
add edi, ecx
jmp 0x427b7e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427c3a
cmp byte [edi], 0
jne 0x427c3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x427c3f
lea edi, [esi + 0x25000]
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x73174440
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4a7807be
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10004d50
Capabilities:
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x4c
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], 0x3a0041
mov dword [ebp - 0x14], 0x5c
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 0x14
mov edx, 1
mov esi, eax
mov eax, edi
call sym._resize_table
test eax, eax
je 0x10004f2a
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x38], 0
mov ebx, 0x41
mov dword [ebp - 0x34], 0
test edx, edx
setne al
xor edi, edi
mov dword [ebp - 0x44], eax
jmp 0x10004dd4
add ebx, 1
cmp ebx, 0x5b
je 0x10004ec0
lea eax, [ebx - 0x41]
bt esi, eax
jae 0x10004dc8
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], bx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub esp, 4
cmp eax, 5
jne 0x10004dc8
lea eax, [edi + 1]
mov ecx, 0x14
mov dword [ebp - 0x3c], eax
mov edx, eax
mov eax, dword [ebp - 0x30]
call sym._resize_table
test eax, eax
je 0x10004f2a
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x26]
add edx, dword [eax + 0x14]
mov dword [edx], str.IDECDROMWINE_CD_ROM_____________________________1.0_____53A2A585401.0.0
mov dword [ebp - 0x38], edx
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1002358c
mov dword [esp + 4], 3
call sym._swprintf
lea ecx, [ebp - 0x26]
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], str.CR_ROM
mov dword [edx + 0xc], str.Wine_CD_ROM_ATA_Device
mov dword [edx + 0x10], str.IDECDROMWINE_CD_ROM_____________________________1.0_____53A2A585401.0.0
test ecx, ecx
je 0x10004ea1
lea eax, [ebp - 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10004ee0
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
je 0x10004f40
mov eax, dword [ebp - 0x44]
add ebx, 1
add dword [ebp - 0x34], 0x14
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp ebx, 0x5b
jne 0x10004dd4
lea esi, [esi]
test byte [0x1002179c], 8
jne 0x10004f00
mov eax, dword [ebp - 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x38], 0xffffffff
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._free_row_values
jmp 0x10004dc8
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_cdromdrive
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10004ec9
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x38], 1
jmp 0x10004ee7
Function at 0x100069c0
Capabilities:
Get memory capacity

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
mov edx, 1
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x5c
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ecx, 0x24
mov eax, esi
call sym._resize_table
test eax, eax
je 0x10006b10
mov ebx, dword [esi + 0x14]
lea eax, [ebp - 0x50]
mov dword [ebx], str.BANK_0
mov dword [ebp - 0x50], 0x40
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
mov edx, 0x40000000
xor ecx, ecx
sub esp, 4
test eax, eax
je 0x10006a22
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], str.Physical_Memory
mov dword [ebx + 0x10], 0x640
mov dword [ebx + 0x14], str.DIMM_0
mov dword [ebx + 0x18], 0x90008
mov dword [ebx + 0x1c], 0x10023772
mov dword [ebx + 0x20], 0x10023772
test edi, edi
je 0x10006b00
lea eax, [ebp - 0x54]
mov dword [esp + 8], edi
mov edi, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._eval_cond
test eax, eax
jne 0x10006ab8
mov eax, dword [ebp - 0x50]
or eax, dword [ebp - 0x4c]
mov edi, 1
mov ebx, 1
je 0x10006ab8
test byte [0x1002179c], 8
jne 0x10006ad3
mov dword [esi + 0xc], ebx
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], esi
call sym._free_row_values
test byte [0x1002179c], 8
je 0x10006aa0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_physicalmemory
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10006aa0
xor edi, edi
mov ebx, 1
jmp 0x10006a97
mov edi, 0xffffffff
jmp 0x10006aa3
Function at 0x10007890
Capabilities:
Get system firmware table

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
mov edx, 1
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2c
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, 0x1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
call sym._resize_table
test eax, eax
je 0x10007af0
mov dword [esp + 0xc], 0
mov edi, dword [sym.imp.kernel32.dll_GetSystemFirmwareTable]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call edi
sub esp, 0x10
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x10007af0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call edi
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov edx, 4
sub esp, 0x10
mov edi, dword [eax + 0x14]
mov dword [esp], esi
mov eax, 2
call sym._get_smbios_string
test eax, eax
je 0x10007aa8
mov dword [edi], eax
mov ecx, ebx
mov edx, 5
mov eax, 2
mov dword [edi + 4], str.Base_Board
mov dword [edi + 8], str.Base_Board
mov dword [esp], esi
call sym._get_smbios_string
test eax, eax
je 0x10007ac0
mov dword [edi + 0xc], eax
mov ecx, ebx
mov edx, 7
mov eax, 2
mov dword [esp], esi
call sym._get_smbios_string
test eax, eax
je 0x10007ad8
mov dword [edi + 0x10], eax
mov ecx, ebx
mov edx, 6
mov eax, 2
mov dword [edi + 0x14], str.Base_Board
mov dword [esp], esi
call sym._get_smbios_string
test eax, eax
je 0x10007a90
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x18], eax
test edx, edx
je 0x10007a80
lea eax, [ebp - 0x1c]
mov dword [esp + 8], edx
mov edi, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10007a30
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
mov edi, 1
mov esi, 1
je 0x10007a30
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x1002179c], 8
jne 0x10007a50
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], esi
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [esp], eax
call sym._free_row_values
jmp 0x10007a02
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_baseboard
mov dword [esp + 4], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10007a14
xor edi, edi
mov esi, 1
jmp 0x10007a02
mov dword [esp], 0x10023958
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x100079b4
mov dword [esp], str.Intel_Corporation
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x10007943
mov dword [esp], str.Base_Board
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x1000796f
mov dword [esp], str.None
call dword [sym.imp.ucrtbase.dll__wcsdup]
jmp 0x1000798e
mov edi, 0xffffffff
jmp 0x10007a1a