Function at 0x10b2fb0
Capabilities:
Encode data using base64
Get file attributes
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x111024c]
mov esi, 0x111024c
cmp eax, esi
je 0x10b2fe9
test byte [eax + 0x1c], 4
je 0x10b2fe9
cmp byte [eax + 0x19], 4
jb 0x10b2fe9
push 0x100b080
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.010aa7d9
mov edx, dword [ebp + 0x24]
xor edi, edi
cmp edx, 0x1fd
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
jl 0x10b3056
jg 0x10b301f
cmp dword [ebp + 0x20], 0xffe00000
jbe 0x10b3056
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10b304f
test byte [eax + 0x1c], 4
je 0x10b304f
cmp byte [eax + 0x19], 2
jb 0x10b304f
push dword [ebp + 0x20]
mov ecx, edx
push edx
push 0x100b080
push 0x35
push dword [eax + 0x14]
sar ecx, 0x1f
push dword [eax + 0x10]
call fcn.01083f04
push 0x19
jmp 0x10b399b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x10], eax
or eax, ecx
mov dword [ebx + 0x14], ecx
je 0x10b306c
cmp byte [ebp + 0x1c], 0
jne 0x10b3077
or dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], 0x7fffffff
mov ecx, dword [0x111024c]
mov eax, dword [ebp + 0xc]
cmp ecx, esi
je 0x10b30dc
test byte [ecx + 0x1c], 4
je 0x10b30dc
cmp byte [ecx + 0x19], 4
jb 0x10b30dc
push dword [ebp + 8]
movzx edx, byte [eax + 0xf]
push edx
movzx edx, byte [eax + 0xe]
push edx
movzx edx, byte [eax + 0xd]
push edx
movzx edx, byte [eax + 0xc]
push edx
movzx edx, byte [eax + 0xb]
push edx
movzx edx, byte [eax + 0xa]
push edx
movzx edx, byte [eax + 9]
push edx
movzx edx, byte [eax + 8]
push edx
movzx edx, word [eax + 6]
push edx
movzx edx, word [eax + 4]
push edx
push dword [eax]
push 0x100b080
push 0x36
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01084f5d
mov edx, dword [ebp + 0x24]
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x34]
lea esi, [ebx + 0x20]
push esi
push 1
mov dword [ebx + 0x110], eax
mov eax, dword [ebp + 0x20]
push edx
push eax
mov ecx, ebx
mov dword [ebx + 0x100], edi
mov dword [ebx + 0x104], edi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov byte [ebx + 0x28], 1
call fcn.010b0205
cmp eax, edi
je 0x10b3124
mov esi, eax
mov ecx, ebx
call fcn.010aa7d9
mov eax, esi
jmp 0x10b399c
cmp dword [esi + 4], 0x1fe
jl 0x10b3138
jg 0x10b3133
cmp dword [esi], edi
jbe 0x10b3138
push 0x19
pop esi
jmp 0x10b3116
mov al, byte [ebp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x10024
push edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov byte [ebx + 0x40], al
mov byte [ebx + 0x41], 0
call esi
push 0x10000
push edi
mov dword [ebx + 0x44], eax
call esi
push 0x10000
push edi
mov dword [ebx + 0x48], eax
call esi
push edi
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x28]
push 0x10000
push dword [ebp + 0x24]
mov dword [ebx + 0x50], edi
mov ecx, dword [eax]
push dword [ebp + 0x20]
mov dword [ebx + 0x54], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x78], edi
call fcn.01103160
mov dword [ebx + 0x7c], eax
cmp eax, edi
jne 0x10b31a8
mov dword [ebx + 0x7c], 0x10000
mov cl, byte [ebp + 0x30]
mov byte [ebx + 0xe8], cl
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b31e8
test byte [eax + 0x1c], 4
je 0x10b31e8
cmp byte [eax + 0x19], 4
jb 0x10b31e8
push dword [ebx + 0x7c]
movzx ecx, cl
push ecx
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push 0x100b080
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba64
cmp byte [ebx + 0x40], 0
mov dword [ebx + 0x84], 0x600
je 0x10b3211
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
add eax, 0x107f
shr eax, 0xc
add eax, 3
shl eax, 9
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
push edi
add eax, 0x1fffff
push 0x200000
adc ecx, edi
push ecx
push eax
call fcn.01103080
mov edx, dword [ebx + 0x84]
lea ecx, [eax*4 + 0x1ff]
shr ecx, 9
shr edx, 9
push 0x10200
lea ecx, [ecx + edx + 1]
push edi
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x90], 0
call esi
push eax
mov dword [ebx + 0x94], eax
call fcn.0109cc1a
push edi
push edi
push 1
push edi
mov dword [ebx + 0x98], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0xac], eax
cmp eax, edi
jne 0x10b3296
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
push 7
jmp 0x10b3135
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b32d2
test byte [eax + 0x1c], 4
je 0x10b32d2
cmp byte [eax + 0x19], 4
jb 0x10b32d2
push dword [ebx + 0x88]
push dword [ebx + 0x8c]
push dword [ebx + 0x84]
push 0x100b080
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01065870
push edi
push 0x10aa62b
push edi
push 0x10000
call fcn.010b7910
mov dword [ebx + 0xd0], eax
cmp eax, edi
jne 0x10b32ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
push 3
jmp 0x10b3135
mov esi, dword [ebp + 0xc]
xor edx, edx
mov dword [ebx + 0xd4], edx
lea edi, [ebx + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x44], edx
je 0x10b3987
cmp dword [ebx + 0x48], edx
je 0x10b3987
cmp dword [ebx + 0x4c], edx
je 0x10b3987
cmp dword [ebx + 0x94], edx
je 0x10b3987
mov eax, dword [ebp + 8]
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, dx
jne 0x10b3341
sub eax, esi
sar eax, 1
lea esi, [eax + 1]
lea eax, [esi + esi]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx + 4], eax
cmp eax, edi
jne 0x10b336d
push 8
jmp 0x10b399b
push dword [ebp + 8]
push esi
push eax
call fcn.010a06c8
cmp eax, edi
jge 0x10b338a
mov ecx, dword [ebp + 0x4c]
movzx eax, ax
mov dword [ecx], eax
push 8
jmp 0x10b3135
cmp byte [ebp + 0x1c], 0
je 0x10b3408
push edi
push 0x60000080
push 2
push edi
push edi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x10b33fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b328f
test byte [ecx + 0x1c], 4
je 0x10b328f
cmp byte [ecx + 0x19], 2
jb 0x10b328f
push eax
push edi
push dword [ebp + 8]
push 0x100b080
push 0x39
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019c0f
jmp 0x10b328f
mov esi, dword [ebp + 0x4c]
mov byte [ebp + 0xc], 0
jmp 0x10b36a6
mov esi, dword [ebp + 0x4c]
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x24]
mov ecx, ebx
push dword [ebp + 0x20]
push dword [ebp + 8]
call fcn.010b132f
mov dword [ebp + 0x30], eax
cmp eax, edi
je 0x10b346d
mov ecx, ebx
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3465
test byte [eax + 0x1c], 4
je 0x10b3465
cmp byte [eax + 0x19], 2
jb 0x10b3465
push dword [esi]
push dword [ebp + 0x30]
push 0x100b080
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
mov eax, dword [ebp + 0x30]
jmp 0x10b399c
push edi
push edi
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x10b349b
mov dword [esi], 0x7b
cmp byte [ebp + 0xc], al
je 0x10b3494
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 2
jmp 0x10b3135
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
push edi
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp + 0xc]
push 0x48
push 3
push edi
neg eax
push 0x80
sbb eax, eax
lea ecx, [ebp - 0x2c]
and eax, ecx
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0xc0100080
push ebx
mov dword [ebp - 0x54], 0x18
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call dword [sym.imp.ntdll.dll_NtCreateFile]
push dword [ebp - 0x30]
mov dword [ebp + 0x30], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp + 0x30], edi
jge 0x10b3566
cmp byte [ebp + 0xc], 0
mov dword [ebx], edi
je 0x10b3521
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x30]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, ebx
mov dword [esi], eax
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b355f
test byte [eax + 0x1c], 4
je 0x10b355f
cmp byte [eax + 0x19], 2
jb 0x10b355f
push dword [esi]
push 0x100b080
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
push 7
jmp 0x10b399b
push 4
push 0x28
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebx]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, edi
jge 0x10b35f2
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi], eax
mov ecx, dword [0x111024c]
mov edi, 0x111024c
cmp ecx, edi
je 0x10b35b5
test byte [ecx + 0x1c], 4
je 0x10b35b5
cmp byte [ecx + 0x19], 2
jb 0x10b35b5
push eax
push 0x100b080
push 0x3c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
cmp byte [ebp + 0xc], 0
je 0x10b35c4
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, ebx
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10b355f
test byte [eax + 0x1c], 4
je 0x10b355f
cmp byte [eax + 0x19], 2
jb 0x10b355f
push dword [esi]
push 0x100b080
push 0x3d
jmp 0x10b3554
test dword [ebp - 0x5c], 0x800
je 0x10b36a6
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b362c
test byte [eax + 0x1c], 4
je 0x10b362c
cmp byte [eax + 0x19], 4
jb 0x10b362c
push dword [ebp + 8]
push 0x100b080
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
push dword [ebx]
mov ecx, ebx
call fcn.010aa9c1
mov dword [esi], eax
cmp eax, edi
je 0x10b3679
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b328f
test byte [ecx + 0x1c], 4
je 0x10b328f
cmp byte [ecx + 0x19], 2
jb 0x10b328f
push eax
push 0x100b080
push 0x3f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
jmp 0x10b328f
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b36d5
test byte [eax + 0x1c], 4
je 0x10b36ab
cmp byte [eax + 0x19], 4
jb 0x10b36ab
push dword [ebp + 8]
push 0x100b080
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b36d5
test byte [eax + 0x1c], 4
je 0x10b36d5
cmp byte [eax + 0x19], 4
jb 0x10b36d5
push dword [ebx]
push dword [ebp + 8]
push 0x100b080
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0x34]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 0x2c]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.010aeec0
cmp byte [ebp + 0xc], 0
mov dword [ebp + 0x30], eax
je 0x10b371f
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 0x30], edi
je 0x10b3760
mov ecx, ebx
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3465
test byte [eax + 0x1c], 4
je 0x10b3465
cmp byte [eax + 0x19], 2
jb 0x10b3465
push dword [esi]
push dword [ebp + 0x30]
push 0x100b080
push 0x42
jmp 0x10b345a
mov eax, dword [ebp + 0x28]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x38]
mov dword [ebx + 0x74], esi
mov esi, dword [ebx]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x64], eax
mov dword [edi], esi
mov esi, dword [ebp + 0x3c]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x28]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x48]
mov dword [ecx], eax
mov ecx, 0x200200
mul ecx
mov esi, eax
xor eax, eax
add esi, dword [ebp - 4]
mov edi, edx
adc edi, eax
add esi, 0x200
adc edi, eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b37ee
test byte [eax + 0x1c], 4
je 0x10b37ee
cmp byte [eax + 0x19], 4
jb 0x10b37ee
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push esi
push 0x100b080
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010aa539
cmp byte [ebp + 0x1c], 0
je 0x10b3808
cmp edi, dword [ebp + 0x18]
jl 0x10b3820
jg 0x10b3800
cmp esi, dword [ebp + 0x14]
jbe 0x10b3820
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
jmp 0x10b3820
cmp byte [ebp + 0xc], 0
je 0x10b3820
cmp edi, dword [ebp - 0x20]
jg 0x10b3820
jl 0x10b381a
cmp esi, dword [ebp - 0x24]
jae 0x10b3820
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
cmp byte [ebp + 0x1c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xf8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0xf0], esi
mov dword [ebx + 0xf4], edi
jne 0x10b38eb
push edi
push esi
mov ecx, ebx
call fcn.010acf15
test eax, eax
jne 0x10b3899
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 0x4c]
mov ecx, ebx
mov dword [esi], eax
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b355f
test byte [eax + 0x1c], 4
je 0x10b355f
cmp byte [eax + 0x19], 2
jb 0x10b355f
push dword [esi]
push 0x100b080
push 0x44
jmp 0x10b3554
cmp byte [ebp + 0x10], 0
jne 0x10b38eb
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
test eax, eax
jne 0x10b38eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b328f
test byte [ecx + 0x1c], 4
je 0x10b328f
cmp byte [ecx + 0x19], 2
jb 0x10b328f
push eax
push 0x100b080
push 0x45
jmp 0x10b3669
mov edi, dword [ebp + 0x4c]
push edi
push dword [ebp - 4]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.010af40c
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp + 0x30], eax
call esi
cmp dword [ebp + 0x30], 0
je 0x10b3959
mov ecx, ebx
call fcn.010aa7d9
push dword [ebp + 0x28]
call esi
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3465
test byte [eax + 0x1c], 4
je 0x10b3465
cmp byte [eax + 0x19], 2
jb 0x10b3465
push dword [edi]
push 0x100b080
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
jmp 0x10b3465
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3983
test byte [eax + 0x1c], 4
je 0x10b3983
cmp byte [eax + 0x19], 4
jb 0x10b3983
push 0x100b080
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor eax, eax
jmp 0x10b399c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, ebx
call fcn.010aa7d9
push 3
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x48