joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1065369
Capabilities:
Encode data using xor

Disassembly:
call 0x10652e2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1065312
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x106532e
xor edx, 0
jmp 0x1065339
xor edx, edx
jmp 0x1065350
jmp 0x106535c
xor eax, eax
push 0x8427d7c0
call 0x1065369
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10653a5
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x106537e
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x10653bc
add eax, 0
jno 0x10653c1
add esi, 0
ret 0x10

Function at 0x106612a
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x106614c
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10662ee
cmp edi, dword [ebp + 0x10]
jb 0x10662ee
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.01065c16
inc edi
jmp 0x10661d5
jmp 0x10661e2
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.01065c16
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.01065c16
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1066236
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x106621a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.01066264
add dword [eax], 0x39
jle 0x1066240
sub al, 0xf5
mov ch, al
call fcn.01066279
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1067f51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1067f67
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1067f78
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.01067fb9
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x106a325
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x106a26e
add ebx, 0
push ecx
call 0x106a283
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1008b1e1
sub ebx, dword [0x100aaa20]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100aaa10
call fcn.01065d4d
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0106525b
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x106a3e1
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x106a3e1
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x106a398
mov eax, 1
lock xchg dword [0x100aaa1c], eax
push 0x3dd1fc71
call 0x106a325
push esi
add esp, 8
cmp eax, 0
jne 0x106a30e
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x106a334
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x106a349
cmp ecx, edx
cmp eax, 0
je 0x106a36e
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x106a358
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0106a387
dec eax
loope 0x106a38a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100aaa1c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x106a3be
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x106a3d3
jmp 0x106a3de
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x106a2cc
Function at 0x1071446
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x107171c
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10097694
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1008e65a
push 0xffffffffffffffff
call fcn.01068646
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10714b0
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.010714c8
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1071710
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10716e4
Function at 0x1080f16
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1080f38
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1080f38
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1080f38
ret
cmp word [ebx + 4], 0x14c
jne 0x1080f38
test word [ebx + 0x16], 2
je 0x1080f38
test word [ebx + 0x16], 0x100
je 0x1080f38
cmp word [ebx + 0x18], 0x10b
jne 0x1080f38
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1080f38
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1080fc4
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1080f58
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.01067ea3
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1080f38
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1080fc4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1080f38
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1080f38
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1080f38
ret
cmp word [ebx + 4], 0x14c
jne 0x1080f38
test word [ebx + 0x16], 2
je 0x1080f38
test word [ebx + 0x16], 0x100
je 0x1080f38
cmp word [ebx + 0x18], 0x10b
jne 0x1080f38
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1080f38
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1080fc4
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1080f58
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.01067ea3
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1080f38
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x108107b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10810d4
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x108107b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x108108a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1486d2d
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10810db
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.01067f51
cmp eax, dword [ebp + 0xc]
pop eax
je 0x108117a
add edi, 4
add eax, 2
dec ecx
jne 0x10810c0
call 0x1081127
loope 0x108111d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1081177
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1081188
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x108113b
cmp eax, ecx
ja 0x108113b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10811c5
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10811bb
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.01068430
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x108108a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10810d4
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x108107b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x108108a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1486d2d
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10810db
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.01067f51
cmp eax, dword [ebp + 0xc]
pop eax
je 0x108117a
add edi, 4
add eax, 2
dec ecx
jne 0x10810c0
call 0x1081127
loope 0x108111d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1081177
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1081188
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x108113b
cmp eax, ecx
ja 0x108113b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10811c5
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10811bb
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.01068430
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x11996a40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
je 0x11996b02
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x11996b02
cmp ecx, dword [esp + 0x18]
je 0x11996b02
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push edi
push eax
push 0x40
push 4
push esi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x11aa17e8]
test eax, eax
je 0x11996aac
call ebp
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
push str._t_t_t_tSetVTable_VirtualProtect_________ret:__d___old:__d___err:__08x_
push str.TAuxModInterface
push 0xffffffffffffffff
call fcn.119989c0
add esp, 0x18
test edi, edi
pop edi
je 0x11996b00
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esi], edx
push eax
push ecx
push 4
push esi
mov dword [esp + 0x28], 0
call ebx
mov esi, eax
mov eax, dword [0x11aa17e8]
test eax, eax
je 0x11996af6
call ebp
mov edx, dword [esp + 0x10]
push eax
push edx
push esi
push str._t_t_t_tSetVTable_VirtualProtect_____ret:__d___old:__d___err:__08x_
push str.TAuxModInterface
push 0xffffffffffffffff
call fcn.119989c0
add esp, 0x18
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
ret 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x119986b0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x119986e8
lea ecx, [esp + 4]
push ecx
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x11998722
mov esi, dword [esp + 0x14]
test esi, esi
je 0x119986ff
push esi
call fcn.119deca7
add esp, 4
lea eax, [eax + eax + 2]
jmp 0x11998701
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret 0xc

Function at 0x11998730
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x11998768
lea ecx, [esp + 4]
push ecx
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1199878e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret 0xc
Function at 0x119987a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
xor esi, esi
push edi
push SysStringLen
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x119987dd
lea ecx, [esp + 8]
push ecx
push edi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1199885d
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push edi
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
call ebx
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x11998847
add eax, 2
mov dword [esp + 0x18], eax
shr eax, 1
lea edx, [eax + eax]
push edx
call fcn.119de0c1
mov esi, eax
add esp, 4
test esi, esi
je 0x11998847
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 8
ret 8
mov eax, esi
pop edi
pop esi
add esp, 8
ret 8

Function at 0x11998870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
xor esi, esi
push edi
push SysStringLen
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x119988a9
lea ecx, [esp + 8]
push ecx
push edi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x11998922
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push edi
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
call ebx
mov eax, dword [esp + 0x18]
cmp eax, 1
jb 0x1199890c
inc eax
push eax
mov dword [esp + 0x1c], eax
call fcn.119de0c1
mov esi, eax
add esp, 4
test esi, esi
je 0x1199890c
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push esi
push eax
push 0
push edi
push ecx
call ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 8
ret 8
mov eax, esi
pop edi
pop esi
add esp, 8
ret 8
Function at 0x11998930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push esi
push SysStringLen
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x11998972
lea ecx, [esp + 4]
push ecx
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x119989ae
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret 8

Function at 0x1199bc10
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x1199bc19
ret
push esi
mov esi, 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1199bc38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1199bc38
xor esi, esi
mov eax, esi
pop esi
ret
Function at 0x119b2850
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x41c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
lea eax, [esp + 0x14]
xor edi, edi
push eax
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x119b28a3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ebx, eax
cmp ebx, edi
je 0x119b28a3
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [esp + 0x430]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ecx, eax
and ecx, 0x10000
cmp ecx, 0x10000
jne 0x119b28cc
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], edx
mov dword [esi + 0x1c], ebx
jmp 0x119b28e8
and eax, 0x20000
cmp eax, 0x20000
jne 0x119b28e8
cmp edx, edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edx
mov dword [esi + 0x1c], ebx
jne 0x119b28e8
mov dword [esi + 0x24], ebp
cmp dword [0x11aa17e8], edi
je 0x119b298a
mov word [esp + 0x224], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
test ebx, ebx
stosw word es:[edi], ax
je 0x119b2951
lea edx, [esp + 0x224]
push 0x103
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [esp + 0x1c]
push 0x103
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x10]
mov eax, dword [0x11aa17e8]
test eax, eax
je 0x119b298a
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x224]
push ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x10]
push ebx
push edx
mov edx, dword [esi + 0x18]
push ebp
push ecx
push edx
push eax
push str._t_t_tFillParamsWndAndPid__Interface:_0x_08x___DataObject:_0x_08x___operation:__d___PidCur:__d___PidCursor:__d__WndCursor:_0x_08x___s____s__
push str.TDdpFrame
push 0xffffffffffffffff
call fcn.119989c0
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret 4
Function at 0x119b8b80
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor ebx, ebx
xor esi, esi
cmp eax, 0x10201
push edi
mov dword [esp + 0x10], ebx
jne 0x119b8bfa
cmp ebp, ebx
je 0x119b8bfa
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x119b8bfa
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x119b8bd9
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x119b8bd9
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x119b8bfa
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x10102
mov ecx, 0x11aa15e8
call fcn.119c2100
mov eax, dword [0x11aa17e8]
test eax, eax
je 0x119b8c48
test ebp, ebp
mov ecx, ebp
jne 0x119b8c0e
mov ecx, 0x11a5d794
test esi, esi
mov eax, str.____
jne 0x119b8c1c
mov eax, 0x11a5d918
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push esi
push str._t_tNotifyFileSaveAs__ret:__d____s___datatype:__08x___hwnd:_0x_08x___addtime:__d___filesize:__d___d___filename:__s_
push str.TUodFrame
push 0xffffffffffffffff
call fcn.119989c0
add esp, 0x2c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret