Function at 0x1015bfb
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xca0
mov eax, dword [0x1029c7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xc10], eax
xor eax, eax
push 0x30
mov word [ebp - 0xc54], ax
mov word [ebp - 0xc52], ax
mov word [ebp - 0xc50], ax
mov word [ebp - 0xc4e], ax
mov word [ebp - 0xc4c], ax
mov word [ebp - 0xc4a], ax
mov word [ebp - 0xc48], ax
mov word [ebp - 0xc46], ax
mov word [ebp - 0x7f8], ax
mov word [ebp - 0x200], ax
mov word [ebp - 0x5f8], ax
mov dword [ebp - 0xc24], ebx
mov dword [ebp - 0xc18], ebx
mov dword [ebp - 0xc20], ebx
mov dword [ebp - 0xc14], ebx
mov dword [ebp - 0xc1c], ebx
mov dword [ebp - 0xc3c], ebx
mov dword [ebp - 0xc40], ebx
mov dword [ebp - 0xc44], ebx
mov dword [ebp - 0xc34], ebx
mov dword [ebp - 0xc2c], ebx
mov dword [ebp - 0xc00], ebx
mov dword [ebp - 0xc08], ebx
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xbf8], ebx
mov dword [ebp - 0xc60], ebx
mov dword [ebp - 0xbf4], ebx
mov dword [ebp - 0xbfc], 1
mov dword [ebp - 0xc6c], 0xfe
mov dword [ebp - 0xc04], ebx
mov dword [ebp - 0xc58], ebx
mov dword [ebp - 0xc70], ebx
mov dword [ebp - 0xc38], ebx
mov dword [ebp - 0xc30], ebx
mov dword [ebp - 0xc68], ebx
mov dword [ebp - 0xc64], ebx
mov dword [ebp - 0xc5c], ebx
pop ecx
lea eax, [ebp - 0xca0]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1015d1d
push 0x30
pop eax
mov word [ebp - 0xca0], ax
xor eax, eax
lea edi, [esi + 0x818]
push edi
mov word [ebp - 0xc9e], ax
mov word [ebp - 0xc74], ax
call fcn.0100afcd
test eax, eax
jne 0x1015d8f
push 0xa5
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
push 0xcd
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
push ebx
call fcn.01013159
mov eax, 0x80004005
jmp 0x1016920
push ebx
push edi
call fcn.010181d0
cmp eax, 0xee
jbe 0x1015da4
push 0x8e
jmp 0x1015d6b
lea eax, [esi + 0x11e4]
push ebx
push eax
call fcn.010181d0
cmp eax, 0x106
jbe 0x1015dbf
push 0x96
jmp 0x1015d6b
cmp dword [esi + 0x1bf0], ebx
je 0x1015de3
test byte [esi + 0x1be8], 8
je 0x1015de3
push dword [esi + 8]
call fcn.01005fdd
test eax, eax
je 0x1015de3
push 0xae
jmp 0x1015d6b
test byte [esi + 0x1be8], 0x10
je 0x1015e1e
push ebx
push dword [esi + 0xc]
call fcn.010181d0
test eax, eax
jne 0x1015e1e
push dword [esi + 8]
call fcn.01005fdd
test eax, eax
jne 0x1015e1e
push 0x20a
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
cmp dword [ebp + 0x10], 0xa
jne 0x1015e2e
push 0xc6
jmp 0x1015d6b
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x1015e65
cmp word [eax], bx
je 0x1015e65
push 0xc7
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
mov esi, 0x80004005
push ebx
call fcn.01013159
mov eax, esi
jmp 0x1016920
mov eax, dword [ebp - 0xc10]
cmp dword [eax], ebx
je 0x1015ea5
lea eax, [ebp - 0xc54]
push eax
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetLocalTime]
movzx eax, word [ebp - 0xc4e]
mov dword [ebp - 0xc24], eax
movzx eax, word [ebp - 0xc52]
mov dword [ebp - 0xc18], eax
movzx eax, word [ebp - 0xc54]
mov dword [ebp - 0xc20], eax
jmp 0x1015ed1
push ebx
lea edi, [esi + 0xdec]
push edi
call fcn.010181d0
test eax, eax
jbe 0x1015ed1
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0xc24]
push eax
push edi
call fcn.0100b7e4
push ebx
lea edi, [esi + 0xfe8]
push edi
call fcn.010181d0
test eax, eax
jbe 0x1015eff
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0xc44]
push eax
push edi
call fcn.0100b7e4
jmp 0x1015f26
movzx eax, word [ebp - 0xc24]
mov dword [ebp - 0xc44], eax
movzx eax, word [ebp - 0xc18]
mov dword [ebp - 0xc2c], eax
movzx eax, word [ebp - 0xc20]
mov dword [ebp - 0xc34], eax
mov eax, dword [ebp - 0xc10]
cmp dword [eax + 4], ebx
je 0x1015f60
cmp dword [ebp + 0x10], 9
je 0x1015f60
lea eax, [ebp - 0xc54]
push eax
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetLocalTime]
movzx eax, word [ebp - 0xc4c]
mov dword [ebp - 0xc14], eax
movzx eax, word [ebp - 0xc4a]
mov dword [ebp - 0xc1c], eax
jmp 0x1015f85
push ebx
lea edi, [esi + 0x9f4]
push edi
call fcn.010181d0
test eax, eax
jbe 0x1015f85
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp - 0xc14]
push eax
push edi
call fcn.0100a734
push ebx
lea edi, [esi + 0xbf0]
push edi
call fcn.010181d0
test eax, eax
jbe 0x1015faa
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc3c]
push eax
push edi
call fcn.0100a734
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0xc30], 0xa
mov dword [ebp - 0xc38], 0x3c
je 0x1015fca
cmp dword [ebp + 0x10], 2
jne 0x1015fcf
mov eax, dword [esi + 0x24]
jmp 0x1015fd5
lea eax, [esi + 0x15ec]
lea ecx, [ebp - 0xc70]
push ecx
lea ecx, [ebp - 0xc58]
push ecx
lea ecx, [ebp - 0xc38]
push ecx
lea ecx, [ebp - 0xc30]
push ecx
push dword [ebp - 0xc40]
lea ecx, [esi + 0x13f0]
push dword [ebp - 0xc3c]
push dword [ebp - 0xc1c]
push dword [ebp - 0xc14]
push edi
push ecx
push eax
call fcn.0100bf54
test eax, eax
je 0x1016023
xor esi, esi
inc esi
jmp 0x1015e58
lea eax, [ebp - 0xc5c]
push eax
push 0x1001da8
push dword [esi + 0x10]
push dword [esi + 4]
call fcn.01014434
test eax, eax
je 0x101601b
cmp dword [ebp - 0xc5c], ebx
jbe 0x1016066
push 0x9d0
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01018c64
xor esi, esi
jmp 0x1015e58
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x101609e
cmp word [eax], bx
je 0x101609e
push dword [esi + 4]
call fcn.01013477
test eax, eax
je 0x101609e
push 0x86f
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
xor eax, eax
jmp 0x1016920
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0xc00]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc60]
push eax
lea eax, [ebp - 0xbf4]
push eax
lea eax, [ebp - 0xbfc]
push eax
push dword [ebp - 0xc10]
push esi
call fcn.01015119
mov edi, eax
cmp edi, ebx
je 0x10160f8
cmp dword [ebp - 0xbfc], ebx
je 0x10160f1
push dword [esi + 4]
call fcn.0101c6bf
mov esi, edi
jmp 0x1015e58
mov edi, 0x1fc
cmp dword [ebp - 0xc04], ebx
jne 0x10161e7
cmp word [esi + 0x1be8], 8
jne 0x1016168
push dword [esi + 8]
call fcn.01005fdd
test eax, eax
je 0x1016168
test byte [esi + 0x1be8], 0x10
je 0x1016135
push ebx
push dword [esi + 0xc]
call fcn.010181d0
test eax, eax
jne 0x1016168
lea eax, [esi + 0x818]
push eax
push 0xca
call fcn.01019fbc
push eax
lea eax, [ebp - 0x5f8]
push edi
push eax
call fcn.01003e97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
jmp 0x10161cd
movzx eax, word [esi + 0x1be8]
test al, 8
je 0x10161e7
test al, 0x10
je 0x10161e7
push dword [esi + 8]
call fcn.01005fdd
test eax, eax
je 0x10161e7
lea eax, [esi + 0x818]
push eax
push 0xca
call fcn.01019fbc
push eax
lea eax, [ebp - 0x5f8]
push edi
push eax
call fcn.01003e97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01018c64
push 0xfc
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
xor eax, eax
inc eax
mov dword [ebp - 0xbf4], eax
mov dword [ebp - 0xc04], eax
jmp 0x10162e5
test byte [esi + 0x1be8], 0xb
jne 0x101620f
push ebx
push dword [esi + 0xc]
call fcn.010181d0
test eax, eax
jne 0x101620f
movzx eax, word [esi + 0x1be8]
shr eax, 4
and eax, 1
jmp 0x10162e5
push ebx
push dword [esi + 4]
call fcn.010181d0
test eax, eax
jne 0x10162df
push ebx
push dword [esi + 8]
call fcn.010181d0
test eax, eax
je 0x10162df
mov eax, dword [esi + 8]
push ebx
push dword [esi + 0xc]
xor edi, edi
inc edi
mov dword [ebp - 0xc00], eax
mov dword [ebp - 0xbf4], edi
call fcn.010181d0
test eax, eax
jne 0x1016257
mov eax, edi
jmp 0x10162e5
mov eax, dword [ebp - 0xc10]
cmp dword [eax + 0xc], ebx
je 0x10162d1
push dword [ebp - 0xc00]
push 0x1ab
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push edi
push eax
call fcn.01019e69
add esp, 0x14
push 0xfe
lea eax, [ebp - 0x200]
push eax
call fcn.01018ec9
test eax, eax
je 0x1015e53
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.010181d0
test eax, eax
jne 0x10162c9
push 0x20a
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
lea eax, [ebp - 0x200]
jmp 0x10162d4
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc08], eax
jmp 0x1016250
mov eax, dword [ebp - 0xc60]
test byte [esi + 0x1be8], 8
je 0x1016369
cmp dword [ebp - 0xbf4], ebx
je 0x1016369
cmp eax, ebx
jne 0x1016369
push dword [ebp - 0xc00]
push 0x1ab
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push 1
push eax
call fcn.01019e69
add esp, 0x14
push dword [esi + 0xc]
call fcn.010184e9
shr eax, 1
push eax
push dword [esi + 0xc]
call fcn.01018ec9
test eax, eax
je 0x1015e53
push ebx
push dword [esi + 0xc]
call fcn.010181d0
test eax, eax
jne 0x1016360
push 0x20a
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc08], eax
mov dword [ebp - 0xc0c], ebx
cmp dword [ebp - 0xbf4], ebx
jne 0x101644d
lea eax, [ebp - 0xc6c]
push eax
lea eax, [ebp - 0xbf0]
push eax
push 2
call sub.SspiCli.dll_GetUserNameExW
test al, al
jne 0x101639e
push 0x90
jmp 0x1015e3f
lea eax, [ebp - 0xbf0]
push 0x30
mov dword [ebp - 0xc00], eax
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [ebp - 0xbf0]
push eax
push 0x1ad
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push 1
push eax
call fcn.01019e69
add esp, 0x14
lea eax, [ebp - 0xbf0]
push eax
push 0x1ab
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push 1
push eax
call fcn.01019e69
add esp, 0x14
push 0xfe
lea eax, [ebp - 0x200]
push eax
call fcn.01018ec9
test eax, eax
je 0x1015e53
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.010181d0
test eax, eax
jne 0x1016441
push 0x20a
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
lea eax, [ebp - 0x200]
mov dword [ebp - 0xc08], eax
push dword [esi + 4]
call fcn.010139bc
mov edi, eax
mov dword [ebp - 0xbf4], edi
cmp edi, ebx
jne 0x1016477
cmp dword [ebp - 0xbfc], ebx
je 0x1016471
push dword [esi + 4]
call fcn.0101c6bf
push edi
jmp 0x1015d80
push 1
lea eax, [ebp - 0xc0c]
push eax
push dword [esi + 4]
call fcn.0100e274
test eax, eax
jne 0x1016510
cmp dword [ebp - 0xc0c], ebx
je 0x1016510
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, 5
je 0x1016510
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.01019fd4
cmp dword [ebp - 0xbfc], ebx
je 0x10164c6
push dword [esi + 4]
call fcn.0101c6bf
push edi
call fcn.01013159
cmp dword [ebp - 0xc0c], 1
jne 0x10164f6
push 0xcf
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
xor eax, eax
inc eax
jmp 0x1016920
cmp dword [ebp - 0xc0c], 2
je 0x1015d85
cmp dword [ebp - 0xc0c], 3
je 0x1016097
lea eax, [ebp - 0xc64]
push eax
lea eax, [ebp - 0xc68]
push eax
lea eax, [ebp - 0xbf8]
push eax
push esi
push edi
call fcn.01015a2f
mov edi, eax
cmp edi, ebx
jne 0x1016903
cmp dword [ebp - 0xc68], ebx
jne 0x1016903
push 0x1f8
lea eax, [ebp - 0x9f0]
push ebx
push eax
mov dword [ebp - 0x9f4], ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0xc28]
push edx
push 0x100208c
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x101664b
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0x7f8]
push eax
lea eax, [esi + 0x11e4]
push eax
call fcn.01006470
cmp eax, 1
je 0x10168e3
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
lea edx, [ebp - 0x7f8]
push edx
push eax
call dword [ecx + 0x80]
mov edi, eax
cmp edi, ebx
jl 0x101664b
lea eax, [ebp - 0x7f8]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, ebx
je 0x10165db
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
lea edx, [ebp - 0x7f8]
push edx
push eax
call dword [ecx + 0x90]
mov edi, eax
cmp edi, ebx
jl 0x101664b
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
lea edx, [ebp - 0x9f4]
push edx
push eax
call dword [ecx + 0x88]
mov edi, eax
cmp edi, ebx
jl 0x101664b
cmp dword [ebp - 0xc04], ebx
jne 0x1016628
mov ecx, 0x20c0
cmp dword [esi + 0x1bf0], ebx
jne 0x101662d
mov ecx, 0xc0
cmp dword [esi + 0x1bf8], ebx
je 0x1016638
or ecx, 2
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x70]
mov edi, eax
cmp edi, ebx
jge 0x101666a
push edi
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.01019fd4
jmp 0x10168e3
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
cmp dword [ebp - 0xc04], ebx
je 0x1016682
push ebx
push 0x1001da4
jmp 0x101668e
push dword [ebp - 0xc08]
push dword [ebp - 0xc00]
push eax
call dword [ecx + 0x78]
mov edi, eax
cmp edi, ebx
jge 0x10166dc
cmp edi, 0x80041312
je 0x10166dc
push edi
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.01019fd4
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10014e8
add eax, 0x20
push eax
call fcn.01018c64
push 0x198
call fcn.01019fbc
jmp 0x10168d4
push ebx
push dword [ebp - 0xc40]
lea eax, [ebp - 0xca0]
push dword [ebp - 0xc3c]
push dword [ebp - 0xc44]
push dword [ebp - 0xc2c]
push dword [ebp - 0xc34]
push dword [ebp - 0xc1c]
push dword [ebp - 0xc14]
push dword [ebp - 0xc24]
push dword [ebp - 0xc18]
push dword [ebp - 0xc20]
push dword [ebp - 0xc64]
push dword [ebp - 0xc58]
push dword [ebp - 0xc38]
push dword [ebp - 0xc30]
push dword [ebp + 0x10]
push dword [ebp - 0xbf8]
push eax
push dword [ebp - 0xc10]
push esi
call fcn.010149cc
mov edi, eax
cmp edi, ebx
jne 0x10168e3
mov eax, dword [ebp - 0xc28]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp edi, ebx
jge 0x10168a8
push edi
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
call fcn.01017fa1
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x20001
add eax, 0x40
push eax
call fcn.01019fd4
cmp edi, 0x80041315
jne 0x10167bf
lea eax, [esi + 0x818]
push eax
push 0x207
call fcn.01019fbc
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003e97
add esp, 0x10
jmp 0x10167f0
cmp edi, 0x800706b5
jne 0x1016807
push dword [esi + 4]
lea eax, [esi + 0x818]
push eax
push 0x208
call fcn.01019fbc
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003e97
add esp, 0x14
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
jmp 0x1016868
lea edi, [esi + 0x818]
push edi
push 0xfb
call fcn.01019fbc
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003e97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
push 0xd0
call fcn.01019fbc
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c64
mov eax, dword [ebp - 0xbf4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc28]
cmp eax, ebx
je 0x1016878
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbf8]
cmp eax, ebx
je 0x1016888
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xbfc], ebx
je 0x1016898
push dword [esi + 4]
call fcn.0101c6bf
push dword [ebp - 0xbf4]
call fcn.01013159
jmp 0x1016097
lea eax, [esi + 0x818]
push eax
push 0x12e
call fcn.01019fbc
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003e97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01018c64
mov eax, dword [ebp - 0xc28]
cmp eax, ebx
je 0x10168f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbf8]
cmp eax, ebx
je 0x1016903
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xbfc], ebx
je 0x1016913
push dword [esi + 4]
call fcn.0101c6bf
push dword [ebp - 0xbf4]
call fcn.01013159
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010175b3
leave
ret 0xc