joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x41f010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41f032
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f028
mov eax, 1
add ebx, ebx
jne 0x41f04b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f040
jne 0x41f05c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f040
xor ecx, ecx
sub eax, 3
jb 0x41f070
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f0e2
mov ebp, eax
add ebx, ebx
jne 0x41f07b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f0ac
inc ecx
add ebx, ebx
jne 0x41f098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f08d
jne 0x41f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f08d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f0cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f0bd
jmp 0x41f02e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f0cc
add edi, ecx
jmp 0x41f02e
pop esi
mov edi, esi
mov ecx, 0xff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f0ea
cmp byte [edi], 2
jne 0x41f0ea
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 eax, ebx
loop 0x41f0ef
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f167
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20158]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20194]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f11c
mov ecx, edi
jns 0x41f14b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20198]
or eax, eax
je 0x41f161
mov dword [ebx], eax
add ebx, 4
jmp 0x41f139
call dword [esi + 0x2019c]
popal
jmp 0x4020d4
Function at 0x1000bd1d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.1000bc5c
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.1000c7f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1000bd6c
cmp dword [ebp - 0x1c], 5
jb 0x1000bd84
jmp 0x1000bd80
cmp dword [ebp - 0x10], 1
jne 0x1000bd84
cmp dword [ebp - 0x1c], 4
ja 0x1000bd80
jne 0x1000bd84
cmp dword [ebp - 0x18], 0
jbe 0x1000bd84
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1002934c
call fcn.1000bb0f
test eax, eax
jge 0x1000bda5
mov byte [0x100336f8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000bfdf
add ebp, 0x78
leave
ret

Function at 0x1000bfdf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10031118]
jne 0x1000bfe9
repz ret
jmp fcn.10010241
Function at 0x10011295
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x100312c0]
je 0x100112b0
inc edi
cmp edi, 0x17
jb 0x100112a1
cmp edi, 0x17
jae 0x10011430
push ebp
push 3
call fcn.10017824
cmp eax, 1
pop ecx
je 0x100113fc
push 3
call fcn.10017824
test eax, eax
pop ecx
jne 0x100112e4
cmp dword [0x10032b10], 1
je 0x100113fc
cmp ebx, 0xfc
je 0x1001142f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10032e90
push ebp
call fcn.10010db5
add esp, 0xc
test eax, eax
je 0x1001131a
push esi
push esi
push esi
push esi
push esi
call fcn.1000c3f2
add esp, 0x14
push 0x104
mov esi, 0x10032ea9
push esi
push 0
mov byte [0x10032fad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001135e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10010db5
add esp, 0xc
test eax, eax
je 0x1001135e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000c3f2
add esp, 0x14
push esi
call fcn.1000c210
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100113a3
push esi
call fcn.1000c210
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x100331a4
push 0x1002a2a4
sub ecx, eax
push ecx
push eax
call fcn.10016985
add esp, 0x14
test eax, eax
je 0x100113a3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1000c3f2
add esp, 0x14
jmp 0x100113a5
xor esi, esi
push 0x1002a2a0
push ebx
push ebp
call fcn.10016914
add esp, 0xc
test eax, eax
je 0x100113c5
push esi
push esi
push esi
push esi
push esi
call fcn.1000c3f2
add esp, 0x14
push dword [edi*8 + 0x100312c4]
push ebx
push ebp
call fcn.10016914
add esp, 0xc
test eax, eax
je 0x100113e7
push esi
push esi
push esi
push esi
push esi
call fcn.1000c3f2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10017667
add esp, 0xc
jmp 0x1001142f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1001142f
cmp ebp, 0xffffffff
je 0x1001142f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x100312c4]
push dword [esi]
call fcn.1000c210
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10017667
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10011548
xor ebx, ebx
cmp dword [0x100334ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1001773d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1001781d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001781d
push eax
call fcn.100114da
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100334ac], eax
call esi
push eax
call fcn.100114da
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100334b0], eax
call esi
push eax
call fcn.100114da
mov dword [0x100334b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000edba
test eax, eax
pop ecx
pop ecx
je 0x1001770b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c3f2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1001773d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100114da
cmp eax, ebx
pop ecx
mov dword [0x100334bc], eax
je 0x1001773d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100114da
pop ecx
mov dword [0x100334b8], eax
mov eax, dword [0x100334b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x100177c2
cmp dword [0x100334bc], ecx
je 0x100177c2
push eax
call fcn.10011551
push dword [0x100334bc]
mov esi, eax
call fcn.10011551
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x100177c2
cmp edi, ebx
je 0x100177c2
call esi
cmp eax, ebx
je 0x1001778f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001778f
test byte [ebp - 0x18], 1
jne 0x100177c2
lea eax, [ebp - 0x10]
push eax
call fcn.1000edf1
test eax, eax
pop ecx
je 0x100177aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c3f2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x100177b9
or dword [ebp + 0x10], 0x200000
jmp 0x100177fd
or dword [ebp + 0x10], 0x40000
jmp 0x100177fd
mov eax, dword [0x100334b0]
cmp eax, dword [ebp - 8]
je 0x100177fd
push eax
call fcn.10011551
cmp eax, ebx
pop ecx
je 0x100177fd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100177fd
mov eax, dword [0x100334b4]
cmp eax, dword [ebp - 8]
je 0x100177fd
push eax
call fcn.10011551
cmp eax, ebx
pop ecx
je 0x100177fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100334ac]
call fcn.10011551
cmp eax, ebx
pop ecx
je 0x1001781d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001781f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100193dd
Capabilities:
Parse pe header

Disassembly:
push edi
xor dword [ecx + 0x5a], ebp
pop eax
dec ecx
sub edx, dword [edi + 0x44]
inc ebp
xor dword [esp + edx*2 + 0x4d], ecx
xor al, 0x4f
inc esp
arpl word [ecx], si
push eax
inc ebx
cmp dword [edi + 0x61], esi
xor cl, byte [ebp + 0x36]
push ebp
inc edi
inc esi
jns 0x10019461
inc ebp
xor eax, 0x4a576231
insb byte es:[edi], dx
arpl word [edx + 0x34], bp
dec esi
inc ebx
imul ecx, dword [bp + si + 0x43], 0x54
js 0x10019487
popal
xor cl, byte [ebp + 0x36]
push edx
pop eax
push esi
jae 0x10019472
push esi
push edx
xor eax, 0x2b554763
push esp
xor byte [esi + 0x4e], dl
push eax
inc ebx
cmp dword [edi + 0x61], esi
xor cl, byte [ebp + 0x36]
push edx
pop eax
push esi
jae 0x1001948a
push esi
push edx
xor eax, 0x2b554763
inc esp
push ecx
outsd dx, dword [esi]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
insd dword es:[edi], dx

Function at 0x10019442
Capabilities:
Parse pe header

Disassembly:
je 0x100194ae
dec edi
imul ebp, dword [edx + edi*2 + 0x56], 0x6d
inc esi
jae 0x100194ae
push edi
push ecx
sub esp, dword [eax + ecx*2 + 0x4a]
xor dword [edx + 0x54], ebx
ja 0x100194ce
arpl word [edi + 0x74], ax
push 0x4f
imul ebp, dword [edx + edi*2 + 0x56], 0x6d
inc esi
jae 0x100194c6
push edi
push ecx
sub eax, dword [ecx + edx*2 + 0x6f]
xor byte [ebx + 0x43], cl
inc edx
jb 0x1001952a
Function at 0x10019688
Capabilities:
Parse pe header

Disassembly:
inc esp
push ecx
outsd dx, dword [esi]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
je 0x100196fe
dec edi
insb byte es:[edi], dx
dec edx
insb byte es:[edi], dx
pop edx
imul eax, dword [esi + 0x6a], 0x64
inc ebp
dec esi
jbe 0x10019703
insd dword es:[edi], dx
pop edx
jo 0x100196ff
xor byte [ebx + ebp*2 + 0x50], ch
outsb dx, byte [esi]
jae 0x100196e1
pop ecx
push 0x59
xor eax, 0x6b687a4d
pop edx
imul esi, dword [eax], 0x68544f7a
insd dword es:[edi], dx
dec esp
push esp
push ecx
ja 0x1001970f
xor dl, byte [ecx + 0x74]
dec edi
push esp
pop ecx
jns 0x10019723
imul esi, dword [ecx], 0x6c544f6b
imul ecx, dword [ebp + 0x6d], 0x445a7855
push esi
imul ecx, dword [ebp + 0x57], 0x4a
cmp dword [eax + 0x43], edx
cmp dword [edi + 0x61], esi
xor cl, byte [ebp + 0x36]
push ebp
insd dword es:[edi], dx
push esi
insd dword es:[edi], dx
push ecx
push edi
dec esi
xor byte [ecx + 0x32], dl
cmp dword [ebp + 0x5a], esi
insd dword es:[edi], dx
insb byte es:[edi], dx
outsb dx, byte [esi]
push ebx
push edi
push ecx
sub eax, dword [ecx + edx*2 + 0x6f]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
cmp byte [ebx + 0x47], ah
je 0x1001976e
push 0x4f
dec edi
insb byte es:[edi], dx
inc edx
push 0x4f526e63
push edi
xor dword [ecx + 0x5a], ebp
pop eax
dec ecx
sub edx, dword [edi + 0x44]
imul ebx, dword [edx + 0x58], 0x44572b49
inc ebp
xor dword [esp + edx*2 + 0x4d], ecx
xor al, 0x4f
inc esp
arpl word [0x77394350], si
popal
ja 0x10019786
xor cl, byte [ebp + 0x36]
push ebp
inc edi
inc esi
jns 0x10019791
inc ebp
xor eax, 0x4a576231
insb byte es:[edi], dx
arpl word [edx + 0x34], bp
dec esi
inc ebx
imul ecx, dword [bp + si + 0x43], 0x54
js 0x100197b7
popal
xor cl, byte [ebp + 0x36]
push edx
pop eax
push esi
jae 0x100197a2
push esi
push edx
xor eax, 0x2b554763
push esp
xor byte [esi + 0x4e], dl
push eax
inc ebx
cmp dword [edi + 0x61], esi
xor cl, byte [ebp + 0x36]
push edx
pop eax
push esi
jae 0x100197ba
push esi
push edx
xor eax, 0x2b554763
inc esp
push ecx
outsd dx, dword [esi]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
je 0x100197de
dec edi
imul ebp, dword [edx + edi*2 + 0x56], 0x6d
inc esi
jae 0x100197de
push edi
push ecx
sub esp, dword [eax + ecx*2 + 0x4a]
xor dword [edx + 0x54], ebx
ja 0x100197fe
arpl word [edi + 0x74], ax
push 0x4f
imul ebp, dword [edx + edi*2 + 0x56], 0x6d
insd dword es:[edi], dx
inc esi
jae 0x100197f6
push edi
push ecx
sub eax, dword [ecx + edx*2 + 0x6f]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
je 0x1001980e
dec edi
insb byte es:[edi], dx
dec esi
xor byte [ecx + 0x58], bl
pop ecx
pop eax
dec edx
xor byte [eax + 0x6a], dl
pop ecx
xor al, 0x4d
xor byte [ebx + 0x43], cl
inc edx
jb 0x1001985a
xor al, 0x38
arpl word [edi + 0x74], ax
push 0x4f
Function at 0x100196bc
Capabilities:
Parse pe header

Disassembly:
inc esp
push ecx
outsd dx, dword [esi]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
je 0x100196fe
dec edi
insb byte es:[edi], dx
dec edx
insb byte es:[edi], dx
pop edx
imul eax, dword [esi + 0x6a], 0x64
inc ebp
dec esi
jbe 0x10019703
insd dword es:[edi], dx
pop edx
jo 0x100196ff
xor byte [ebx + ebp*2 + 0x50], ch
outsb dx, byte [esi]
jae 0x100196e1
pop ecx
push 0x59
xor eax, 0x6b687a4d
pop edx
imul esi, dword [eax], 0x68544f7a
insd dword es:[edi], dx
dec esp
push esp
push ecx
ja 0x1001970f
xor dl, byte [ecx + 0x74]
dec edi
push esp
pop ecx
jns 0x10019723
imul esi, dword [ecx], 0x6c544f6b
imul ecx, dword [ebp + 0x6d], 0x445a7855
push esi
imul ecx, dword [ebp + 0x57], 0x4a
cmp dword [eax + 0x43], edx
cmp dword [edi + 0x61], esi
xor cl, byte [ebp + 0x36]
push ebp
insd dword es:[edi], dx
push esi
insd dword es:[edi], dx
push ecx
push edi
dec esi
xor byte [ecx + 0x32], dl
cmp dword [ebp + 0x5a], esi
insd dword es:[edi], dx
insb byte es:[edi], dx
outsb dx, byte [esi]
push ebx
push edi
push ecx
sub eax, dword [ecx + edx*2 + 0x6f]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
cmp byte [ebx + 0x47], ah
je 0x1001976e
push 0x4f
dec edi
insb byte es:[edi], dx
inc edx
push 0x4f526e63
push edi
xor dword [ecx + 0x5a], ebp
pop eax
dec ecx
sub edx, dword [edi + 0x44]
imul ebx, dword [edx + 0x58], 0x44572b49
inc ebp
xor dword [esp + edx*2 + 0x4d], ecx
xor al, 0x4f
inc esp
arpl word [0x77394350], si
popal
ja 0x10019786
xor cl, byte [ebp + 0x36]
push ebp
inc edi
inc esi
jns 0x10019791
inc ebp
xor eax, 0x4a576231
insb byte es:[edi], dx
arpl word [edx + 0x34], bp
dec esi
inc ebx
imul ecx, dword [bp + si + 0x43], 0x54
js 0x100197b7
popal
xor cl, byte [ebp + 0x36]
push edx
pop eax
push esi
jae 0x100197a2
push esi
push edx
xor eax, 0x2b554763
push esp
xor byte [esi + 0x4e], dl
push eax
inc ebx
cmp dword [edi + 0x61], esi
xor cl, byte [ebp + 0x36]
push edx
pop eax
push esi
jae 0x100197ba
push esi
push edx
xor eax, 0x2b554763
inc esp
push ecx
outsd dx, dword [esi]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
je 0x100197de
dec edi
imul ebp, dword [edx + edi*2 + 0x56], 0x6d
inc esi
jae 0x100197de
push edi
push ecx
sub esp, dword [eax + ecx*2 + 0x4a]
xor dword [edx + 0x54], ebx
ja 0x100197fe
arpl word [edi + 0x74], ax
push 0x4f
imul ebp, dword [edx + edi*2 + 0x56], 0x6d
insd dword es:[edi], dx
inc esi
jae 0x100197f6
push edi
push ecx
sub eax, dword [ecx + edx*2 + 0x6f]
dec edx
inc ebx
push ecx
imul edi, dword [eax], 0x63
inc edi
je 0x1001980e
dec edi
insb byte es:[edi], dx
dec esi
xor byte [ecx + 0x58], bl
pop ecx
pop eax
dec edx
xor byte [eax + 0x6a], dl
pop ecx
xor al, 0x4d
xor byte [ebx + 0x43], cl
inc edx
jb 0x1001985a
xor al, 0x38
arpl word [edi + 0x74], ax
push 0x4f
Function at 0x1001afca
Capabilities:
Parse pe header

Disassembly:
imul ecx, dword [edx + 0x50], 0x48
inc edx
jb 0x1001b02a
jp 0x1001b043
inc esi
bound ebp, qword [ebp + 0x51]
sub ecx, dword [edi + 0x54]
jo 0x1001b07f
push 0x64
Function at 0x100208a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x10021610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0x1002ce40
mov dword [ebp - 0xc], 0x1002ce70
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100216b9
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100216a9
lea ecx, [ebp - 0x218]
push ecx
push 0x1002ce88
mov edx, dword [ebp + 8]
push edx
call fcn.10005570
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100216b7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100216c2
jmp 0x100216bd
xor eax, eax
jmp 0x100216c2
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret 4
Function at 0x10022c50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
jmp 0x10022c7c
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x37
jge 0x10022c8d
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x6c], ecx
jmp 0x10022c73
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
push 0x5f
push 0
lea edx, [ebp - 0x67]
push edx
call fcn.1000c7f0
add esp, 0xc
push 0x60
push 0x18
lea eax, [ebp - 0x68]
push eax
call fcn.1000c7f0
add esp, 0xc
push 0x258
call fcn.1000b9ac
add esp, 4
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x70], ecx
push 0x258
push 0x18
mov edx, dword [ebp - 0x70]
push edx
call fcn.1000c7f0
add esp, 0xc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.1000c0f7
add esp, 4
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 7
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 7
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
add ecx, 7
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 1
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
add eax, 7
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 1
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
add edx, 7
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 7
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 7
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], 1
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
add edx, 7
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
add ecx, 7
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc0], 1
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
add eax, 7
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret
Function at 0x10023690
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
jmp 0x100236bc
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x22
jge 0x100236cd
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
jmp 0x100236b3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
push 0x43
push 0
lea edx, [ebp - 0x4f]
push edx
call fcn.1000c7f0
add esp, 0xc
push 0x44
push 0x89
lea eax, [ebp - 0x50]
push eax
call fcn.1000c7f0
add esp, 0xc
push 0x3b8
call fcn.1000b9ac
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x58], ecx
push 0x3b8
push 0x89
mov edx, dword [ebp - 0x58]
push edx
call fcn.1000c7f0
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.1000c0f7
add esp, 4
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
add eax, 2
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
add edx, 2
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, 2
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 2
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 2
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
add ecx, 2
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 1
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
add eax, 2
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 1
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
add edx, 2
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 2
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 2
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret