Function at 0x10024bca
Capabilities:
Create pipe
Delete registry value
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
jmp 0x10024bea
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x16
je 0x10024db3
mov dword [ebp - 0x38], 0xeede0b40
mov dword [ebp - 0x58], 0
jmp 0x10024c0b
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x10024c21
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x13c], 0xfffffffa
jmp 0x10024c04
mov dword [ebp - 0x38], 0
jmp 0x10024c31
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x16
je 0x10024dae
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x10024c52
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 7
je 0x10024da9
mov dword [ebp - 8], 0xc1188e17
mov dword [ebp - 0x50], 0
jmp 0x10024c73
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x10024c86
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x2c], 0x121f
jmp 0x10024c6c
mov dword [ebp - 8], 0
jmp 0x10024c96
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x10024da4
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x2c], 0
je 0x10024d11
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [ebp - 0x110], eax
push 4
pop eax
imul eax, eax, 0
push 7
pop ecx
sub ecx, dword [ebp + eax - 0x2c]
je 0x10024cd9
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x10024cd9
mov dword [ebp - 0x9c], 1
jmp 0x10024ce0
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x9c], eax
je 0x10024cf7
mov dword [ebp - 0xe0], 1
jmp 0x10024cfe
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x2c], 0
je 0x10024d11
mov dword [ebp - 0x70], 1
jmp 0x10024d15
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + eax - 0x2c]
add ecx, dword [ebp - 8]
jne 0x10024d33
mov dword [ebp - 0xc0], 1
jmp 0x10024d3a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x14]
jle 0x10024d51
mov dword [ebp - 0x78], 1
jmp 0x10024d55
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x14]
jle 0x10024d6c
mov dword [ebp - 0xcc], 1
jmp 0x10024d73
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp eax, dword [ebp - 0xcc]
jle 0x10024d8b
mov dword [ebp - 0x80], 1
jmp 0x10024d8f
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x13c], ecx
jmp 0x10024c8f
jmp 0x10024c4b
jmp 0x10024c2a
jmp 0x10024be3
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10025132
mov dword [ebp - 0x3c], 0xfffffff6
mov dword [ebp - 0x8c], 0xcc321a0
mov dword [ebp - 4], 0
jmp 0x10024de0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x10024df6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x154], 0xb9b5
jmp 0x10024dd9
mov dword [ebp - 4], 0
jmp 0x10024e06
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x10024e19
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1c], 0x532fe223
jmp 0x10024dff
mov dword [ebp - 4], 0
jmp 0x10024e29
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x10024e3f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x10c], 0xffffffff
jmp 0x10024e22
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1c], 3
jmp 0x10024e64
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
jl 0x1002505e
mov dword [ebp - 0x34], 0xfffffffe
mov dword [ebp - 0xb4], 4
mov dword [ebp - 0x94], 0x6b34c266
mov dword [ebp - 0x64], 0x4ce34aaf
xor eax, eax
jne 0x10024ec1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x114], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
je 0x10024ed3
cmp dword [ebp - 0x34], 0
je 0x10024ed3
mov dword [ebp - 0xd4], 1
jmp 0x10024eda
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 1
jne 0x10024ef5
mov eax, 0x5da2
test eax, eax
jne 0x10024ef5
and dword [ebp - 0xdc], 0
jmp 0x10024eff
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], 0
jmp 0x10024f18
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jg 0x10025059
mov dword [ebp - 0x60], 0xfe9a5a16
mov dword [ebp - 0x34], 0
jmp 0x10024f39
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x10025054
mov dword [ebp - 0x40], 0xa0cd95ff
mov dword [ebp - 0xf8], 0xd4a79744
mov dword [ebp - 0x104], 0xbe3d0e72
mov dword [ebp - 0xec], 2
mov dword [ebp - 0x5c], 0
jmp 0x10024f78
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10024f8e
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x100], 0xffffffff
jmp 0x10024f71
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x10024fc0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
je 0x10024fc0
mov dword [ebp - 0xd8], 1
jmp 0x10024fc7
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x100]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0xd8]
jle 0x10025002
xor eax, eax
inc eax
je 0x10025002
mov dword [ebp - 0x68], 1
jmp 0x10025006
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x10025029
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xf8], eax
jmp 0x1002504f
mov dword [ebp - 0x40], 0
jmp 0x10025039
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1002504f
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x100], 0x2afddf34
jmp 0x10025032
jmp 0x10024f32
jmp 0x10024f11
jmp 0x10024e4f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x48], 0xfffffffa
mov dword [ebp - 0xc], 0
jmp 0x1002508a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x100250a0
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x12c], 0
jmp 0x10025083
mov dword [ebp - 0xc], 0
jmp 0x100250b0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x100250c6
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x144], 0x8a6b950b
jmp 0x100250a9
mov dword [ebp - 0x48], 1
jmp 0x100250d6
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002510f
mov dword [ebp - 0xbc], 1
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10025100
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
jmp 0x100250cf
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x1002512d
push 0
push 0x1bba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10025436
mov dword [ebp - 0x30], 0x7c20
mov dword [ebp - 0x28], 0x95a97963
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x10], 0x5336de01
mov dword [ebp - 0x4c], 0
jmp 0x1002515e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10025174
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0xc8], 0x23aa
jmp 0x10025157
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x24]
cmp eax, 0x5ed9a924
jl 0x10025196
mov dword [ebp - 0xa4], 1
jmp 0x1002519d
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0xa4]
add eax, ecx
cmp eax, 1
je 0x100251bc
mov dword [ebp - 0xd0], 1
jmp 0x100251c3
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x10]
jle 0x100251dd
mov dword [ebp - 0xac], 1
jmp 0x100251e4
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0
jmp 0x100251fd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jl 0x1002542c
mov dword [ebp - 0x54], 0x25c7e4dd
mov dword [ebp - 0x28], 0
jmp 0x1002521e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x100253db
mov dword [ebp - 0x88], 0xf8169c14
mov dword [ebp - 0xa0], 0xf093d7f2
mov dword [ebp - 0x10], 0
jmp 0x1002524c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x100253d6
mov dword [ebp - 0x98], 0xfffffff8
mov dword [ebp - 0xf0], 0xedbec151
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xc8]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x88], 0xa14a9c79
jae 0x10025292
mov dword [ebp - 0x84], 1
jmp 0x10025299
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xb5cfda6c
jb 0x100252b1
mov dword [ebp - 0x90], 1
jmp 0x100252b8
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x88]
imul eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xc8]
cmp dword [ebp - 0x98], eax
jg 0x100252f2
cmp dword [ebp - 0xa0], 0
je 0x100252f2
mov dword [ebp - 0xa8], 1
jmp 0x100252f9
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xa8], eax
jl 0x10025313
mov dword [ebp - 0xb0], 1
jmp 0x1002531a
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xc8]
imul eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x10]
imul eax, dword [ebp + ecx*4 - 0xc8]
cmp eax, 0xd2c2
jle 0x10025349
mov dword [ebp - 0xb8], 1
jmp 0x10025350
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xb8], eax
jle 0x10025367
mov dword [ebp - 0xe4], 1
jmp 0x1002536e
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x108], eax
push 4
pop eax
cmp eax, 0xb5fb
ja 0x10025397
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc8], 0
jne 0x10025397
and dword [ebp - 0x6c], 0
jmp 0x1002539e
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x6c], eax
je 0x100253af
mov dword [ebp - 0x74], 1
jmp 0x100253b3
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x74], eax
jne 0x100253c4
mov dword [ebp - 0x7c], 1
jmp 0x100253c8
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xf0], eax
jmp 0x10025245
jmp 0x10025217
mov dword [ebp - 0x24], 1
jmp 0x100253eb
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10025427
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10025425
push 0
push 0xa0
push 0x3e4
push 0x9d0
push 0xf1d
push 0x19bf
push 0x19e5
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x100253e4
jmp 0x100251f6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret