Function at 0x1015cda
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 0x1015dfc
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.0100b0cd
test eax, eax
jne 0x1015e6e
push 0xa5
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
push 0xcd
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
push ebx
call fcn.01013238
mov eax, 0x80004005
jmp 0x10169ff
push ebx
push edi
call fcn.010182b0
cmp eax, 0xee
jbe 0x1015e83
push 0x8e
jmp 0x1015e4a
lea eax, [esi + 0x11e4]
push ebx
push eax
call fcn.010182b0
cmp eax, 0x106
jbe 0x1015e9e
push 0x96
jmp 0x1015e4a
cmp dword [esi + 0x1bf0], ebx
je 0x1015ec2
test byte [esi + 0x1be8], 8
je 0x1015ec2
push dword [esi + 8]
call fcn.010060ba
test eax, eax
je 0x1015ec2
push 0xae
jmp 0x1015e4a
test byte [esi + 0x1be8], 0x10
je 0x1015efd
push ebx
push dword [esi + 0xc]
call fcn.010182b0
test eax, eax
jne 0x1015efd
push dword [esi + 8]
call fcn.010060ba
test eax, eax
jne 0x1015efd
push 0x20a
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
cmp dword [ebp + 0x10], 0xa
jne 0x1015f0d
push 0xc6
jmp 0x1015e4a
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x1015f44
cmp word [eax], bx
je 0x1015f44
push 0xc7
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
mov esi, 0x80004005
push ebx
call fcn.01013238
mov eax, esi
jmp 0x10169ff
mov eax, dword [ebp - 0xc10]
cmp dword [eax], ebx
je 0x1015f84
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 0x1015fb0
push ebx
lea edi, [esi + 0xdec]
push edi
call fcn.010182b0
test eax, eax
jbe 0x1015fb0
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0xc24]
push eax
push edi
call fcn.0100b8e4
push ebx
lea edi, [esi + 0xfe8]
push edi
call fcn.010182b0
test eax, eax
jbe 0x1015fde
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0xc44]
push eax
push edi
call fcn.0100b8e4
jmp 0x1016005
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 0x101603f
cmp dword [ebp + 0x10], 9
je 0x101603f
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 0x1016064
push ebx
lea edi, [esi + 0x9f4]
push edi
call fcn.010182b0
test eax, eax
jbe 0x1016064
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp - 0xc14]
push eax
push edi
call fcn.0100a834
push ebx
lea edi, [esi + 0xbf0]
push edi
call fcn.010182b0
test eax, eax
jbe 0x1016089
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc3c]
push eax
push edi
call fcn.0100a834
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0xc30], 0xa
mov dword [ebp - 0xc38], 0x3c
je 0x10160a9
cmp dword [ebp + 0x10], 2
jne 0x10160ae
mov eax, dword [esi + 0x24]
jmp 0x10160b4
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.0100c054
test eax, eax
je 0x1016102
xor esi, esi
inc esi
jmp 0x1015f37
lea eax, [ebp - 0xc5c]
push eax
push 0x1001db8
push dword [esi + 0x10]
push dword [esi + 4]
call fcn.01014513
test eax, eax
je 0x10160fa
cmp dword [ebp - 0xc5c], ebx
jbe 0x1016145
push 0x9d0
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01018c65
xor esi, esi
jmp 0x1015f37
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x101617d
cmp word [eax], bx
je 0x101617d
push dword [esi + 4]
call fcn.01013556
test eax, eax
je 0x101617d
push 0x86f
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
xor eax, eax
jmp 0x10169ff
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.010151f8
mov edi, eax
cmp edi, ebx
je 0x10161d7
cmp dword [ebp - 0xbfc], ebx
je 0x10161d0
push dword [esi + 4]
call fcn.0101c6c0
mov esi, edi
jmp 0x1015f37
mov edi, 0x1fc
cmp dword [ebp - 0xc04], ebx
jne 0x10162c6
cmp word [esi + 0x1be8], 8
jne 0x1016247
push dword [esi + 8]
call fcn.010060ba
test eax, eax
je 0x1016247
test byte [esi + 0x1be8], 0x10
je 0x1016214
push ebx
push dword [esi + 0xc]
call fcn.010182b0
test eax, eax
jne 0x1016247
lea eax, [esi + 0x818]
push eax
push 0xca
call fcn.01019fbd
push eax
lea eax, [ebp - 0x5f8]
push edi
push eax
call fcn.01003f97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
jmp 0x10162ac
movzx eax, word [esi + 0x1be8]
test al, 8
je 0x10162c6
test al, 0x10
je 0x10162c6
push dword [esi + 8]
call fcn.010060ba
test eax, eax
je 0x10162c6
lea eax, [esi + 0x818]
push eax
push 0xca
call fcn.01019fbd
push eax
lea eax, [ebp - 0x5f8]
push edi
push eax
call fcn.01003f97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01018c65
push 0xfc
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
xor eax, eax
inc eax
mov dword [ebp - 0xbf4], eax
mov dword [ebp - 0xc04], eax
jmp 0x10163c4
test byte [esi + 0x1be8], 0xb
jne 0x10162ee
push ebx
push dword [esi + 0xc]
call fcn.010182b0
test eax, eax
jne 0x10162ee
movzx eax, word [esi + 0x1be8]
shr eax, 4
and eax, 1
jmp 0x10163c4
push ebx
push dword [esi + 4]
call fcn.010182b0
test eax, eax
jne 0x10163be
push ebx
push dword [esi + 8]
call fcn.010182b0
test eax, eax
je 0x10163be
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.010182b0
test eax, eax
jne 0x1016336
mov eax, edi
jmp 0x10163c4
mov eax, dword [ebp - 0xc10]
cmp dword [eax + 0xc], ebx
je 0x10163b0
push dword [ebp - 0xc00]
push 0x1ab
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push edi
push eax
call fcn.01019e6a
add esp, 0x14
push 0xfe
lea eax, [ebp - 0x200]
push eax
call fcn.01018eca
test eax, eax
je 0x1015f32
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.010182b0
test eax, eax
jne 0x10163a8
push 0x20a
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
lea eax, [ebp - 0x200]
jmp 0x10163b3
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc08], eax
jmp 0x101632f
mov eax, dword [ebp - 0xc60]
test byte [esi + 0x1be8], 8
je 0x1016448
cmp dword [ebp - 0xbf4], ebx
je 0x1016448
cmp eax, ebx
jne 0x1016448
push dword [ebp - 0xc00]
push 0x1ab
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push 1
push eax
call fcn.01019e6a
add esp, 0x14
push dword [esi + 0xc]
call fcn.010185c9
shr eax, 1
push eax
push dword [esi + 0xc]
call fcn.01018eca
test eax, eax
je 0x1015f32
push ebx
push dword [esi + 0xc]
call fcn.010182b0
test eax, eax
jne 0x101643f
push 0x20a
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc08], eax
mov dword [ebp - 0xc0c], ebx
cmp dword [ebp - 0xbf4], ebx
jne 0x101652c
lea eax, [ebp - 0xc6c]
push eax
lea eax, [ebp - 0xbf0]
push eax
push 2
call sub.SspiCli.dll_GetUserNameExW
test al, al
jne 0x101647d
push 0x90
jmp 0x1015f1e
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.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push 1
push eax
call fcn.01019e6a
add esp, 0x14
lea eax, [ebp - 0xbf0]
push eax
push 0x1ab
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push ebx
add eax, 0x20
push 1
push eax
call fcn.01019e6a
add esp, 0x14
push 0xfe
lea eax, [ebp - 0x200]
push eax
call fcn.01018eca
test eax, eax
je 0x1015f32
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.010182b0
test eax, eax
jne 0x1016520
push 0x20a
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
lea eax, [ebp - 0x200]
mov dword [ebp - 0xc08], eax
push dword [esi + 4]
call fcn.01013a9b
mov edi, eax
mov dword [ebp - 0xbf4], edi
cmp edi, ebx
jne 0x1016556
cmp dword [ebp - 0xbfc], ebx
je 0x1016550
push dword [esi + 4]
call fcn.0101c6c0
push edi
jmp 0x1015e5f
push 1
lea eax, [ebp - 0xc0c]
push eax
push dword [esi + 4]
call fcn.0100e2f9
test eax, eax
jne 0x10165ef
cmp dword [ebp - 0xc0c], ebx
je 0x10165ef
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, 5
je 0x10165ef
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10001
add eax, 0x40
push eax
call fcn.01019fd5
cmp dword [ebp - 0xbfc], ebx
je 0x10165a5
push dword [esi + 4]
call fcn.0101c6c0
push edi
call fcn.01013238
cmp dword [ebp - 0xc0c], 1
jne 0x10165d5
push 0xcf
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
xor eax, eax
inc eax
jmp 0x10169ff
cmp dword [ebp - 0xc0c], 2
je 0x1015e64
cmp dword [ebp - 0xc0c], 3
je 0x1016176
lea eax, [ebp - 0xc64]
push eax
lea eax, [ebp - 0xc68]
push eax
lea eax, [ebp - 0xbf8]
push eax
push esi
push edi
call fcn.01015b0e
mov edi, eax
cmp edi, ebx
jne 0x10169e2
cmp dword [ebp - 0xc68], ebx
jne 0x10169e2
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 0x100209c
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x101672a
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0x7f8]
push eax
lea eax, [esi + 0x11e4]
push eax
call fcn.0100654d
cmp eax, 1
je 0x10169c2
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 0x101672a
lea eax, [ebp - 0x7f8]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, ebx
je 0x10166ba
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 0x101672a
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 0x101672a
cmp dword [ebp - 0xc04], ebx
jne 0x1016707
mov ecx, 0x20c0
cmp dword [esi + 0x1bf0], ebx
jne 0x101670c
mov ecx, 0xc0
cmp dword [esi + 0x1bf8], ebx
je 0x1016717
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 0x1016749
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.01019fd5
jmp 0x10169c2
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
cmp dword [ebp - 0xc04], ebx
je 0x1016761
push ebx
push 0x1001db4
jmp 0x101676d
push dword [ebp - 0xc08]
push dword [ebp - 0xc00]
push eax
call dword [ecx + 0x78]
mov edi, eax
cmp edi, ebx
jge 0x10167bb
cmp edi, 0x80041312
je 0x10167bb
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.01019fd5
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x10014f8
add eax, 0x20
push eax
call fcn.01018c65
push 0x198
call fcn.01019fbd
jmp 0x10169b3
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.01014aab
mov edi, eax
cmp edi, ebx
jne 0x10169c2
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 0x1016987
push edi
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
call fcn.01018081
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0x20001
add eax, 0x40
push eax
call fcn.01019fd5
cmp edi, 0x80041315
jne 0x101689e
lea eax, [esi + 0x818]
push eax
push 0x207
call fcn.01019fbd
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003f97
add esp, 0x10
jmp 0x10168cf
cmp edi, 0x800706b5
jne 0x10168e6
push dword [esi + 4]
lea eax, [esi + 0x818]
push eax
push 0x208
call fcn.01019fbd
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003f97
add esp, 0x14
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
jmp 0x1016947
lea edi, [esi + 0x818]
push edi
push 0xfb
call fcn.01019fbd
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003f97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
push 0xd0
call fcn.01019fbd
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.01018c65
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 0x1016957
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbf8]
cmp eax, ebx
je 0x1016967
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xbfc], ebx
je 0x1016977
push dword [esi + 4]
call fcn.0101c6c0
push dword [ebp - 0xbf4]
call fcn.01013238
jmp 0x1016176
lea eax, [esi + 0x818]
push eax
push 0x12e
call fcn.01019fbd
push eax
lea eax, [ebp - 0x5f8]
push 0x1fc
push eax
call fcn.01003f97
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call fcn.01018c65
mov eax, dword [ebp - 0xc28]
cmp eax, ebx
je 0x10169d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbf8]
cmp eax, ebx
je 0x10169e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xbfc], ebx
je 0x10169f2
push dword [esi + 4]
call fcn.0101c6c0
push dword [ebp - 0xbf4]
call fcn.01013238
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01017692
leave
ret 0xc