joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427990
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x467ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47f33c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x30], ax
mov eax, edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4279e0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x30]
call fcn.00407310
push edi
lea esi, [esp + 0x14]
mov dword [esp + 0x58], ebx
call fcn.00427830
add esp, 4
mov ecx, esi
push ecx
push ebp
mov byte [esp + 0x5c], 1
call fcn.0040fdd0
add esp, 8
cmp dword [esp + 0x28], 0x10
mov esi, eax
jb 0x427a33
mov edx, dword [esp + 0x14]
push edx
call fcn.004437c7
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x427a57
mov eax, dword [esp + 0x30]
push eax
call fcn.004437c7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004437d2
add esp, 0x48
ret

Function at 0x42aa80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x466950
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov eax, dword [0x482180]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x482180
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
call edx
add eax, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], esi
mov eax, dword [0x482180]
mov edx, dword [eax + 0xc]
mov ecx, 0x482180
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
add eax, 0x18
mov byte [esp + 0x38], 1
mov dword [esp + 0x20], ebx
call fcn.0042b530
cmp ebp, esi
je 0x42ae62
xor edi, edi
xor eax, eax
Function at 0x42fc6e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov eax, dword [0x47f33c]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, ecx
push edi
mov edi, edx
xor ecx, ecx
lea eax, [esi + 0x12]
lea esp, [esp]
movzx edx, byte [eax - 2]
mov byte [esp + ecx + 8], dl
movzx edx, byte [eax - 1]
mov byte [esp + ecx + 9], dl
movzx edx, byte [eax]
mov byte [esp + ecx + 0xa], dl
movzx edx, byte [eax + 1]
mov byte [esp + ecx + 0xb], dl
add ecx, 4
add eax, 4
cmp ecx, 8
jb 0x42fc80
mov ecx, dword [esi + 0x10]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x38
cmp ecx, 0x38
jb 0x42fcc2
mov eax, 0x78
sub eax, ecx
push 0x480700
mov ecx, esi
call fcn.0042fbc0
lea eax, [esp + 0xc]
push eax
mov eax, 8
mov ecx, esi
call fcn.0042fbc0
lea ecx, [edi + 1]
add esp, 8
lea eax, [esi + 2]
mov edi, 4
nop
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
movzx edx, byte [eax - 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
sub edi, 1
jne 0x42fcf0
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push 0x40
mov dword [esi + 0x14], eax
push eax
add esi, 0x18
push esi
call fcn.00449330
mov ecx, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.004437d2
add esp, 0xc
ret
Function at 0x433270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4666c1
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x47f33c]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
push ebp
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
xor ebx, ebx
fisttp dword [ebp + 0x6c73c4e]
or byte [ecx + 0x47], al
add byte [ecx + 0x5e89085e], cl
or al, 0x89
pop esi
adc byte [ecx + 0x5e89145e], cl
sbb byte [ecx + 0x5e891c5e], cl
and byte [ecx + 0x5e89245e], cl
sub byte [ecx + 0x5e892c5e], cl
xor byte [ecx + 0x5e89345e], cl
cmp byte [ebx - 0x41], dl
sldt word [eax]
add byte [ecx + 0x59891879], cl
adc al, 0x68
test eax, 0x89004710
je 0x433314
sbb byte [eax - 0x4817fba7], cl
cmp edi, ebp
dec dword [ebp - 0x6376a7b2]
and al, 0x20
or byte [eax], al
add byte [ebx - 0x77], dl
jns 0x43331f
mov dword [ecx + 0x14], ebx
push 0x4710a9
mov byte [ecx + 4], bl
call fcn.00406eb0
lea ecx, [esi + 0x74]
mov byte [esp + 0x820], 1
push 6
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x473db0
mov byte [ecx + 4], bl
call fcn.00406eb0
lea eax, [esi + 0x90]
push eax
mov byte [esp + 0x824], 2
call fcn.00439a50
mov byte [esp + 0x820], 3
mov dword [esi + 0xa8], ebx
mov byte [esi + 0xac], bl
lea ecx, [esi + 0xb0]
mov byte [esi + 0xad], bl
push ecx
mov byte [esi + 0xae], bl
mov byte [esi + 0xaf], bl
call fcn.00439a50
lea edx, [esi + 0xc8]
push edx
mov byte [esp + 0x824], 4
call fcn.00439a50
lea ebp, [esi + 0xe0]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov dword [esi + 0x114], edi
mov dword [esi + 0x110], ebx
mov byte [esi + 0x100], bl
mov dword [esi + 0x130], edi
mov dword [esi + 0x12c], ebx
mov byte [esi + 0x11c], bl
mov dword [esi + 0x14c], edi
mov dword [esi + 0x148], ebx
mov byte [esi + 0x138], bl
mov byte [esp + 0x820], 9
lea edi, [esi + 0x150]
call fcn.004326d0
lea eax, [esi + 0x260]
push eax
mov byte [esp + 0x824], 0xa
call fcn.004308f0
lea ecx, [esi + 0x370]
push ecx
mov byte [esp + 0x824], 0xb
call dword [0x46a07c]
lea edx, [esp + 0x14]
push edx
push 0x800
call dword [0x46a184]
lea eax, [esp + 0x14]
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433430
sub eax, edi
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00406eb0
mov eax, esi
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004437d2
add esp, 0x814
ret
Function at 0x43ca60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x466553
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi], 0x47419c
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov byte [esi + 6], bl
mov byte [esi + 7], bl
lea eax, [esi + 0x20]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
push eax
mov byte [esi + 0x18], 0xff
mov dword [esi + 0x1c], ebx
call fcn.00439a50
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esi], 0x47436c
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
xor edx, edx
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], ebx
mov word [esi + 0x50], dx
mov byte [esp + 0x20], 1
mov dword [esi + 0x68], 1
mov eax, 0xff000000
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x44]
push eax
push ecx
call fcn.00438c10
add esp, 4
call fcn.00438de0
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], ebx
call fcn.00442318
cmp eax, ebx
je 0x43cb3b
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x34], ebx
call fcn.0044239c
cmp eax, ebx
je 0x43cb58
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
shr eax, 2
cmp ecx, ecx
jne 0x43cb77
cmp edx, edx
jne 0x43cb77
cmp dword [esi + 0x10], eax
jne 0x43cb77
cmp dword [esi + 0x14], ebp
je 0x43cb83
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebp
mov eax, 0xff000000
or ecx, 0xffffffff
mov dword [esi + 0x6c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], ecx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x445262
Capabilities:
Check http status code

Disassembly:
add byte [eax], al
add byte [eax], ah
push eax
push 0x473f6c
push ebp
je 0x432cc6
mov edx, dword [esi + 0x10]
call edx
jmp 0x432ccb
mov eax, dword [esi + 0x48]
call eax
mov ecx, dword [esp + 0x38]
push 0x473f9c
push ecx
call fcn.00445b3f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x432f9d
push 2
push 0
push ebp
call fcn.004459f6
add esp, 0xc
push ebp
call fcn.004471aa
add esp, 4
push 0
push 0
push ebp
mov edi, eax
call fcn.004459f6
add esp, 0xc
test edi, edi
jne 0x432d1e
push ebp
call fcn.0044511f
add esp, 4
jmp 0x432f9d
cmp byte [esp + 0x29e0], 0
je 0x432da6
lea edx, [edi + 0x18]
cmp edx, 0x800
jb 0x432d41
lea eax, [edi + 0x19]
push eax
call fcn.00442913
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx], eax
push 0x473fa0
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push 0x473fa8
mov dword [ebx + 0xc], eax
push 4
mov dword [ebx + 0x10], eax
push ebx
mov dword [ebx + 0x14], eax
call fcn.004467aa
push 0x473fac
push 0x473fa8
lea ecx, [ebx + 4]
push 4
push ecx
call fcn.004467aa
mov edx, dword [esp + 0x5c]
push edx
push 0x473fa8
lea eax, [ebx + 8]
push 8
push eax
call fcn.004467aa
push edi
push 0x473fb4
lea ecx, [ebx + 0x10]
push 8
push ecx
call fcn.004467aa
add esp, 0x40
jmp 0x432dbc
cmp edi, 0x800
jb 0x432dbc
lea edx, [edi + 1]
push edx
call fcn.00442913
add esp, 4
mov ebx, eax
movzx eax, byte [esp + 0x29e0]
neg eax
push ebp
sbb eax, eax
push edi
and eax, 0x18
add eax, ebx
push 1
push eax
call fcn.00446f64
push ebp
mov edi, eax
call fcn.0044511f
add esp, 0x14
adc esp, 0
add byte [eax], al
mov ecx, dword [eax]
push 0x43ceac3c
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x432cb2
mov dword [ebp - 0x28], 1
jmp 0x432cb2
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d490
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [section..data]
push eax
call esi
push 0x46d480
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push 0x46d438
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x1001340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x1001108
push 0x80000002
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jne 0x100139a
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10010fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 4], 0xffffffff
je 0x10013a9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret 4

Function at 0x10013b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1003020]
or dword [ebp - 0x78], 0xffffffff
push esi
push edi
push 0x10
pop ecx
mov esi, 0x1001160
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x7c], 0x104
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10013e9
mov eax, 0x100115c
mov esi, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x74]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10013fe
mov esi, 0x10011ac
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x74]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001414
mov esi, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x74]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001424
lea eax, [ebp - 0x78]
push eax
push 0xf003f
mov esi, 0x10011a4
push 0
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x74]
push eax
push 0x80000002
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jne 0x100147d
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x9c]
lea eax, [ebp - 0x80]
push eax
push 0
push 0x10010fc
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 0x78], 0xffffffff
je 0x100148c
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x90]
pop edi
mov eax, esi
pop esi
call fcn.01001f44
add ebp, 0x94
leave
ret 4
Function at 0x10014a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1003020]
or dword [ebp - 0x78], 0xffffffff
push esi
push edi
push 0x10
pop ecx
mov esi, 0x1001160
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x7c], 0x104
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014de
mov esi, 0x100115c
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x74]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014f1
lea eax, [ebp - 0x78]
push eax
push 0xf003f
mov esi, 0x10011a4
push 0
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x74]
push eax
push 0x80000001
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jne 0x100154a
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x9c]
lea eax, [ebp - 0x80]
push eax
push 0
push 0x1001150
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 0x78], 0xffffffff
je 0x1001559
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x90]
pop edi
mov eax, esi
pop esi
call fcn.01001f44
add ebp, 0x94
leave
ret 4

Function at 0x1001572
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1003020]
or dword [ebp - 0x78], 0xffffffff
push esi
push edi
push 0x12
pop ecx
mov dword [ebp + 0x90], eax
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x74]
push eax
mov esi, 0x10011c0
lea edi, [ebp - 0x74]
push 0x80000002
mov dword [ebp - 0x7c], 0x104
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jne 0x10015ef
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x9c]
lea eax, [ebp - 0x80]
push eax
push 0
push 0x10010fc
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 0x78], 0xffffffff
je 0x10015fe
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x90]
pop edi
mov eax, esi
pop esi
call fcn.01001f44
add ebp, 0x94
leave
ret 4
Function at 0x1001cbe
Capabilities:
Delete file
Move file

Disassembly:
push 0x5bc
push 0x1001278
call fcn.010021cc
mov eax, dword [0x1003020]
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x5cc]
call fcn.010016d6
mov dword [ebp - 0x5c8], eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.01001572
test eax, eax
jne 0x1001d3b
lea edi, [ebp - 0x1b4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d03
mov esi, 0x100115c
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x1b4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d19
mov ebx, 0x100126c
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1001d40
mov ebx, 0x100126c
lea eax, [ebp - 0x2b8]
push eax
call fcn.010013b0
test eax, eax
jne 0x1001d88
lea edi, [ebp - 0x2b8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d57
mov esi, 0x100115c
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x2b8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d6d
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x3bc]
push eax
call fcn.01001340
test eax, eax
jne 0x1001dd0
lea edi, [ebp - 0x3bc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d9f
mov esi, 0x100115c
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x3bc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001db5
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x3bc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 3
push 0x1001268
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x1001e9f
push 0x104
lea eax, [ebp - 0x5c4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1001e9f
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1001e9f
lea eax, [ebp - 0x5c4]
cmp dword [ebp - 0xa0], 2
jne 0x1001e3e
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x1001e9f
mov esi, 0x1001260
lea edi, [ebp - 0x4c0]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001e4d
sub eax, edx
lea edi, [ebp - 0x4c0]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001e5d
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x1001254
lea eax, [ebp - 0x4c0]
push eax
push 0x100124c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
jmp 0x1001e9f
or dword [ebp - 4], 0xffffffff
xor eax, eax
cmp dword [ebp - 0x5c8], eax
setne al
mov ecx, dword [ebp - 0x1c]
call fcn.01001f44
call fcn.01002207
ret 0x10
Function at 0x1001f44
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003020]
jne 0x1001f4d
ret
jmp 0x1001f52
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x1003020]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x1003044]
test eax, eax
je 0x1001f76
call eax
cmp dword [0x1003048], 0
je 0x1001fbd
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x1003048]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01001f44
add ebp, 0x2a8
leave
ret