Function at 0x4054e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419d23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], edi
mov byte [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
sub esp, 0xc
mov dword [edi + 0x10], 0
mov word [edi + 0x14], 0
mov byte [edi + 0x16], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.00401f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push dword [ebp + 8]
call fcn.00402480
cmp dword [ebp - 0x5c], 0
jne 0x405def
push str.count
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov esi, 0x1000
mov dword [ebp - 0x2c], eax
test word [eax + 0xe], si
jne 0x4055c6
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
push str.nonencrypt
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov dword [ebp - 0x30], eax
test word [eax + 0xe], si
jne 0x4055e5
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
push 0x4206ac
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov dword [ebp - 0x34], eax
test word [eax + 0xe], si
jne 0x405604
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
push str.pops
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov dword [ebp - 0x38], eax
test word [eax + 0xe], si
jne 0x405623
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
push str.postback
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov dword [ebp - 0x3c], eax
test word [eax + 0xe], si
jne 0x405642
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
push str.moderation
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov dword [ebp - 0x40], eax
test word [eax + 0xe], si
jne 0x405661
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
push str.int_point
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov esi, eax
mov dword [ebp - 0x28], eax
mov eax, 0x1000
test word [esi + 0xe], ax
jne 0x405687
mov esi, dword [esi + 8]
mov dword [ebp - 0x28], esi
push 0x4206dc
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp + 8], eax
test word [eax + 0xe], cx
jne 0x4056ab
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
push str.crypto_domain
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp - 0x14], eax
test word [eax + 0xe], cx
jne 0x4056cf
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
push str.powershell
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp - 0x18], eax
test word [eax + 0xe], cx
jne 0x4056f3
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
push str.postback_id
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp - 0x1c], eax
test word [eax + 0xe], cx
jne 0x405717
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
push str.postback_url
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp - 0x20], eax
test word [eax + 0xe], cx
jne 0x40573b
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
push str.postback_path
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp - 0x24], eax
test word [eax + 0xe], cx
jne 0x40575f
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp byte [esi], al
je 0x40576c
inc eax
cmp byte [eax + esi], 0
jne 0x405765
lea esi, [eax + 1]
push esi
call fcn.00407a9f
mov dword [edi + 0x18], eax
add esp, 4
mov edi, eax
mov ecx, esi
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x28]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x405790
mov eax, dword [ebp + 8]
xor esi, esi
cmp byte [eax], 0
je 0x4057af
inc esi
cmp byte [esi + eax], 0
jne 0x4057a8
inc esi
push esi
call fcn.00407a9f
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x20], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x20]
mov edx, dword [ebp + 8]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4057d0
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp byte [eax], 0
je 0x4057ef
inc esi
cmp byte [esi + eax], 0
jne 0x4057e8
inc esi
push esi
call fcn.00407a9f
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x24], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp - 0x14]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x405810
mov eax, dword [ebp - 0x18]
xor esi, esi
cmp byte [eax], 0
je 0x40582f
inc esi
cmp byte [esi + eax], 0
jne 0x405828
inc esi
push esi
call fcn.00407a9f
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x28], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x28]
mov edx, dword [ebp - 0x18]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x405850
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp byte [eax], 0
je 0x40586f
inc esi
cmp byte [esi + eax], 0
jne 0x405868
inc esi
push esi
call fcn.00407a9f
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x30], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x30]
mov edx, dword [ebp - 0x1c]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x405890
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp byte [eax], 0
je 0x4058af
inc esi
cmp byte [esi + eax], 0
jne 0x4058a8
inc esi
push esi
call fcn.00407a9f
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x34], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x34]
mov edx, dword [ebp - 0x20]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4058d0
mov eax, dword [ebp - 0x24]
xor esi, esi
cmp byte [eax], 0
je 0x4058ef
inc esi
cmp byte [esi + eax], 0
jne 0x4058e8
inc esi
push esi
call fcn.00407a9f
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov edx, dword [ebp - 0x24]
add esp, 4
mov dword [ecx + 0x38], eax
xor al, al
mov ecx, esi
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x38]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x405910
mov edx, dword [ebp - 0x2c]
mov al, byte [edx]
test al, al
je 0x405948
mov ecx, edx
nop dword [eax]
cmp al, 0x30
jl 0x405dee
cmp al, 0x39
jg 0x405dee
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x405930
push edx
call fcn.0040dd7d
push str.false
push dword [ebp - 0x30]
mov dword [edi + 0x10], eax
call fcn.0040ece1
test eax, eax
push str.false
push dword [ebp - 0x34]
setne al
mov byte [edi + 0x14], al
call fcn.0040ece1
test eax, eax
push str.false
push dword [ebp - 0x38]
setne al
mov byte [edi + 0x15], al
call fcn.0040ece1
test eax, eax
push str.false
push dword [ebp - 0x3c]
setne al
mov byte [edi + 0x16], al
call fcn.0040ece1
test eax, eax
push str.false
push dword [ebp - 0x40]
setne al
mov byte [edi + 0x1c], al
call fcn.0040ece1
add esp, 0x2c
mov esi, 1
test eax, eax
mov dword [ebp - 0x38], esi
setne al
mov byte [edi + 0x2c], al
cmp dword [edi + 0x10], esi
jl 0x405c46
nop
push 0x19
call fcn.00407a9f
mov edx, eax
mov ecx, 0x19
push 0xa
mov edi, edx
mov dword [ebp + 8], edx
xor al, al
push edx
rep stosb byte es:[edi], al
push esi
call fcn.0040ee5a
push 0xff
call fcn.00407a9f
mov edx, dword [ebp + 8]
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x40], esi
mov edi, esi
xor al, al
mov ecx, 0xff
rep stosb byte es:[edi], al
mov ecx, edx
mov dword [esi], 0x6c7275
mov dword [ebp - 0x3c], ecx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x405a20
sub edx, ecx
lea edi, [esi - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405a30
mov esi, dword [ebp - 0x3c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push esi
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp - 0x3c], eax
test word [eax + 0xe], cx
jne 0x405a6c
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
movq xmm0, qword [str.file_ext]
mov edx, dword [ebp + 8]
mov ecx, edx
movq qword [esi], xmm0
mov al, byte [0x420734]
mov byte [esi + 8], al
mov dword [ebp - 0x34], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x405a88
sub edx, ecx
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405a94
mov esi, dword [ebp - 0x34]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push edi
call fcn.00402190
mov esi, eax
mov eax, 0x1000
test word [esi + 0xe], ax
jne 0x405acc
mov esi, dword [esi + 8]
push dword [ebp + 8]
call fcn.00407a5c
push edi
call fcn.00407a5c
mov edi, dword [ebp - 0x3c]
add esp, 8
test edi, edi
je 0x405c33
test esi, esi
je 0x405c33
push 0x14
call fcn.00407a61
mov dword [ebp + 8], eax
mov ecx, edi
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 0x40], eax
call fcn.00407610
inc eax
push eax
call fcn.00407a9f
mov edx, eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], edx
sub edx, edi
nop dword [eax]
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x405b40
push 0x420738
push esi
call fcn.0040ece1
add esp, 8
test eax, eax
jne 0x405b6b
mov eax, dword [ebp + 8]
mov dword [eax + 4], 1
jmp 0x405ba7
push 0x4206ac
push esi
call fcn.0040ece1
add esp, 8
test eax, eax
jne 0x405b89
mov eax, dword [ebp + 8]
mov dword [eax + 4], 2
jmp 0x405ba7
push 0x42073c
push esi
call fcn.0040ece1
mov ecx, dword [ebp + 8]
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov dword [ecx + 4], eax
push 0xff
call fcn.00407a9f
mov edx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
sub edx, esi
nop
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x405bc0
mov edi, dword [ebp - 0x10]
xor eax, eax
mov ecx, dword [edi + 0x18]
cmp byte [ecx], al
je 0x405be7
nop dword [eax]
inc eax
cmp byte [eax + ecx], 0
jne 0x405be0
inc eax
push eax
call fcn.00407a9f
mov esi, dword [ebp + 8]
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x18]
nop word [eax + eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x405c00
mov al, byte [edi + 0x14]
lea ecx, [edi + 4]
mov byte [esi + 0xc], al
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x405c27
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x405c36
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.00405370
jmp 0x405c36
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x38], esi
cmp esi, dword [edi + 0x10]
jle 0x4059d0
mov esi, dword [ebp - 0x8c]
lea eax, [ebp + 8]
push str.manual_start
shl esi, 5
lea ecx, [ebp - 0x8c]
add esi, dword [ebp - 0x84]
push eax
mov byte [edi], 1
call fcn.00402140
cmp dword [eax], esi
je 0x405dee
push str.manual_start
lea ecx, [ebp - 0x8c]
call fcn.00402190
cmp word [eax + 0xe], 3
jne 0x405dee
push str.manual_start
lea ecx, [ebp - 0x8c]
call fcn.00402190
xorps xmm0, xmm0
mov ecx, 3
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
mov word [eax + 0xe], cx
movups xmmword [ebp - 0x54], xmm1
movd esi, xmm1
lea ecx, [ebp - 0x54]
psrldq xmm1, 8
movd eax, xmm1
shl esi, 5
push 0x420728
add esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
call fcn.00402140
cmp dword [eax], esi
je 0x405dee
push 0x420750
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.00402140
cmp dword [eax], esi
je 0x405dee
push 8
call fcn.00407a61
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x54]
mov dword [eax], 0
mov dword [eax + 4], 0
push 0x420728
mov dword [edi + 0x3c], eax
call fcn.00402190
mov esi, eax
mov dword [ebp - 0x40], eax
mov eax, 0x1000
test word [esi + 0xe], ax
jne 0x405d3d
mov esi, dword [esi + 8]
mov dword [ebp - 0x40], esi
push 0x420750
lea ecx, [ebp - 0x54]
call fcn.00402190
mov ecx, 0x1000
mov dword [ebp + 8], eax
test word [eax + 0xe], cx
jne 0x405d5e
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
xor eax, eax
cmp byte [esi], al
je 0x405d6b
inc eax
cmp byte [eax + esi], 0
jne 0x405d64
lea esi, [eax + 1]
push esi
call fcn.00407a9f
mov edx, dword [edi + 0x3c]
add esp, 4
mov ecx, esi
mov dword [edx], eax
xor al, al
mov edi, dword [edi + 0x3c]
mov edi, dword [edi]
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x405d92
mov eax, dword [ebp + 8]
xor esi, esi
cmp byte [eax], 0
je 0x405db7
nop word [eax + eax]
inc esi
cmp byte [eax + esi], 0
jne 0x405db0
inc esi
push esi
call fcn.00407a9f
mov edx, dword [edi + 0x3c]
add esp, 4
mov ecx, esi
mov dword [edx + 4], eax
xor al, al
mov edi, dword [edi + 0x3c]
mov edi, dword [edi + 4]
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax + 4]
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x405de0
nop
lea ecx, [ebp - 0x8c]
call fcn.00401ef0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4