Function at 0x100090a4
Capabilities:
Read file via mapping

Disassembly:
push 0x98
mov eax, 0x100bcbd2
call fcn.1008bbf4
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], edi
push 0x54
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edi
call fcn.1008b26a
mov ebx, eax
mov dword [ebp - 0x18], ebx
push 0x54
push edi
push ebx
mov dword [ebp - 4], edi
call fcn.1008e420
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.100028e1
push 0x100d2cac
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.100028b0
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
push 0x100ec1f0
mov dword [ebp - 0x38], 1
call fcn.100028b0
mov esi, eax
push 3
pop eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
push 0x100ec1f4
mov dword [ebp - 0x38], eax
call fcn.100028b0
push 7
pop ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x38], ecx
push edi
push esi
mov dword [ebp - 4], ecx
mov ecx, ebx
push eax
call fcn.1000212a
mov esi, eax
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 8]
cmp esi, ecx
je 0x1000915f
test ecx, ecx
je 0x1000915f
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [ebx + 8], esi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.10001f43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
push edi
push 1
call fcn.10001f43
cmp dword [ebx + 0xc], edi
jne 0x100092c1
push str.C0F87C1E_7FD0_4b43_99BD_C6386C56F41E
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100092c1
push 0x20a
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100092b1
cmp word [esi + 0x208], di
jne 0x100092b1
push 0x54
call fcn.1008b26a
mov ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x54
push edi
push ebx
mov dword [ebp - 4], 0xb
call fcn.1008e420
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push esi
call fcn.100028b0
push 0x100d2cac
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.100028b0
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
push 0x100ec1f0
mov dword [ebp - 0x38], 8
call fcn.100028b0
mov esi, eax
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
push 0x100ec1f4
mov dword [ebp - 0x38], 0x18
call fcn.100028b0
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x38], 0x38
push edi
push esi
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x12
call fcn.1000212a
mov esi, eax
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
je 0x10009281
test ecx, ecx
je 0x10009281
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [ebx + 0xc], esi
push edi
push 1
lea ecx, [ebp - 0x8c]
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.10001f43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f43
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.haschild
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], edi
call fcn.100028b0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0x16
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b472
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f43
cmp dword [ebp - 0x38], 1
jne 0x1000931b
lea ecx, [ebx - 4]
call fcn.1000959c
mov esi, dword [ebp - 0x3c]
test eax, eax
mov ecx, 0x80070057
cmove esi, ecx
jmp 0x1000931e
mov esi, dword [ebp - 0x3c]
push 0x100ec264
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], edi
call fcn.100028b0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x17
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b472
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f43
cmp dword [ebp - 0x38], 1
jne 0x10009592
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
call fcn.10009c3d
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jle 0x10009412
push 0x100d1a34
push str.appendargs
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 4]
call fcn.1000a03a
mov edi, str.pin
mov byte [ebp - 4], 0x19
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1000574b
push dword [ebp - 0x18]
call fcn.10001a38
pop ecx
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
call fcn.1000574b
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push str.appendargs
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], eax
call fcn.100028b0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b532
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
call fcn.10001f43
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
call fcn.10009977
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jle 0x100094bf
push 0x100d1a34
push str.appendargs
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 4]
call fcn.1000a03a
mov edi, str.Smbproxy
mov byte [ebp - 4], 0x1c
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1000574b
push dword [ebp - 0x14]
call fcn.10001a38
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.1000574b
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push str.appendargs
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], eax
call fcn.100028b0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b532
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
call fcn.10001f43
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push eax
call fcn.10009acc
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jle 0x10009574
push 0x100d1a34
push str.appendargs
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 4]
call fcn.1000a03a
mov edi, str.autoname
mov byte [ebp - 4], 0x1f
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1000574b
push dword [ebp - 0x1c]
call fcn.10001a38
pop ecx
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.1000574b
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push str.appendargs
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x3c], eax
call fcn.100028b0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1000b532
xor edi, edi
lea ecx, [ebp - 0xa4]
push edi
push 1
call fcn.10001f43
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.10001f43
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x10]
call fcn.100018e3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100018e3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.100018e3
mov eax, esi
call fcn.1008bb9e
ret 8