Function at 0x1009782e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x104
mov eax, 0x10192795
call fcn.10188ede
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], ebx
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10097875
test byte [eax + 0x44], 4
je 0x10097875
push dword [eax + 0x3c]
mov edx, 0x100227d0
push dword [eax + 0x38]
push 0x1c
pop ecx
call fcn.1004a045
push ebx
push ebx
mov dword [ebp - 0xc4], ebx
call fcn.10099a06
mov dword [ebp - 0xc8], eax
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.100523a7
mov edi, 0x1001d750
mov byte [ebp - 4], 1
push edi
call fcn.1005275a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.10051aee
mov edi, 0x100227ec
push edi
call fcn.1005275a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.10051aee
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0xdc], esp
push eax
call fcn.100523a7
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x1001d02c
call fcn.1005236c
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.1006b552
mov byte [ebp - 4], 3
cmp dword [ebp - 0xbc], 0
je 0x10097e07
cmp dword [ebp - 0x70], 0
je 0x10097e07
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10096b7b
cmp dword [ebp - 0xe4], 0
je 0x10097d95
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
push 0x10022888
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.1005236c
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xe4]
lea edx, [ebp - 0x5c]
push eax
push 1
call fcn.1006ae7b
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.10052803
mov dword [ebp - 4], 5
jmp 0x10097a21
mov ecx, dword [ebp - 0xe4]
lea eax, [ebp - 0xec]
push eax
call fcn.10096b7b
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xec], 0
je 0x10097d36
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x100]
push eax
call fcn.10096b7b
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x10097d07
add eax, 0x34
cmp dword [eax + 0x14], 8
jb 0x10097a75
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc0], ebx
push 0xa8
mov byte [ebp - 4], 0xd
call fcn.10183515
mov edi, eax
pop ecx
mov dword [ebp - 0xdc], edi
test edi, edi
je 0x10097af0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
push 0x9c
lea eax, [edi + 0xc]
mov byte [ebp - 4], 0xf
push ebx
push eax
mov dword [edi], 0x10002c74
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [edi + 0xc]
call fcn.10096c3c
lea ecx, [edi + 0x84]
call fcn.10052852
jmp 0x10097af2
mov edi, ebx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xe4]
or dword [ebp - 0xd0], 2
add ecx, 0x1c
mov dword [ebp - 0xf4], edi
add edi, 0xc
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xf8], edi
cmp dword [ecx + 0x14], 8
lea edx, [edi + 0x10]
jb 0x10097b26
mov ecx, dword [ecx]
call fcn.1006a0bf
mov ecx, dword [ebp - 0xec]
lea edx, [edi + 0x20]
add ecx, 0x1c
cmp dword [ecx + 0x14], 8
jb 0x10097b3f
mov ecx, dword [ecx]
call fcn.1006a0bf
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x30]
add ecx, 0x1c
cmp dword [ecx + 0x14], 8
jb 0x10097b58
mov ecx, dword [ecx]
call fcn.1006a0bf
lea ecx, [edi + 0x40]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x10097b70
push 0xffffffffffffffff
push ebx
push eax
call fcn.100524d9
lea ecx, [edi + 0x78]
mov edi, dword [ebp - 0xd4]
lea eax, [edi + 0x34]
cmp ecx, eax
je 0x10097b89
push 0xffffffffffffffff
push ebx
push eax
call fcn.100524d9
push 0x1001d02c
lea ecx, [ebp - 0x5c]
call fcn.1005236c
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.1006b6ca
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
mov edi, eax
call fcn.10052803
test edi, edi
jne 0x10097bbb
mov al, bl
jmp 0x10097bc6
cmp edi, 1
jne 0x10097e94
mov al, 1
mov ecx, dword [ebp - 0xdc]
push 8
mov byte [ecx + 0x90], al
add ecx, 0x94
mov eax, dword [ebp - 0xd4]
add eax, 0x54
push eax
push 8
push ecx
call dword [sym.imp.msvcrt.dll_memcpy_s]
mov edi, dword [ebp - 0xc8]
lea eax, [ebp - 0xf8]
add esp, 0x10
push eax
push dword [edi + 4]
push edi
call fcn.1009a075
mov ecx, eax
mov eax, 0xffffffe
sub eax, dword [ebp - 0xc4]
cmp eax, 1
jb 0x10097e8a
inc dword [ebp - 0xc4]
and dword [ebp - 0xd0], 0xfffffffd
mov dword [edi + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xf4]
test ecx, ecx
je 0x10097c5e
call fcn.10044ae0
jmp 0x10097c5e
mov dword [ebp - 4], 0xb
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10097c96
test byte [eax + 0x44], 1
je 0x10097c96
push dword [ebp - 0xc0]
mov edx, 0x100227d0
push dword [ebp - 0xd8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x20
pop ecx
call fcn.1004a0f3
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x10097ca9
call fcn.10044ae0
mov byte [ebp - 4], 0xa
jmp 0x10097a44
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x10097d1a
call fcn.10044ae0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x10097d2d
call fcn.10044ae0
mov byte [ebp - 4], 5
jmp 0x10097a21
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x10097d49
call fcn.10044ae0
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10052803
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x10097d67
call fcn.10044ae0
mov byte [ebp - 4], 3
jmp 0x10097915
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x10097da8
call fcn.10044ae0
mov byte [ebp - 4], 3
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10097dd7
test byte [eax + 0x44], 4
je 0x10097dd7
push dword [ebp - 0xc4]
mov edx, 0x100227d0
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x21
pop ecx
call fcn.1004a069
push ebx
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10099a06
mov ecx, eax
mov eax, dword [ebp - 0xc8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov dword [ebp - 0xc4], ecx
jmp 0x10097e52
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10097e2c
test byte [eax + 0x44], 4
je 0x10097e2c
push dword [eax + 0x3c]
mov edx, 0x100227d0
push dword [eax + 0x38]
push 0x1d
pop ecx
call fcn.1004a045
push ebx
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10099a06
mov ecx, dword [ebp - 0xc8]
mov dword [esi], ecx
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.10097ee2
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.10052803
lea ecx, [ebp - 0xc8]
call fcn.100997fe
push dword [ebp - 0xc8]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
mov eax, esi
pop ecx
call fcn.10188e18
ret 4
push 0x1001e938
call fcn.101838c9
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10097ebe
test byte [eax + 0x44], 1
je 0x10097ebe
push 0x8007000d
push dword [eax + 0x3c]
mov edx, 0x100227d0
push dword [eax + 0x38]
push 0x1f
pop ecx
call fcn.1004a069
push 0x8007000d
lea ecx, [ebp - 0xf0]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3