joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010e0
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004010b0
cmp al, 1
jne 0x401118
mov eax, 5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012a3
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401142
cmp esi, dword [ebp - 0x14]
je 0x401157
mov eax, dword [eax]
cmp eax, ebx
jne 0x401138
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
nop
popal
mov edx, dword [0x4036cc]
mov ecx, 0x4036d4
push 0x4036cc
push 0x14
push 0x4036b8
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
push 0x4036d4
push dword [ebp - 0xc]
call edi
mov edx, dword [0x4036d0]
mov ecx, 0x40384c
push 0x4036d0
push 0x14
push 0x4036b8
call fcn.00401010
add esp, 0xc
push 0x40384c
push dword [ebp - 0xc]
call edi
mov edx, dword [0x403868]
mov ecx, 0x40386c
push 0x403868
push 0x14
push 0x4036b8
mov esi, eax
call fcn.00401010
add esp, 0xc
push 0x40386c
push dword [ebp - 0xc]
call edi
push 4
push 0x1000
push 0x6a1
push 0
mov ebx, eax
call esi
mov dword [ebp - 0x14], 0x403018
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x6a0
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x10]
mov edx, 0x6a0
push ecx
push 0xaa
push 0x4036f0
mov ecx, eax
call fcn.00401010
add esp, 0xc
mov dword [ebp - 8], 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x20
push 0x6a0
push esi
call ebx
mov edx, dword [0x40379c]
mov ecx, 0x403890
push 0x40379c
push 0xaa
push 0x4037a0
call fcn.00401010
mov dword [ebp - 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [0x415bf0], esi
mov dword [ebp - 0x10], 1
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [0x415bf0]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004012a3
mov esp, ebp
pop ebp
ret
Function at 0x104400b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10440200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x104400d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104400c2
add dl, dl
jne 0x104400e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10440134
xor eax, eax
add dl, dl
jne 0x104400ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104401d5
add dl, dl
jne 0x104400fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10440108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10440113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1044011e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1044012a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104400cd
mov eax, 1
add dl, dl
jne 0x10440142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1044014d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10440139
sub eax, ebx
mov ebx, 1
jne 0x10440180
mov ecx, 1
add dl, dl
jne 0x10440166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10440171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1044015d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104400cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10440197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104401a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1044018e
cmp eax, 0x7d00
jae 0x104401c5
cmp eax, 0x500
jb 0x104401c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104400cd
cmp eax, 0x7f
ja 0x104401c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104400cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104401f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x104400cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100029a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
test byte [0x1001c100], 8
jne 0x10002a30
test esi, esi
je 0x10002b1c
mov dword [esi], 0
mov dword [esp], edi
call dword [sym.imp.user32.dll_IsWindow]
sub esp, 4
test eax, eax
je 0x10002a10
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x3d
mov dword [esp + 0xc], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
js 0x10002b21
jne 0x10002b00
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.oleacc.dll_CreateStdAccessibleObject
test ebx, ebx
je 0x10002b30
mov eax, ebx
shr eax, 0x10
je 0x10002ae8
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x1001eb60
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._p__ld__s__p_n
mov dword [esp + 8], str.AccessibleObjectFromWindow
mov dword [esp + 4], 0x1001c100
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x100029c1
movzx eax, bx
mov dword [esp], 0x1001eb50
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x10002aa5
mov dword [ebp + 0x14], esi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], 0
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.oleacc.dll_ObjectFromLresult
mov eax, 0x80070057
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0x1001eb49
jmp 0x10002aa5
Function at 0x10003bd0
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 + 0x10], ebx
dec ebx
test byte [0x1001c0f0], 8
jne 0x10003c00
test ebx, ebx
je 0x10003c30
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], 0x1001e069
mov dword [esp + 8], str.Client_Release
mov dword [esp + 4], 0x1001c0f0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test ebx, ebx
jne 0x10003bf3
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]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4
Function at 0x10014f10
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 + 0x10], ebx
dec ebx
test byte [0x1001c120], 8
jne 0x10014f40
test ebx, ebx
je 0x10014f70
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__ref___lu_n
mov dword [esp + 8], str.Window_Release
mov dword [esp + 4], 0x1001c120
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
test ebx, ebx
jne 0x10014f33
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]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4

Function at 0x100177d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xc
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.user32.dll_IsWindow]
sub esp, 4
test eax, eax
je 0x100178c0
mov dword [esp + 8], 0x24
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 0x100178c7
mov dword [esp + 4], 0x10022360
mov dword [esp], esi
call sym._find_class_data
mov dword [ebx], sym._Client_QueryInterface_12
mov dword [ebx + 4], 0x1001fe90
mov dword [ebx + 8], 0x1001fe74
mov dword [ebx + 0xc], 0x1001fea4
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xa
test eax, eax
je 0x100178b8
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x20], eax
mov edx, sym._Client_QueryInterface_12
test eax, eax
je 0x10017886
mov eax, dword [eax]
test eax, eax
je 0x10017886
mov dword [esp], ebx
call eax
mov eax, dword [ebx]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call edx
mov esi, eax
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx + 0x20]
jmp 0x1001786e
mov esi, 0x80004005
jmp 0x100178a9
mov esi, 0x8007000e
jmp 0x100178a9
Function at 0x100178d0
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 [0x1001c22c]
test eax, eax
je 0x10017988
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10017910
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], 0x10022600
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 0x100178fc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x100179bd
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1001c22c], eax
sub esp, 8
test eax, eax
jne 0x100178ed
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x100178fe

Function at 0x100179d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xc
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.user32.dll_IsWindow]
sub esp, 4
test eax, eax
je 0x10017a88
mov dword [esp + 8], 0x18
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 0x10017a8f
mov dword [esp], esi
mov dword [esp + 4], 0x10022540
call sym._find_class_data
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [ebx + 0x14], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], sym._Window_QueryInterface_12
mov dword [esp + 4], eax
mov dword [ebx + 4], 0x10020b5c
mov dword [ebx + 8], 0x10020b40
mov dword [ebx + 0xc], 0x10020b70
mov dword [ebx + 0x10], 1
call sym._Window_QueryInterface_12
mov esi, eax
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov esi, 0x80004005
jmp 0x10017a78
mov esi, 0x8007000e
jmp 0x10017a78
Function at 0x10017c10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
sub esp, 0x14
mov ebx, dword [ecx + 0x14]
mov esi, dword [ecx]
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 4]
mov dword [esp], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], eax
mov eax, esi
call sym._client_get_state
test eax, eax
js 0x10017c7f
cmp word [ebx], 3
jne 0x10017c87
mov dword [esp + 4], 0xfffffff0
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
test ah, 8
je 0x10017c71
or dword [ebx + 8], 0x40
and eax, 0x20
je 0x10017c7f
or dword [ebx + 8], 0x20000000
xor eax, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], 0x2ff
mov dword [esp + 4], str..._src_wine_dlls_oleacc_client.c
mov dword [esp], str.V_VT_state___VT_I4
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x100186d0
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 0x10018728
cmp byte [esi + ebx - 1], 0xa
je 0x100186fc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1001c240], 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 0x100189a0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10018b30
mov edi, dword [esi]
test edi, edi
je 0x10018b18
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x14], eax
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 0x10018b3c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
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 0x10018b08
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
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
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x10018ace
mov eax, dword [ebp + 8]
mov edx, esi
call sym._create_registrar
test eax, eax
jne 0x10018a08
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10018b32

Function at 0x10018c30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0]
mov edx, dword [eax]
mov dword fs:[0], edx
add eax, 0x10
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.___wine_longjmp
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x10018c60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
lea ebx, [ebp - 0x80c]
sub esp, 0x810
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0xd
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
je 0x10018cf8
mov ecx, eax
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax*2]
mov edi, eax
inc eax
cmp dx, 0x26
je 0x10018d08
cmp ecx, eax
jne 0x10018ca0
lea ebx, [eax + 1]
mov eax, 1
cmp ebx, ecx
jb 0x10018cc8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Alt_
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [esi], eax
sub esp, 4
test eax, eax
je 0x10018d18
movzx edx, word [ebp + ebx*2 - 0x80c]
mov word [eax + 8], dx
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
lea ebx, [eax + 1]
mov eax, 1
cmp ebx, ecx
jae 0x10018cbd
jmp 0x10018cc8
mov eax, 0x8007000e
jmp 0x10018cbd

Function at 0x10018d20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x80c]
push ebx
mov ebx, edx
sub esp, 0x814
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0xd
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
je 0x10018d98
mov ecx, eax
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax*2]
mov edi, eax
inc eax
cmp dx, 0x26
je 0x10018da8
cmp ecx, eax
jne 0x10018d60
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
sub esp, 8
cmp eax, 1
mov dword [ebx], eax
sbb eax, eax
lea esp, [ebp - 0xc]
pop ebx
and eax, 0x8007000e
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
dec ecx
lea eax, [esi + eax*2]
mov edx, ecx
mov dword [esp + 4], eax
lea eax, [esi + edi*2]
sub edx, edi
mov dword [ebp - 0x810], ecx
add edx, edx
mov dword [esp], eax
mov dword [esp + 8], edx
call dword [sym.imp.ucrtbase.dll_memmove]
mov ecx, dword [ebp - 0x810]
mov eax, ecx
jmp 0x10018d71
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402c00
pop dword [ebp - 0x2c]
mov eax, 0x7b9eb206
add eax, 0x84a179fa
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x1496a9
sub dword [ebp - 0x3c], 0xb1c2515e
mov dword [ebp - 0x38], 0xb63d22fb
sub dword [ebp - 0x38], 0x8409d6b6
mov dword [ebp - 0x34], 0xb5a8450b
add dword [ebp - 0x34], 0x96a3ff23
mov dword [ebp - 0x30], 0x5801bfc3
sub dword [ebp - 0x30], 0x5801bfc3
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x94a5f7
sub eax, 0x54256b
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x1b99c4f8
add dword [ebp - 0x3c], 0x58d8a45e
mov dword [ebp - 0x38], 0x4783f8e0
add dword [ebp - 0x38], 0xf9e86895
mov dword [ebp - 0x34], 0x970e7bba
sub dword [ebp - 0x34], 0x339f0f4e
mov dword [ebp - 0x30], 0x81127448
sub dword [ebp - 0x30], 0x81127448
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x33714b9d
sub eax, 0x3330cac9
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3bc92
push 0
call eax
mov ecx, 0xb08904c2
add ecx, 0x4f7757a1
mov ebx, eax
mov edx, 0x1597b7f6
add edx, 0xeaa9580a
add edx, dword [ebp - 0x2c]
mov edi, 0xd7aa198a
sub edi, 0x6b26bfb6
mov dword [ebp - 0x10], 0xb873ab76
mov esi, dword [edx]
sub dword [ebp - 0x14], 0x3fc1f9f3
xor esi, edi
xor dword [ebp - 8], 0x11343169
mov dword [ebx], esi
xor dword [ebp - 0x10], edi
add ebx, 4
add edx, 0x12a8912c
add edx, 0xed576ed8
loop 0x402d22
add eax, 0x1645f
mov ebx, eax
add eax, 0x7e1b0c83
sub eax, 0x7e1b0c7e
mov ecx, 0xe323998a
add ecx, 0x1d1c6676
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x46492ac2
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0xb37136f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x7ff93c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ff946
pushal
call 0x7ff94c
pop ebp
sub ebp, 0x10
sub ebp, 0x3ff93c
jmp 0x7ff962
mov eax, 0x3ff93c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e9
mov edx, 0x50b0f14a
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ff979
jmp 0x7ff98c
rol dword [edi + 0x4a76c3c1], 0x4a
dec edx
retf