joyce8/EMBER2024-capa huggingface dataset:
Function at 0x847e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x66900d
lea edi, [esi - 0x26800d]
push edi
or ebp, 0xffffffff
jmp 0x847ea2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x847ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847e98
mov eax, 1
add ebx, ebx
jne 0x847ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x847ecc
jne 0x847eeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847eeb
dec eax
add ebx, ebx
jne 0x847ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x847eb0
add ebx, ebx
jne 0x847ee7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x847f3d
xor ecx, ecx
sub eax, 3
jb 0x847f03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x847f72
sar eax, 1
mov ebp, eax
jmp 0x847f0e
add ebx, ebx
jne 0x847f0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847edc
inc ecx
add ebx, ebx
jne 0x847f1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847edc
add ebx, ebx
jne 0x847f29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x847f1e
jne 0x847f3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x847f1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x847f5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x847f4e
jmp 0x847e9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x847f5c
add edi, ecx
jmp 0x847e9e
pop esi
mov edi, esi
mov ecx, 0x1692
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x847f7a
cmp byte [edi], 0x11
jne 0x847f7a
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 0x847f7f
lea edi, [esi + 0x443000]
mov eax, dword [edi]
or eax, eax
je 0x847fee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x45015c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4501b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x847fac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4501bc]
or eax, eax
je 0x847fe8
mov dword [ebx], eax
add ebx, 4
jmp 0x847fc9
call dword [esi + 0x4501b8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x84801f
cmp al, 0xef
ja 0x848012
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x847ff4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x848001
mov ebp, dword [esi + 0x4501c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x848053
sub esp, 0xffffff80
jmp 0x40cd6e
Function at 0x40892c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop ecx
call fcn.00408957
mov edx, 0x5705cca6
or eax, eax
xor dword [edi], ecx
or eax, eax
inc edi
and edx, eax
sub eax, edx
cmp edi, esi
jne fcn.0040892c
push 0x746da8c9
pop eax
ret
Function at 0x458330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x12fffffc], ebx
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21

Function at 0x458360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004573fa
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004573af
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004573ea
invalid
Function at 0x440ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45df38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47e3d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x440be7
xor al, al
jmp 0x440cc7
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push ecx
push ebx
push edi
mov ecx, eax
call fcn.004407c0
test al, al
je 0x440c78
cmp byte [ebp + 0x14], 0
je 0x440c3b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004044e0
add esp, 8
test al, al
je 0x440c78
mov bl, 1
jmp 0x440cb6
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x440c45
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
cmp edx, dword [esi + 0x10]
jne 0x440c75
test edx, edx
je 0x440c71
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x440c75
add ecx, 2
sub edx, 1
jne 0x440c60
mov bl, 1
jmp 0x440cb6
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
je 0x440c88
mov byte [eax + 1], 1
mov bl, 1
jmp 0x440cb6
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x440c93
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x440c9b
mov ebx, dword [ebx]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x440c71
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403e00
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004415d7
mov esp, ebp
pop ebp
ret 0x10

Function at 0x438c90
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop eax
push esi
mov edi, dword [esp]
add esp, 4
call fcn.00438cd1
add edi, edi
mov edi, edi
xor dword [ebx], eax
add edi, esi
sub edi, 0x582090a5
sub esi, 0x5be35b7e
inc ebx
mov edi, 0xcf7d4807
sub esi, edi
inc edi
cmp ebx, ecx
jne fcn.00438c90
sub edi, 0xd5ad8549
inc edi
ret
Function at 0x4098c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x4098e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4098e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4098d8
mov eax, 1
add ebx, ebx
jne 0x4098fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4098f0
jne 0x40990c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4098f0
xor ecx, ecx
sub eax, 3
jb 0x409920
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409992
mov ebp, eax
add ebx, ebx
jne 0x40992b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409938
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40995c
inc ecx
add ebx, ebx
jne 0x409948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40993d
jne 0x409959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40993d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40997c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40996d
jmp 0x4098de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40997c
add edi, ecx
jmp 0x4098de
pop esi
mov edi, esi
mov ecx, 0x17
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40999a
cmp byte [edi], 1
jne 0x40999a
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 0x40999f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409a0e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb0c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4099cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb0c8]
or eax, eax
je 0x409a08
mov dword [ebx], eax
add ebx, 4
jmp 0x4099e9
call dword [esi + 0xb0c4]
mov ebp, dword [esi + 0xb0cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x409a42
sub esp, 0xffffff80
jmp 0x402ec0
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3f4040e8
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x14f3333b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x24
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 4
mov ebx, eax
lea eax, [ebp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x10000
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x414000
mov dword [esp], 4
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll___stdio_common_vswprintf]
cmp word [0x414000], 0
je 0x401138
mov eax, 0x414000
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401070
sub eax, 0x414000
sar eax, 1
lea esi, [ebp - 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x414000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x4010b8
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10000
mov dword [esp + 0x10], 0x404000
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x414000
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x404000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x4010ab
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x401080

Function at 0x4015c0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x10006e30
Capabilities:
Get process heap flags

Disassembly:
test edx, edx
je 0x10006f02
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x14
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x10006f08
mov dword [eax], sym._enum_pins_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 0x14], edi
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 4]
mov eax, dword [edi + 0x15c]
sub esp, 4
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
jmp 0x10006ea9
mov eax, dword [ebx + 0xc]
add eax, 1
mov dword [ebx + 0xc], eax
mov edx, dword [edi + 0x160]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [edx]
test eax, eax
jne 0x10006ea0
test byte [0x100120b0], 8
jne 0x10006ed8
mov dword [esi], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x10015c37
mov dword [esp + 8], str.enum_pins_create
mov dword [esp + 4], 0x100120b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x10006ec5
mov eax, 0x80004003
ret
xor eax, eax
mov dword [esi], eax
mov eax, 0x8007000e
jmp 0x10006ec9

Function at 0x10007020
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
sub esp, 0x18
mov esi, dword [ebp + 8]
lock xadd dword [esi + 4], ebx
sub ebx, 1
test byte [0x100120b0], 8
jne 0x10007088
test ebx, ebx
jne 0x10007077
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10015c80
mov dword [esp + 8], str.enum_pins_Release
mov dword [esp + 4], 0x100120b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x10007041
Function at 0x1000abe0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x60
mov dword [ebp - 0x58], edx
test edx, edx
je 0x1000acda
mov dword [esp + 8], 0x14
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x1000ace1
mov dword [eax], sym._enum_media_types_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 0x10], esi
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
mov eax, dword [esi + 0x258]
sub esp, 4
mov edx, dword [eax + 4]
test edx, edx
je 0x1000ac8e
mov eax, dword [ebx + 0xc]
lea edi, [ebp - 0x54]
jmp 0x1000ac7d
mov dword [esp], edi
call sym._FreeMediaType_4
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x258]
sub esp, 4
add eax, 1
mov dword [ebx + 0xc], eax
mov edx, dword [edx + 4]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call edx
test eax, eax
je 0x1000ac60
test byte [0x100120d0], 8
jne 0x1000acb0
mov eax, dword [ebp - 0x58]
mov dword [eax], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Created_enumerator__p._n
mov dword [esp + 8], str.enum_media_types_create
mov dword [esp + 4], 0x100120d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x1000ac97
mov eax, 0x80004003
jmp 0x1000ac9e
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [eax], edx
mov eax, 0x8007000e
jmp 0x1000ac9e

Function at 0x1000ae40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
sub esp, 0x18
mov esi, dword [ebp + 8]
lock xadd dword [esi + 4], ebx
sub ebx, 1
test byte [0x100120d0], 8
jne 0x1000aea8
test ebx, ebx
jne 0x1000ae97
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p_decreasing_refcount_to__lu._n
mov dword [esp + 8], str.enum_media_types_Release
mov dword [esp + 4], 0x100120d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x1000ae61

Function at 0x10010b30
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 0x10010b88
cmp byte [esi + ebx - 1], 0xa
je 0x10010b5c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1002b0a4], 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 0x10011130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x1002b0b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x100112f0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x1002b0b4]
movzx eax, al
bt eax, esi
jae 0x10011350
mov ecx, dword [0x1002b0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x100111f5
test byte [0x10012108], 8
jne 0x10011290
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10012118], 8
jne 0x10011240
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 0x100111c4
cmp esi, 3
jbe 0x10011200
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 + 0x10024960]
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 0x100111c4
mov ecx, dword [0x1002b0b4]
test ecx, ecx
je 0x10011330
mov dword [esp], 0x10012118
call dword [0x1002b0b4]
test al, 8
je 0x1001119b
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 0x1001119b
mov ebx, dword [0x1002b0b4]
test ebx, ebx
je 0x10011310
mov dword [esp], 0x10012108
call dword [0x1002b0b4]
test al, 8
je 0x10011186
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 0x1001118e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x1002b0b4
call sym._load_func.part.0
jmp 0x1001114d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x1002b0b4
call sym._load_func.part.0
jmp 0x1001129a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x1002b0b4
call sym._load_func.part.0
jmp 0x1001124e
mov eax, 0xffffffff
jmp 0x100111f5
Function at 0x100114d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x1002b0c0]
test eax, eax
je 0x10011588
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10011510
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x100114fc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x100115bd
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1002b0c0], eax
sub esp, 8
test eax, eax
jne 0x100114ed
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x100114fe
Function at 0x100115d0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [ebp - 0x10], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10011751
mov eax, dword [esi]
test eax, eax
je 0x10011740
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [ebp - 0x1c], edx
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x10011755
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x10011738
call dword [edx + 0x28]
sub esp, 8
mov dword [esi + 8], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
not eax
shr eax, 0x1f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
sub esp, 8
jmp 0x100116f9
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x10011636
xor eax, eax
jmp 0x10011728
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10011728