Function at 0x1000543b
Capabilities:
Access peb ldr_data
Encode data using xor
Get process heap force flags

Disassembly:
push ebp
lea ebp, [esp - 0x274]
sub esp, 0x274
push 0xffffffffffffffff
push 0x1000db2b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1001500c]
xor eax, ebp
mov dword [ebp + 0x270], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x2c
lea eax, [ebp + 4]
mov dword [ebp - 4], ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp + 4]
call fcn.10002a93
push esi
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp + 0x27c]
mov ecx, esp
push eax
call fcn.10008e0b
lea ecx, [ebp + 4]
call fcn.10002b5b
test al, al
je 0x100054f7
xor eax, eax
lea edi, [ebp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x4c], ebx
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 4]
call fcn.10002d57
test al, al
jne 0x1000552d
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x100054f7
mov edx, dword [ebp + 0x58]
sub edx, ecx
call fcn.1000a666
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
lea ecx, [ebp + 4]
call fcn.10005b8f
lea ecx, [ebp + 0x27c]
call fcn.10008d7b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x270]
xor ecx, ebp
call fcn.1000c333
add ebp, 0x274
leave
ret
mov eax, dword [ebp + 0x54]
mov edx, dword [ebp + 0x50]
sub eax, edx
mov ecx, dword [ebp + 0x4c]
cmp eax, ecx
jbe 0x10005b89
mov bl, byte [ecx + edx]
inc ecx
mov byte [ebp - 0x25], bl
mov dword [ebp + 0x4c], ecx
cmp eax, ecx
jbe 0x10005b89
mov al, byte [ecx + edx]
lea edi, [ebp + 0x5c]
mov byte [ebp - 0x44], al
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [ebp + 0x4c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x5c], ebx
push str.error
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 3
call fcn.10008dd4
mov byte [ebp - 4], 4
mov eax, dword fs:[0x18]
mov dword [ebp], ebx
push 0x51
pop ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, ebx
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x54], cl
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x4c], 0x7e7e6b12
mov byte [ebp - 0x48], cl
xor byte [ebp + eax - 0x4c], cl
inc eax
cmp eax, dword [ebp - 0x50]
jae 0x100055ce
mov cl, byte [ebp - 0x54]
jmp 0x100055bf
push 2
mov eax, 0x4e5e7cf7
mov dword [ebp - 0x18], ebx
pop edi
mov dword [ebp - 0x20], eax
mov ecx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0x4e5e7ccb
mov dword [ebp - 0x10], 0x5328a69f
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x100055fe
mov eax, dword [ebp - 0x20]
jmp 0x100055ef
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov eax, dword [ebp + eax*4 - 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x5cbcf997
mov edx, dword [esi + eax]
mov eax, 0x5cbcf9ef
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x61872397
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x10005635
mov eax, dword [ebp - 0x20]
jmp 0x10005626
mov eax, dword [ebp - 0x18]
mov ecx, ebx
push 2
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x6b1b76c7
mov dword [ebp - 0x10], 0x6fe5a08f
mov edi, dword [eax + edx]
mov eax, 0x6b1b76e7
add edi, esi
mov dword [ebp - 0x20], eax
pop edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], edx
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x10005676
mov eax, dword [ebp - 0x20]
jmp 0x10005667
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], 0x7979f3c3
mov ebx, dword [eax + edi]
mov eax, 0x7979f3df
add ebx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], ebx
xor ecx, ecx
mov dword [ebp - 0x10], 0x7e441d87
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x100056b3
mov eax, dword [ebp - 0x20]
jmp 0x100056a4
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], 0x47d870f2
mov edx, dword [eax + edi]
mov eax, 0x47d870d6
add edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], edx
xor ecx, ecx
mov dword [ebp - 0x10], 0x4ca29a7e
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x100056f4
mov eax, dword [ebp - 0x20]
jmp 0x100056e5
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
mov eax, dword [eax + edi]
add eax, esi
mov dword [ebp - 0x3c], eax
test ebx, ebx
je 0x100057b7
test edx, edx
je 0x100057b7
test eax, eax
je 0x100057b7
xor edx, edx
and dword [ebp - 0x18], 0
mov eax, 0x5636edce
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], 0x5636edd6
mov dword [ebp - 0x10], 0x5b011776
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x1000574f
mov eax, dword [ebp - 0x20]
jmp 0x10005740
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
cmp edx, dword [eax + edi]
jae 0x100057b7
mov edi, dword [ebx + edx*4]
add edi, esi
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005765
sub ecx, ebx
push 0x1d
pop ebx
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10005798
mov esi, eax
movsx eax, byte [ecx + edi]
xor eax, ebx
imul ebx, eax, 5
inc ecx
cmp ecx, esi
jb 0x1000577f
mov esi, dword [ebp - 0x2c]
cmp ebx, 0xa9d3be22
je 0x100057a4
mov ebx, dword [ebp - 0x34]
inc edx
mov edi, dword [ebp - 0x38]
jmp 0x1000571d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, esi
xor edx, edx
jmp 0x100057bb
xor edx, edx
mov eax, edx
push edx
push edx
push edx
push edx
lea ecx, [ebp]
push ecx
push edx
push edx
lea ecx, [ebp - 0x4c]
push ecx
call eax
test al, al
je 0x10005814
mov edx, dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.10002558
mov ebx, eax
lea eax, [ebp + 0x30]
cmp eax, ebx
je 0x1000580c
mov edx, dword [ebp + 0x44]
cmp edx, 0x10
jb 0x100057f4
mov ecx, dword [ebp + 0x30]
inc edx
call fcn.1000a666
push 6
pop ecx
mov esi, ebx
lea edi, [ebp + 0x30]
rep movsd dword es:[edi], dword [esi]
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
lea ecx, [ebp - 0x24]
call fcn.10008d7b
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.10008e0b
mov byte [ebp - 4], 5
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp + 0x5c]
push dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.100029e2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.10008d7b
mov eax, dword fs:[0x18]
mov ecx, 0x4e5e7cf7
and dword [ebp - 0x18], 0
mov dword [ebp + 0x48], 0x100
push 2
mov eax, dword [eax + 0x30]
pop edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], 0x4e5e7ccb
mov dword [ebp - 0x10], 0x5328a69f
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov ebx, dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x34], ebx
xor dword [ebp + eax*4 - 0x14], ecx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x10005898
mov ecx, dword [ebp - 0x20]
jmp 0x10005889
mov eax, dword [ebp - 0x18]
mov edx, 0x5cbcf9ef
mov eax, dword [ebp + eax*4 - 0x14]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax + ebx]
xor eax, eax
mov dword [ebp - 0x14], 0x5cbcf997
mov dword [ebp - 0x10], 0x61872397
xor dword [ebp + eax*4 - 0x14], edx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x100058d0
mov edx, dword [ebp - 0x20]
jmp 0x100058c1
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
and dword [ebp - 0x18], 0
add eax, ecx
mov ecx, 0x6b1b76e7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0x6b1b76c7
mov edx, dword [eax + ebx]
add edx, ebx
mov dword [ebp - 0x10], 0x6fe5a08f
mov dword [ebp - 0x40], edx
xor eax, eax
xor dword [ebp + eax*4 - 0x14], ecx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x1000590f
mov ecx, dword [ebp - 0x20]
jmp 0x10005900
mov eax, dword [ebp - 0x18]
mov ecx, 0x7979f3df
mov eax, dword [ebp + eax*4 - 0x14]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + edx]
add esi, ebx
mov dword [ebp - 0x14], 0x7979f3c3
mov dword [ebp - 0x58], esi
xor eax, eax
mov dword [ebp - 0x10], 0x7e441d87
xor dword [ebp + eax*4 - 0x14], ecx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x1000594c
mov ecx, dword [ebp - 0x20]
jmp 0x1000593d
mov eax, dword [ebp - 0x18]
mov edi, 0x47d870d6
mov eax, dword [ebp + eax*4 - 0x14]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 2
mov ecx, dword [eax + edx]
add ecx, ebx
mov dword [ebp - 0x14], 0x47d870f2
mov dword [ebp + 0x6c], ecx
xor eax, eax
mov dword [ebp - 0x10], 0x4ca29a7e
xor dword [ebp + eax*4 - 0x14], edi
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x1000598d
mov edi, dword [ebp - 0x20]
jmp 0x1000597e
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
mov edi, dword [eax + edx]
add edi, ebx
mov dword [ebp - 0x38], edi
test esi, esi
je 0x10005a5d
test ecx, ecx
je 0x10005a5d
test edi, edi
je 0x10005a5d
xor edx, edx
and dword [ebp - 0x18], 0
mov eax, 0x5636edce
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], 0x5636edd6
mov dword [ebp - 0x10], 0x5b011776
xor dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, dword [ebp - 0x1c]
jae 0x100059e8
mov eax, dword [ebp - 0x20]
jmp 0x100059d9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x14]
cmp edx, dword [eax + ecx]
jae 0x10005a5d
mov esi, dword [esi + edx*4]
add esi, ebx
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005a04
sub ecx, dword [ebp - 0x3c]
push 0x1d
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x30], eax
pop eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], ecx
jbe 0x10005a46
mov ebx, dword [ebp - 0x30]
mov edi, eax
movsx eax, byte [ecx + esi]
xor eax, edi
imul edi, eax, 5
inc ecx
cmp ecx, ebx
jb 0x10005a26
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x2c], 0x70dc5270
mov edi, dword [ebp - 0x38]
je 0x10005a4f
mov esi, dword [ebp - 0x58]
inc edx
jmp 0x100059b6
movzx eax, word [edi + edx*2]
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx + eax*4]
add eax, ebx
jmp 0x10005a5f
xor eax, eax
lea ecx, [ebp + 0x48]
push ecx
lea ecx, [ebp + 0x70]
push ecx
call eax
sub esp, 0x18
lea eax, [ebp + 0x70]
mov ecx, esp
push eax
call fcn.10008b4e
lea ecx, [ebp + 0x5c]
call fcn.10002a5b
push str.github
lea ecx, [ebp - 0x24]
call fcn.10008dd4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp + 0x5c]
push dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.100029e2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.10008d7b
mov eax, dword [ebp + 0x64]
xor esi, esi
mov dword [ebp + 0x6c], 1
mov cl, byte [ebp + esi + 0x6c]
mov byte [ebp - 0x26], cl
cmp eax, dword [ebp + 0x68]
je 0x10005ad6
mov byte [eax], cl
mov eax, dword [ebp + 0x64]
inc eax
mov dword [ebp + 0x64], eax
jmp 0x10005ae6
lea ecx, [ebp - 0x26]
push ecx
push eax
lea ecx, [ebp + 0x60]
call fcn.1000b294
mov eax, dword [ebp + 0x64]
inc esi
cmp esi, 4
jb 0x10005abf
mov bl, byte [ebp - 0x25]
test bl, bl
je 0x10005b11
mov byte [ebp - 0x25], 0
cmp eax, dword [ebp + 0x68]
je 0x10005b04
mov byte [eax], 0
inc dword [ebp + 0x64]
jmp 0x10005b11
lea ecx, [ebp - 0x25]
push ecx
push eax
lea ecx, [ebp + 0x60]
call fcn.1000b294
cmp byte [ebp - 0x44], 0
je 0x10005b31
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x6c], ecx
push 0x1000f638
call fcn.10008b4e
lea ecx, [ebp + 0x5c]
call fcn.10002a5b
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 4]
call fcn.10002c3d
push dword [ebp - 0x44]
mov dl, bl
lea ecx, [ebp + 4]
call fcn.10004ae3
pop ecx
lea ecx, [ebp + 0x30]
call fcn.10008d7b
mov ecx, dword [ebp + 0x60]
test ecx, ecx
je 0x10005b6f
mov edx, dword [ebp + 0x68]
sub edx, ecx
call fcn.1000a666
xor eax, eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x100054f7
mov edx, dword [ebp + 0x58]
sub edx, ecx
call fcn.1000a666
jmp 0x100054f7
call fcn.10008faf
int3