joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc62027
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0xc8b094]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00c72aa0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0xc620d9
push edi
mov edi, 0xc86bb8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0xc62072
sub eax, edx
sar eax, 1
je 0xc620d8
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.00c83124]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00c70f0d
push 0xc86bb0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00c709b4
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0xc620d8
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00c7122a
push dword [ebp - 0x78]
call fcn.00c70c62
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00c70738
add ebp, 0x198
leave
ret

Function at 0xc62266
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0xc86bb0
mov esi, 0xc8dde8
lea eax, [ebp - 4]
push esi
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00c709b4
add esp, 0xc
cmp dword [ebp - 4], edi
je 0xc62369
push ebx
push 2
push edi
push dword [ebp - 4]
call fcn.00c7169f
push dword [ebp - 4]
call fcn.00c718c1
mov edi, eax
push edi
call fcn.00c7192f
push 0
push 0
push dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.00c7169f
push dword [ebp - 4]
push edi
push 1
push ebx
call fcn.00c7122a
add esp, 0x30
cmp edi, eax
jne 0xc6234a
call dword [0xc8312c]
push eax
call fcn.00c715e1
pop ecx
call fcn.00c715f3
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul qword [0xc88d90]
fmul qword [0xc88d88]
fadd qword [0xc88d80]
call fcn.00c73340
cmp edi, eax
jl 0xc6234a
sub ebx, eax
push eax
add ebx, edi
call fcn.00c62224
push dword [ebp - 4]
call fcn.00c70c62
pop ecx
pop ecx
push esi
call dword [0xc8311c]
push 0xc868c4
lea eax, [ebp - 4]
push esi
push eax
call fcn.00c709b4
add esp, 0xc
cmp dword [ebp - 4], 0
je 0xc62368
push dword [ebp - 4]
push edi
push 1
push dword [ebp - 8]
call fcn.00c70b69
add esp, 0x10
cmp dword [ebp - 4], 0
je 0xc62359
push dword [ebp - 4]
call fcn.00c70c62
pop ecx
cmp dword [ebp - 8], 0
je 0xc62368
push dword [ebp - 8]
call fcn.00c7072d
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0xc63d27
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0xc63dec
cmp esi, 0xa
jb 0xc63dec
shl eax, 2
mov dword [ebp - 0xc], eax
inc eax
push eax
call fcn.00c70796
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp + 8]
lea edi, [ebp - 0xc]
call fcn.00c63cb9
add esp, 0xc
test eax, eax
je 0xc63de3
push 0xc868c4
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00c709b4
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xc63d93
mov dword [ebp - 8], 0xfffffffe
jmp 0xc63dff
push dword [ebp - 4]
push dword [ebp - 0xc]
push 1
push ebx
call fcn.00c70b69
add esp, 0x10
cmp eax, dword [ebp - 0xc]
je 0xc63db2
mov dword [ebp - 8], 0xfffffffe
jmp 0xc63df0
mov esi, dword [0xc8312c]
call esi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov edi, edx
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
push dword [ebp - 4]
push edi
push 1
add edx, ebx
push edx
call fcn.00c70b69
add esp, 0x10
jmp 0xc63df0
mov dword [ebp - 8], 0xfffffffd
jmp 0xc63df0
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 4], 0
je 0xc63dff
push dword [ebp - 4]
call fcn.00c70c62
pop ecx
test ebx, ebx
je 0xc63e0a
push ebx
call fcn.00c70860
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xc6559e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0xc655a9
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0xc6565b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc88720]
inc ecx
sub edi, 8
dec esi
jne 0xc655c0
pop ebx
test edi, edi
je 0xc65674
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0xc88720]
inc ecx
dec edi
jne 0xc6565f
pop esi
not eax
pop edi
ret

Function at 0xc65679
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0xc88720]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0xc88720]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x40e8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40e8bf
pop dword [ebp - 0x34]
mov eax, 0x611ab7cc
sub eax, 0x60d9cf0d
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x4f229ce6
sub dword [ebp - 0x44], 0xd0579b
mov dword [ebp - 0x40], 0xc0b7d779
add dword [ebp - 0x40], 0x717b74cc
mov dword [ebp - 0x3c], 0x6b410f8a
add dword [ebp - 0x3c], 0xe10b34a4
mov dword [ebp - 0x38], 0x19759ccf
add dword [ebp - 0x38], 0xe68a6331
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xa948367d
add dword [ebp - 0x44], 0xcb2a32d9
mov dword [ebp - 0x40], 0x5843a03d
add dword [ebp - 0x40], 0xe928c138
mov dword [ebp - 0x3c], 0xc7a985f2
add dword [ebp - 0x3c], 0x9bc5e67a
mov dword [ebp - 0x38], 0xe6a8652f
add dword [ebp - 0x38], 0x19579ad1
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x379f9
push 0
call eax
mov ecx, 0x76145bde
add ecx, 0x89ebdf54
mov edx, eax
mov ebx, 0xa1d4fb83
sub ebx, 0xa1933b83
add ebx, dword [ebp - 0x34]
mov esi, 0x922e9691
sub esi, 0xee2f8527
sub dword [ebp - 0x18], edi
mov edi, dword [ebx]
xor dword [ebp - 0x2c], edi
sub edi, esi
xor dword [ebp - 0x30], 0x6d97c5e
mov dword [edx], edi
xor dword [ebp - 0x1c], 0xf0f94fd6
add edx, 0x42d439f7
sub edx, 0x42d439f3
add ebx, 0x84c64cd2
sub ebx, 0x84c64cce
loop 0x40e9d7
add eax, 0x96b78d19
sub eax, 0x96b6ad7e
xor ebx, ebx
add ebx, eax
add eax, 0x19b668d8
add eax, 0xe649972d
mov ecx, 0xa1f39f68
sub ecx, 0xa1b39f68
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x41bc20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41bc42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41bc49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41bc38
mov eax, 1
add ebx, ebx
jne 0x41bc5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41bc50
jne 0x41bc6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bc50
xor ecx, ecx
sub eax, 3
jb 0x41bc80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41bcf2
mov ebp, eax
add ebx, ebx
jne 0x41bc8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41bc98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41bcbc
inc ecx
add ebx, ebx
jne 0x41bca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41bc9d
jne 0x41bcb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bc9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41bcdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41bccd
jmp 0x41bc3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41bcdc
add edi, ecx
jmp 0x41bc3e
pop esi
mov edi, esi
mov ecx, 0x6bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41bcfa
cmp byte [edi], 6
jne 0x41bcfa
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 0x41bcff
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41bd6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b4c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b598]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41bd2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b5a0]
or eax, eax
je 0x41bd68
mov dword [ebx], eax
add ebx, 4
jmp 0x41bd49
call dword [esi + 0x1b59c]
mov ebp, dword [esi + 0x1b5a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41bda2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x41606e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42335c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407aa5
mov dword [ebp - 0x14], eax
cmp dword [0x460edc], esi
jne 0x416161
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4160ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416241
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416241
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416241
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x460edc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x460ee0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x460ee4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x460eec], eax
test eax, eax
je 0x41615e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x460ee8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416186
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416179
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41619b
push 4
pop eax
jmp 0x416243
cmp dword [ebp - 0x14], esi
je 0x41619b
push dword [0x460edc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416180
mov eax, dword [0x460ee8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4161f9
cmp dword [0x460eec], edi
je 0x4161f9
push eax
call ebx
push dword [0x460eec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4161f9
test eax, eax
je 0x4161f9
call ecx
test eax, eax
je 0x4161ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4161ee
test byte [ebp - 8], 1
jne 0x4161f9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416229
mov eax, dword [0x460ee0]
cmp eax, edi
je 0x416226
push eax
call ebx
test eax, eax
je 0x416226
call eax
mov esi, eax
test esi, esi
je 0x416226
mov eax, dword [0x460ee4]
cmp eax, edi
je 0x416226
push eax
call ebx
test eax, eax
je 0x416226
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x460edc]
call ebx
test eax, eax
je 0x416241
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416243
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040659f
mov esp, ebp
pop ebp
ret
Function at 0x10001260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100012b8
cmp byte [esi + ebx - 1], 0xa
je 0x1000128c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10006084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10001860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x10006094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x10001a20
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x10006094]
movzx eax, al
bt eax, esi
jae 0x10001a80
mov ecx, dword [0x10006084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x10001925
test byte [0x10002030], 8
jne 0x100019c0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10002040], 8
jne 0x10001970
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100018f4
cmp esi, 3
jbe 0x10001930
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100040d4]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x100018f4
mov ecx, dword [0x10006094]
test ecx, ecx
je 0x10001a60
mov dword [esp], 0x10002040
call dword [0x10006094]
test al, 8
je 0x100018cb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x100018cb
mov ebx, dword [0x10006094]
test ebx, ebx
je 0x10001a40
mov dword [esp], 0x10002030
call dword [0x10006094]
test al, 8
je 0x100018b6
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x100018be
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10006094
call sym._load_func.part.0
jmp 0x1000187d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10006094
call sym._load_func.part.0
jmp 0x100019ca
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10006094
call sym._load_func.part.0
jmp 0x1000197e
mov eax, 0xffffffff
jmp 0x10001925
Function at 0x10003ba0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test byte [0x1000d02c], 8
jne 0x10003cd8
mov edi, dword [ebx]
lea eax, [edi - 0x64]
and eax, 0xffffffdf
je 0x10003be0
test byte [0x1000d02c], 4
jne 0x10003d10
mov eax, 0x80070057
jmp 0x10003cca
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._memset
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov esi, dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov dword [ebx + 0x10], eax
mov dword [ebx], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call esi
lea eax, [ebx + 0x34]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebx + 0x4c]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x10]
sub esp, 4
cmp edi, 0x64
je 0x10003cc8
test eax, eax
je 0x10003cc8
mov eax, dword [eax]
test eax, eax
je 0x10003cc8
mov esi, 0x24
xor edi, edi
jmp 0x10003c87
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + esi - 4]
test eax, eax
je 0x10003c77
mov dword [esp], 1
call eax
sub esp, 4
mov eax, dword [ebx + 0x10]
add edi, 1
mov eax, dword [eax + esi]
add esi, 0x24
test eax, eax
je 0x10003cc8
test byte [0x1000d02c], 8
je 0x10003c60
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + esi - 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Initializing_object__i__p_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.AtlModuleInit
mov dword [esp + 4], 0x1000d02c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003c60
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0x1000f54a
mov dword [esp + 8], str.AtlModuleInit
mov dword [esp + 4], 0x1000d02c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003bbc
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unknown_structure_version__size__i__n
mov dword [esp + 8], str.AtlModuleInit
mov dword [esp + 4], 0x1000d02c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003bd3
Function at 0x10008750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
je 0x10008770
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.user32.dll_DefWindowProcW]
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
sub esp, 4
lea eax, [edi + edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x100087f9
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowTextW]
sub esp, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._AtlAxCreateControlLicEx_32
sub esp, 0x20
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 1
jmp 0x100087ef
Function at 0x10008850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test byte [0x1000d03c], 8
jne 0x10008918
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x100089d0
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov esi, eax
test eax, eax
je 0x100089d0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LockResource]
sub esp, 4
test eax, eax
je 0x100089c0
call sym._AX_ConvertDialogTemplate
mov esi, eax
test eax, eax
je 0x100088f9
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_CreateDialogIndirectParamW]
sub esp, 0x14
mov edi, eax
mov dword [esp], esi
mov esi, edi
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FreeResource]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
test ebx, ebx
je 0x100089b0
mov eax, ebx
shr eax, 0x10
je 0x10008998
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x1000fb48
test edx, edx
jne 0x1000894d
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p__s__p__p__Ix__n
mov dword [esp + 8], str.AtlAxCreateDialogW
mov dword [esp + 4], 0x1000d03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000886c
mov dword [esp + 4], ebx
mov dword [esp], 0x1000fb52
call sym._wine_dbg_sprintf_2
jmp 0x1000894d
mov eax, 0x1000fad4
jmp 0x1000894d
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeResource]
sub esp, 4
lea esi, [esi]
xor esi, esi
jmp 0x10008905
Function at 0x100089e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, 0x10
je 0x10008ac8
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x20], ecx
call ecx
mov edx, eax
sub esp, 0x18
lea eax, [eax + eax]
mov dword [ebp - 0x1c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x10008ad4
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [ebp - 0x20]
call ecx
sub esp, 0x18
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym.atl.dll_AtlAxCreateDialogW
sub esp, 0x14
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.atl.dll_AtlAxCreateDialogW
xor esi, esi
jmp 0x10008ab9