Function at 0x100090c4
Capabilities:
Read file via mapping

Disassembly:
push 0x98
mov eax, 0x100bc432
call fcn.1008b481
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.1008aaf7
mov ebx, eax
mov dword [ebp - 0x18], ebx
push 0x54
push edi
push ebx
mov dword [ebp - 4], edi
call fcn.1008dc90
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.100028f1
push 0x100d1ccc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.100028c0
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
push 0x100eb1a8
mov dword [ebp - 0x38], 1
call fcn.100028c0
mov esi, eax
push 3
pop eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
push 0x100eb1ac
mov dword [ebp - 0x38], eax
call fcn.100028c0
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.1000213a
mov esi, eax
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 8]
cmp esi, ecx
je 0x1000917f
test ecx, ecx
je 0x1000917f
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.10001f53
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.10001f53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
push edi
push 1
call fcn.10001f53
cmp dword [ebx + 0xc], edi
jne 0x100092e1
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 0x100092e1
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 0x100092d1
cmp word [esi + 0x208], di
jne 0x100092d1
push 0x54
call fcn.1008aaf7
mov ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x54
push edi
push ebx
mov dword [ebp - 4], 0xb
call fcn.1008dc90
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push esi
call fcn.100028c0
push 0x100d1ccc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.100028c0
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
push 0x100eb1a8
mov dword [ebp - 0x38], 8
call fcn.100028c0
mov esi, eax
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
push 0x100eb1ac
mov dword [ebp - 0x38], 0x18
call fcn.100028c0
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.1000213a
mov esi, eax
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
je 0x100092a1
test ecx, ecx
je 0x100092a1
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.10001f53
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.10001f53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f53
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.100028c0
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.1000b4d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f53
cmp dword [ebp - 0x38], 1
jne 0x1000933b
lea ecx, [ebx - 4]
call fcn.100095bc
mov esi, dword [ebp - 0x3c]
test eax, eax
mov ecx, 0x80070057
cmove esi, ecx
jmp 0x1000933e
mov esi, dword [ebp - 0x3c]
push 0x100eb21c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], edi
call fcn.100028c0
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.1000b4d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f53
cmp dword [ebp - 0x38], 1
jne 0x100095b2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
call fcn.10009c5d
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jle 0x10009432
push 0x100d0a54
push str.appendargs
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 4]
call fcn.1000a09a
mov edi, str.pin
mov byte [ebp - 4], 0x19
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10005760
push dword [ebp - 0x18]
call fcn.10001a48
pop ecx
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
call fcn.10005760
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.100028c0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b592
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f53
push edi
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
call fcn.10001f53
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
call fcn.10009997
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jle 0x100094df
push 0x100d0a54
push str.appendargs
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 4]
call fcn.1000a09a
mov edi, str.Smbproxy
mov byte [ebp - 4], 0x1c
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10005760
push dword [ebp - 0x14]
call fcn.10001a48
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.10005760
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.100028c0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b592
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001f53
push edi
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
call fcn.10001f53
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push eax
call fcn.10009aec
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jle 0x10009594
push 0x100d0a54
push str.appendargs
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 4]
call fcn.1000a09a
mov edi, str.autoname
mov byte [ebp - 4], 0x1f
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10005760
push dword [ebp - 0x1c]
call fcn.10001a48
pop ecx
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.10005760
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.100028c0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
mov ecx, dword [ebx + 8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1000b592
xor edi, edi
lea ecx, [ebp - 0xa4]
push edi
push 1
call fcn.10001f53
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.10001f53
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x10]
call fcn.100018f3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100018f3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.100018f3
mov eax, esi
call fcn.1008b42b
ret 8