Function at 0x10b30f1
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 [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x10b312a
test byte [eax + 0x1c], 4
je 0x10b312a
cmp byte [eax + 0x19], 4
jb 0x10b312a
push 0x100b070
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
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.010aa918
mov edx, dword [ebp + 0x24]
xor edi, edi
cmp edx, 0x1fd
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
jl 0x10b3197
jg 0x10b3160
cmp dword [ebp + 0x20], 0xffe00000
jbe 0x10b3197
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10b3190
test byte [eax + 0x1c], 4
je 0x10b3190
cmp byte [eax + 0x19], 2
jb 0x10b3190
push dword [ebp + 0x20]
mov ecx, edx
push edx
push 0x100b070
push 0x35
push dword [eax + 0x14]
sar ecx, 0x1f
push dword [eax + 0x10]
call fcn.0109ba57
push 0x19
jmp 0x10b3adc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x10], eax
or eax, ecx
mov dword [ebx + 0x14], ecx
je 0x10b31ad
cmp byte [ebp + 0x1c], 0
jne 0x10b31b8
or dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], 0x7fffffff
mov ecx, dword [0x111124c]
mov eax, dword [ebp + 0xc]
cmp ecx, esi
je 0x10b321d
test byte [ecx + 0x1c], 4
je 0x10b321d
cmp byte [ecx + 0x19], 4
jb 0x10b321d
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 0x100b070
push 0x36
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01084f9a
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.010b0346
cmp eax, edi
je 0x10b3265
mov esi, eax
mov ecx, ebx
call fcn.010aa918
mov eax, esi
jmp 0x10b3add
cmp dword [esi + 4], 0x1fe
jl 0x10b3279
jg 0x10b3274
cmp dword [esi], edi
jbe 0x10b3279
push 0x19
pop esi
jmp 0x10b3257
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.01103340
mov dword [ebx + 0x7c], eax
cmp eax, edi
jne 0x10b32e9
mov dword [ebx + 0x7c], 0x10000
mov cl, byte [ebp + 0x30]
mov byte [ebx + 0xe8], cl
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3329
test byte [eax + 0x1c], 4
je 0x10b3329
cmp byte [eax + 0x19], 4
jb 0x10b3329
push dword [ebx + 0x7c]
movzx ecx, cl
push ecx
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push 0x100b070
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109bb75
cmp byte [ebx + 0x40], 0
mov dword [ebx + 0x84], 0x600
je 0x10b3352
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.01103260
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.0109cd2b
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 0x10b33d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
push 7
jmp 0x10b3276
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3413
test byte [eax + 0x1c], 4
je 0x10b3413
cmp byte [eax + 0x19], 4
jb 0x10b3413
push dword [ebx + 0x88]
push dword [ebx + 0x8c]
push dword [ebx + 0x84]
push 0x100b070
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109bb0b
push edi
push 0x10aa76a
push edi
push 0x10000
call fcn.010b7ac0
mov dword [ebx + 0xd0], eax
cmp eax, edi
jne 0x10b3440
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
push 3
jmp 0x10b3276
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 0x10b3ac8
cmp dword [ebx + 0x48], edx
je 0x10b3ac8
cmp dword [ebx + 0x4c], edx
je 0x10b3ac8
cmp dword [ebx + 0x94], edx
je 0x10b3ac8
mov eax, dword [ebp + 8]
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, dx
jne 0x10b3482
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 0x10b34ae
push 8
jmp 0x10b3adc
push dword [ebp + 8]
push esi
push eax
call fcn.010a07da
cmp eax, edi
jge 0x10b34cb
mov ecx, dword [ebp + 0x4c]
movzx eax, ax
mov dword [ecx], eax
push 8
jmp 0x10b3276
cmp byte [ebp + 0x1c], 0
je 0x10b3549
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 0x10b353d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b33d0
test byte [ecx + 0x1c], 4
je 0x10b33d0
cmp byte [ecx + 0x19], 2
jb 0x10b33d0
push eax
push edi
push dword [ebp + 8]
push 0x100b070
push 0x39
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0109b90b
jmp 0x10b33d0
mov esi, dword [ebp + 0x4c]
mov byte [ebp + 0xc], 0
jmp 0x10b37e7
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.010b1470
mov dword [ebp + 0x30], eax
cmp eax, edi
je 0x10b35ae
mov ecx, ebx
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b35a6
test byte [eax + 0x1c], 4
je 0x10b35a6
cmp byte [eax + 0x19], 2
jb 0x10b35a6
push dword [esi]
push dword [ebp + 0x30]
push 0x100b070
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov eax, dword [ebp + 0x30]
jmp 0x10b3add
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 0x10b35dc
mov dword [esi], 0x7b
cmp byte [ebp + 0xc], al
je 0x10b35d5
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 2
jmp 0x10b3276
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 0x10b36a7
cmp byte [ebp + 0xc], 0
mov dword [ebx], edi
je 0x10b3662
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.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b36a0
test byte [eax + 0x1c], 4
je 0x10b36a0
cmp byte [eax + 0x19], 2
jb 0x10b36a0
push dword [esi]
push 0x100b070
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
push 7
jmp 0x10b3adc
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 0x10b3733
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi], eax
mov ecx, dword [0x111124c]
mov edi, 0x111124c
cmp ecx, edi
je 0x10b36f6
test byte [ecx + 0x1c], 4
je 0x10b36f6
cmp byte [ecx + 0x19], 2
jb 0x10b36f6
push eax
push 0x100b070
push 0x3c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
cmp byte [ebp + 0xc], 0
je 0x10b3705
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, ebx
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, edi
je 0x10b36a0
test byte [eax + 0x1c], 4
je 0x10b36a0
cmp byte [eax + 0x19], 2
jb 0x10b36a0
push dword [esi]
push 0x100b070
push 0x3d
jmp 0x10b3695
test dword [ebp - 0x5c], 0x800
je 0x10b37e7
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b376d
test byte [eax + 0x1c], 4
je 0x10b376d
cmp byte [eax + 0x19], 4
jb 0x10b376d
push dword [ebp + 8]
push 0x100b070
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
push dword [ebx]
mov ecx, ebx
call fcn.010aab00
mov dword [esi], eax
cmp eax, edi
je 0x10b37ba
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b33d0
test byte [ecx + 0x1c], 4
je 0x10b33d0
cmp byte [ecx + 0x19], 2
jb 0x10b33d0
push eax
push 0x100b070
push 0x3f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
jmp 0x10b33d0
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3816
test byte [eax + 0x1c], 4
je 0x10b37ec
cmp byte [eax + 0x19], 4
jb 0x10b37ec
push dword [ebp + 8]
push 0x100b070
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3816
test byte [eax + 0x1c], 4
je 0x10b3816
cmp byte [eax + 0x19], 4
jb 0x10b3816
push dword [ebx]
push dword [ebp + 8]
push 0x100b070
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
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.010aefff
cmp byte [ebp + 0xc], 0
mov dword [ebp + 0x30], eax
je 0x10b3860
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 0x30], edi
je 0x10b38a1
mov ecx, ebx
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b35a6
test byte [eax + 0x1c], 4
je 0x10b35a6
cmp byte [eax + 0x19], 2
jb 0x10b35a6
push dword [esi]
push dword [ebp + 0x30]
push 0x100b070
push 0x42
jmp 0x10b359b
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 [0x111124c]
cmp eax, 0x111124c
je 0x10b392f
test byte [eax + 0x1c], 4
je 0x10b392f
cmp byte [eax + 0x19], 4
jb 0x10b392f
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push esi
push 0x100b070
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010aa6b0
cmp byte [ebp + 0x1c], 0
je 0x10b3949
cmp edi, dword [ebp + 0x18]
jl 0x10b3961
jg 0x10b3941
cmp esi, dword [ebp + 0x14]
jbe 0x10b3961
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
jmp 0x10b3961
cmp byte [ebp + 0xc], 0
je 0x10b3961
cmp edi, dword [ebp - 0x20]
jg 0x10b3961
jl 0x10b395b
cmp esi, dword [ebp - 0x24]
jae 0x10b3961
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 0x10b3a2c
push edi
push esi
mov ecx, ebx
call fcn.010ad054
test eax, eax
jne 0x10b39da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 0x4c]
mov ecx, ebx
mov dword [esi], eax
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b36a0
test byte [eax + 0x1c], 4
je 0x10b36a0
cmp byte [eax + 0x19], 2
jb 0x10b36a0
push dword [esi]
push 0x100b070
push 0x44
jmp 0x10b3695
cmp byte [ebp + 0x10], 0
jne 0x10b3a2c
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
test eax, eax
jne 0x10b3a2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b33d0
test byte [ecx + 0x1c], 4
je 0x10b33d0
cmp byte [ecx + 0x19], 2
jb 0x10b33d0
push eax
push 0x100b070
push 0x45
jmp 0x10b37aa
mov edi, dword [ebp + 0x4c]
push edi
push dword [ebp - 4]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.010af54b
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 0x10b3a9a
mov ecx, ebx
call fcn.010aa918
push dword [ebp + 0x28]
call esi
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b35a6
test byte [eax + 0x1c], 4
je 0x10b35a6
cmp byte [eax + 0x19], 2
jb 0x10b35a6
push dword [edi]
push 0x100b070
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x10b35a6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3ac4
test byte [eax + 0x1c], 4
je 0x10b3ac4
cmp byte [eax + 0x19], 4
jb 0x10b3ac4
push 0x100b070
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
xor eax, eax
jmp 0x10b3add
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, ebx
call fcn.010aa918
push 3
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x48