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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
shr dword [ebp + 0x14], 0x10
and eax, 0xffff
push esi
mov dword [ebp + 0xc], eax
push edi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + edx*4]
mov ecx, dword [ebp + 0x14]
mov esi, edi
and edi, 0xffff
shr esi, 0x10
mov edx, edi
imul edx, dword [ebp + 0xc]
mov dword [ebp - 8], esi
imul esi, ecx
sub edi, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
mov eax, edi
imul eax, ecx
mov dword [ebp - 0xc], ecx
xor edi, dword [ebp - 0xc]
mov ecx, eax
and edi, 0x10000
neg edi
neg ecx
sbb ecx, ecx
and ecx, edi
add eax, esi
cmp eax, esi
sbb edi, edi
add eax, edx
and edi, 0x10000
add ecx, edi
cmp eax, edx
sbb edi, edi
and edi, 0x10000
add ecx, edi
mov edi, eax
shl edi, 0x10
add edx, edi
cmp edx, edi
sbb edi, edi
shr eax, 0x10
neg edi
add edi, ecx
add eax, edi
add esi, eax
mov eax, dword [ebx]
lea ecx, [edx + edx]
add eax, ecx
cmp eax, ecx
sbb edi, edi
neg edi
cmp ecx, edx
sbb ecx, ecx
neg ecx
add ecx, dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
mov eax, dword [ebx]
lea edx, [ecx + edi]
lea edi, [esi + esi]
add eax, edi
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edi, esi
sbb esi, esi
add edx, eax
neg esi
add ecx, esi
cmp edx, eax
sbb eax, eax
neg eax
add eax, ecx
inc dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
mov dword [ebx], edx
jl 0x418357
add ebx, 4
cmp dword [ebp - 4], 0
pop edi
pop esi
je 0x41844f
mov edx, dword [ebp + 0x18]
add edx, edx
cmp dword [ebp + 8], edx
jge 0x41844f
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
add ecx, eax
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebx], ecx
add ebx, 4
inc dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], eax
jne 0x41842e
pop ebx
leave
ret
Function at 0x419526
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
cmp edi, edx
je 0x419640
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 7
push ebx
push esi
mov dword [ebp - 4], edx
je 0x419564
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx cx, bl
mov word [ebp - 4], cx
add edi, 7
shr eax, 3
shr edi, 3
xor esi, esi
test edi, edi
mov dword [ebp - 0xc], eax
jle 0x41963e
lea eax, [edi - 1]
cmp esi, eax
je 0x419595
mov eax, dword [ebp + 0x10]
movzx ax, byte [esi + eax]
xor ecx, ecx
mov ch, byte [ebp - 4]
xor eax, ecx
add edx, 8
jmp 0x4195c5
mov eax, dword [ebp + 0x14]
and eax, 7
mov dword [ebp - 8], 8
je 0x4195a7
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [esi + eax]
mov ebx, dword [ebp - 4]
mov cl, 8
sub cl, byte [ebp - 8]
shr al, cl
mov ecx, dword [ebp - 8]
shl ebx, cl
movzx ax, al
or eax, ebx
add edx, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
setne cl
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp edx, 8
setge al
test ecx, eax
jne 0x4195f9
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
sete cl
xor ebx, ebx
test edx, edx
setg bl
test ebx, ecx
je 0x419635
push 8
pop eax
cmp edx, eax
mov dword [ebp - 8], eax
jg 0x419606
mov dword [ebp - 8], edx
mov ebx, dword [ebp - 4]
mov cl, dl
sub cl, byte [ebp - 8]
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 8]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 8]
sar eax, cl
mov ecx, dword [ebp - 0xc]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov byte [ecx + eax], bl
jmp 0x4195d5
inc esi
cmp esi, edi
jl 0x41957d
pop esi
pop ebx
pop edi
leave
ret
Function at 0x420ada
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x429798
call fcn.0042005c
mov edi, 0x94
mov eax, edi
call fcn.0041fb10
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x454900], ecx
mov eax, dword [esi + 4]
mov dword [0x45490c], eax
mov edx, dword [esi + 8]
mov dword [0x454910], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x454904], esi
cmp ecx, 2
je 0x420b3a
or esi, 0x8000
mov dword [0x454904], esi
shl eax, 8
add eax, edx
mov dword [0x454908], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x420b75
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b75
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x420b8d
cmp eax, 0x20b
je 0x420b7a
mov dword [ebp - 0x1c], esi
jmp 0x420ba1
cmp dword [ecx + 0x84], 0xe
jbe 0x420b75
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x420b9b
cmp dword [ecx + 0x74], 0xe
jbe 0x420b75
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00421b6b
pop ecx
test eax, eax
jne 0x420bcd
cmp dword [0x4548e0], 1
jne 0x420bba
call fcn.00423d72
push 0x1c
call fcn.00423bfb
push 0xff
call fcn.00421305
pop ecx
pop ecx
call fcn.0042451b
mov dword [ebp - 4], esi
call fcn.00424370
test eax, eax
jge 0x420be6
push 0x1b
call fcn.00420ab5
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x455ed4], eax
call fcn.0042424e
mov dword [0x4548d8], eax
call fcn.004241ac
test eax, eax
jge 0x420c0c
push 8
call fcn.00420ab5
pop ecx
call fcn.00423f79
test eax, eax
jge 0x420c1d
push 9
call fcn.00420ab5
pop ecx
push 1
call fcn.00421335
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x420c33
push eax
call fcn.00420ab5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00423f1c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x420c54
movzx eax, word [ebp - 0x40]
jmp 0x420c57
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040c828
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x420c75
push edi
call fcn.00421460
call fcn.00421482
jmp 0x420ca7
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00420097
ret
Function at 0x4217f2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x421820
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x421827
cmp ebx, dword [eax + 4]
jae 0x421827
xor eax, eax
jmp 0x421a17
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x421838
xor eax, eax
inc eax
jmp 0x421a16
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x42184e
cmp ecx, edx
jae 0x421993
cmp dword [eax + 4], 0
je 0x421857
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x42183f
cmp dword [ebp + 8], 0
je 0x421879
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x421993
cmp eax, esi
jae 0x421993
mov eax, dword [0x454948]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42189e
cmp dword [esi*4 + 0x454950], edi
je 0x421997
inc esi
cmp esi, eax
jl 0x42188c
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x421a13
cmp dword [ebp - 8], 0x1000000
jne 0x421a13
test byte [ebp - 0xc], 0xcc
je 0x42191c
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x421a13
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x421a13
cmp word [eax + 0x18], 0x10b
jne 0x421a13
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x421a13
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42191c
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42191c
test byte [ecx + 0x27], 0x80
jne 0x421993
push 1
push 0x454990
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x421830
mov ecx, dword [0x454948]
test ecx, ecx
mov edx, ecx
jle 0x421950
lea eax, [ecx*4 + 0x45494c]
cmp dword [eax], edi
je 0x421950
dec edx
sub eax, 4
test edx, edx
jg 0x421944
test edx, edx
jne 0x421981
push 0xf
pop ebx
cmp ecx, ebx
jg 0x42195d
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x421975
lea eax, [edx*4 + 0x454950]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x421963
cmp ecx, 0x10
jge 0x421981
inc ecx
mov dword [0x454948], ecx
push 0
push 0x454990
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x421830
xor eax, eax
jmp 0x421a16
test esi, esi
jle 0x421830
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x454990
call ebx
test eax, eax
jne 0x421830
cmp dword [esi*4 + 0x454950], edi
je 0x4219ed
mov eax, dword [0x454948]
lea esi, [eax - 1]
test esi, esi
jl 0x4219db
cmp dword [esi*4 + 0x454950], edi
je 0x4219d7
dec esi
jns 0x4219cb
test esi, esi
jge 0x4219eb
cmp eax, 0x10
jge 0x4219e6
inc eax
mov dword [0x454948], eax
lea esi, [eax - 1]
jmp 0x4219ed
je 0x421a05
xor ecx, ecx
test esi, esi
jl 0x421a05
lea eax, [ecx*4 + 0x454950]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4219f3
push 0
push 0x454990
call ebx
jmp 0x421830
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3eb507cb
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5c861123
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100204be
Capabilities:
Get disk information

Disassembly:
push 0x150
mov eax, 0x1008723b
call fcn.10085435
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x148], ebx
test ebx, ebx
je 0x10020683
xor edi, edi
cmp word [ebx], di
je 0x10020683
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x1002050b
cmp eax, 2
jne 0x100205ab
test byte [ebp + 8], 1
je 0x100205be
movzx eax, word [ebx]
push eax
push 0x1000b0fc
lea eax, [ebp - 0x24]
push 7
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [ebp - 0x24]
push edi
push edi
push 3
push edi
push 7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14c], eax
cmp eax, 0xffffffff
je 0x100205be
push edi
lea ecx, [ebp - 0x154]
push ecx
push 0x120
lea ecx, [ebp - 0x144]
push ecx
push edi
push edi
push 0x2d0c00
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100205b3
cmp dword [ebp - 0x154], edi
jbe 0x100205b3
mov eax, dword [ebp - 0x13c]
test eax, eax
jle 0x100205b3
cmp eax, 3
jle 0x100205a0
cmp eax, 4
jle 0x100205b3
cmp eax, 0xa
jle 0x100205a0
cmp eax, 0xd
jle 0x100205b3
cmp eax, 0x13
jle 0x100205a0
cmp eax, 0x16
jne 0x100205b3
lea ecx, [ebp - 0x14c]
call fcn.1002f5aa
call fcn.10085387
ret 4
lea ecx, [ebp - 0x14c]
call fcn.1002f5aa
mov dword [ebp - 4], edi
mov eax, dword [esi]
push ebx
push esi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100a0bc0]
call esi
or dword [ebp - 4], 0xffffffff
jmp 0x100205f6
push edi
push edi
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], edi
push eax
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100205ab
push 1
push 0x14
call dword [sym.imp.PhotoBase.dll_void____cdecl_BasePrivate::New_unsigned_int__bool_]
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x148], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10020645
push 5
push ebx
mov ecx, esi
call fcn.1002f923
mov dword [esi], 0x1000282c
jmp 0x10020647
mov esi, edi
mov dword [ebp - 0x148], esi
test esi, esi
je 0x10020654
inc dword [esi + 4]
mov dword [ebp - 4], 3
test esi, esi
jne 0x1002066a
push 0x8007000e
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
push dword [ebp - 0x150]
mov ecx, esi
call fcn.10020160
mov ecx, esi
call fcn.1002f187
jmp 0x100205ab
push 0x80070057
jmp 0x10020664
Function at 0x1003d28d
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x1009e9c8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2bc], 0
lea eax, [ebp - 0x2bc]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
and dword [edi], 0
call fcn.1001b609
mov esi, eax
test esi, esi
js 0x1003d314
push ebx
mov ebx, 0x2b4
lea eax, [ebp - 0x2b8]
push ebx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x101
push ebx
push eax
push 0
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebx
test eax, eax
je 0x1003d305
mov eax, dword [ebp - 0x2b8]
mov dword [edi], eax
jmp 0x1003d314
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
push dword [ebp - 0x2bc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10084510
mov esp, ebp
pop ebp
ret 4

Function at 0x1003d334
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x1009e9c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], ebx
cmp byte [ecx + 8], bl
je 0x1003d3e8
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], ebx
push eax
call fcn.1001b609
mov esi, eax
test esi, esi
js 0x1003d3da
mov esi, 0x2b4
lea eax, [ebp - 0x2b8]
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x200
push esi
push eax
push ebx
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1003d3cb
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [edi], esi
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, 0x8007000e
jmp 0x1003d3da
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
push dword [ebp - 0x2bc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1003d3f4
add ecx, 0xa
mov edx, edi
call fcn.10015fda
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084510
mov esp, ebp
pop ebp
ret 4

Function at 0x1003d568
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1009e9c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x208
mov dword [esi + 4], eax
xor eax, eax
push eax
mov byte [esi + 8], 1
mov word [esi + 0xa], ax
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push dword [esi + 4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp - 4]
dec eax
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
and eax, 0x80004005
call fcn.10084510
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d5d4
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1009e9c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor esi, esi
push 1
push dword [esi*8 + 0x1009e8d0]
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1003d62c
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x1003d659
inc esi
cmp esi, 7
jb 0x1003d5f2
or dword [edi + 4], 0xffffffff
lea ecx, [edi + 0xa]
push ebx
mov edx, 0x104
mov byte [edi + 8], 0
call fcn.1001b46e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084510
mov esp, ebp
pop ebp
ret
push dword [esi*8 + 0x1009e8d0]
mov ecx, edi
call fcn.1003d568
jmp 0x1003d648

Function at 0x1003d85a
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x10088e23
call fcn.100853ff
mov esi, ecx
mov dword [ebp - 0x20], esi
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.10015f77
push 1
push 0x1000c52c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1001b2c9
lea ecx, [ebp - 0x14]
cmp dword [ebp + 0xc], edi
je 0x1003d89f
push 0x13
push 0x1000c5e0
jmp 0x1003d8a6
push 0xe
push 0x1000c5c0
call fcn.1001b2c9
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push ecx
push ecx
push 0x2001f
push ecx
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x14]
push SysReAllocString
call fcn.10013245
test eax, eax
je 0x1003d8e4
movzx eax, ax
or eax, 0x80070000
push eax
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jb 0x1003d8f5
push 0xa
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, edi
cmp ebx, eax
jae 0x1003d95d
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [ebp - 0x18]
call fcn.10015daa
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push 0x1000c2c8
push eax
call fcn.1001e1df
add esp, 0xc
cmp ebx, dword [esi + 4]
jb 0x1003d930
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_ATL::BaseAtlThrow_long_int_]
imul ecx, ebx, 0x214
add ecx, dword [esi]
mov esi, dword [ebp - 0x18]
push esi
push dword [ebp - 0x2c]
call fcn.1003d4eb
test eax, eax
js 0x1003d8dd
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.10015dfc
mov eax, dword [ebp - 0x1c]
inc ebx
mov esi, dword [ebp - 0x20]
jmp 0x1003d8f7
push 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 4
push edi
push 0x1000c2ac
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1003d8d5
cmp dword [ebp - 0x2c], eax
je 0x1003d98d
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
jmp 0x1003d9b2
mov eax, edi
call fcn.10085364
ret 0xc
Function at 0x10055979
Capabilities:
Hide graphical window

Disassembly:
push 0x3c
mov eax, 0x1008ae16
call fcn.10085435
mov esi, ecx
mov ebx, dword [ebp + 0x10]
sub esp, 0x10
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
call fcn.1002eb3b
test ebx, ebx
je 0x10055ac3
mov eax, dword [ebx + 0xc]
push eax
mov dword [esi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edi, [esi + 0x28]
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
je 0x100559e3
push 0xfffffffffffffff0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffdffff
push eax
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
mov ecx, edi
call fcn.10036da8
jmp 0x10055a36
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x10055a36
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x10055a36
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add edx, 0xfffffff6
push 5
push 0
add edx, ecx
add eax, 0xfffffff6
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
push 0
push edx
add eax, ecx
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi]
lea edx, [esi + 0x44]
call fcn.10056994
test eax, eax
js 0x10055acc
mov ecx, dword [edi]
lea edx, [esi + 0x48]
call fcn.10060971
mov ebx, eax
test ebx, ebx
js 0x10055acc
mov eax, dword [ebp - 0x38]
mov ecx, dword [edi]
mov edx, dword [eax + 0x10]
mov dword [edx], ecx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x44]
push dword [ecx + 0x28]
mov ecx, esi
call fcn.1005590b
mov eax, dword [esi + 0x48]
mov ecx, esi
push dword [eax + 0x28]
call fcn.1005590b
mov eax, dword [esi + 0x44]
push 5
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
push 0
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x48]
push 0
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 4], 0
lea eax, [esi + 0x54]
push eax
push ecx
mov ecx, edi
call fcn.10056221
test eax, eax
jne 0x10055ac8
mov ebx, 0x80004005
test ebx, ebx
jns 0x10055af6
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10055b18
mov eax, dword [0x1009e7a8]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, ecx
or eax, edx
je 0x10055b18
push 0
push edx
push ecx
push 0xe
pop edx
mov ecx, 0x10009e38
call fcn.1002d14b
xor eax, eax
inc eax
call fcn.10085387
ret 0x10
Function at 0x1005ebb4
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0x28
mov eax, 0x1008bbd4
call fcn.100853ff
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 4
jbe 0x1005ebda
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1005ebe6
cmp word [eax], di
jne 0x1005ebeb
mov eax, 0x1000c548
push eax
lea ecx, [ebp - 0x14]
call fcn.10015f77
push 0x1000c52c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10015f77
mov edx, eax
imul eax, esi, 0x28
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [eax + 0x10004548]
call fcn.1005ee29
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.1001b2c9
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10015dfc
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push ecx
push ecx
push 0x2001f
push ecx
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14]
push SysReAllocString
call fcn.10013245
test eax, eax
je 0x1005ec7c
movzx eax, ax
or eax, 0x80070000
push eax
jmp 0x1005ebd4
push ecx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x28]
push 0x1000c6ac
call fcn.10013297
test eax, eax
jne 0x1005ec6e
push ecx
push dword [ebx + 0x14]
lea ecx, [ebp - 0x28]
push 0x1000c6d0
call fcn.10013297
test eax, eax
jne 0x1005ec6e
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp - 0x28]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x1000c72c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1005ec6e
mov eax, dword [ebx + 0x2c]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x1000c774
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1005ec6e
mov eax, dword [ebx + 0x30]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x1000c798
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1005ec6e
push 0x1000c7f4
push esi
lea ecx, [ebx + 0x34]
call fcn.1003d4eb
test eax, eax
js 0x1005ec76
push 0x1000c810
push esi
lea ecx, [ebx + 0x248]
call fcn.1003d4eb
test eax, eax
js 0x1005ec76
push 0x1000c750
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov al, byte [ebx + 0x28]
test al, al
je 0x1005ed6f
movzx eax, al
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x1000c750
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1005ec6e
test esi, esi
je 0x1005ed7a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
jmp 0x1005ed9f
mov eax, edi
call fcn.10085364
ret 8