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

Disassembly:
sub esp, 0x48c
and dword [esp + 0x78], 0
xor edx, edx
mov dword [esp + 0x6c], 0xc409ba
mov dword [esp + 0x70], 0xa85c92
mov dword [esp + 0x74], 0x441ffc
mov dword [esp + 4], 0xafc02f
add dword [esp + 4], 0xffff4fb0
add dword [esp + 4], 0x85f3
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x2a
pop ecx
div ecx
push 0x7f
mov dword [esp + 0x18], eax
xor edx, edx
xor dword [esp + 0x18], 0xb1184
mov esi, 0xb516bbb
mov dword [esp + 0x7c], 0xeb49a4
shr dword [esp + 0x7c], 5
xor dword [esp + 0x7c], 0x95d90
mov dword [esp + 0x30], 0x74fb0a
imul eax, dword [esp + 0x30], 0x1e
pop ecx
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x978de9ec
xor dword [esp + 0x2c], 0xad10b4f2
xor dword [esp + 0x2c], 0x372b3a8e
mov dword [esp + 0x1c], 0xb92c6e
xor dword [esp + 0x1c], 0xe0e3092
or dword [esp + 0x1c], 0x72fa6aba
add dword [esp + 0x1c], 0xffff103c
xor dword [esp + 0x1c], 0x7efa5fdf
mov dword [esp + 0x34], 0x794cf8
xor dword [esp + 0x34], 0x9a366bfc
add dword [esp + 0x34], 0xde36
xor dword [esp + 0x34], 0x5c71c30d
xor dword [esp + 0x34], 0xc6263e62
mov dword [esp + 0x18], 0x79c02
add dword [esp + 0x18], 0xfffffb46
or dword [esp + 0x18], 0x60cf66c
xor dword [esp + 0x18], 0x799dfdb7
xor dword [esp + 0x18], 0x7f9bfbef
mov dword [esp + 0x10], 0xbfcf15
shr dword [esp + 0x10], 3
shl dword [esp + 0x10], 0xc
shl dword [esp + 0x10], 3
xor dword [esp + 0x10], 0xfcf89fe4
mov dword [esp + 0x44], 0xe0c8d1
xor dword [esp + 0x44], 0xbad245c5
shl dword [esp + 0x44], 5
xor dword [esp + 0x44], 0x4653cc84
mov dword [esp + 0x40], 0x38a8e4
add dword [esp + 0x40], 0xffff2cc2
add dword [esp + 0x40], 0x453c
xor dword [esp + 0x40], 0x30e111
mov dword [esp + 0x24], 0x8706d
or dword [esp + 0x24], 0x44a168a8
imul eax, dword [esp + 0x24], 0x4d
mov dword [esp + 0x24], eax
shr dword [esp + 0x24], 0x10
xor dword [esp + 0x24], 0x2b082
mov dword [esp + 0x70], 0x3ad283
add dword [esp + 0x70], 0xc4d8
xor dword [esp + 0x70], 0x3ad5e6
mov dword [esp + 0x20], 0xbbdd96
mov eax, dword [esp + 0x20]
div ecx
mov dword [esp + 0x20], eax
add dword [esp + 0x20], 0xffff10a8
add dword [esp + 0x20], 0xdbb9
xor dword [esp + 0x20], 0x89235
mov dword [esp + 0x60], 0xf8cace
xor dword [esp + 0x60], 0x230d76f6
xor dword [esp + 0x60], 0x23f29212
mov dword [esp + 0x28], 0x18cea
shl dword [esp + 0x28], 3
shl dword [esp + 0x28], 0xa
add dword [esp + 0x28], 0xffff66c6
xor edx, edx
xor dword [esp + 0x28], 0x3196ba0a
mov dword [esp + 0x4c], 0x64ea4d
shr dword [esp + 0x4c], 0xe
shl dword [esp + 0x4c], 0x10
xor dword [esp + 0x4c], 0x1951052
mov dword [esp + 0x3c], 0x40e961
xor dword [esp + 0x3c], 0xb7fb83c2
add dword [esp + 0x3c], 0xb75e
xor dword [esp + 0x3c], 0xb7bbc099
mov dword [esp + 0x54], 0x7779e0
or dword [esp + 0x54], 0x86983bb4
xor dword [esp + 0x54], 0x86f0c1f2
mov dword [esp + 0x50], 0xda5543
add dword [esp + 0x50], 0xffff2368
add dword [esp + 0x50], 0xffff6302
xor dword [esp + 0x50], 0xd61d50
mov dword [esp + 0x30], 0x843ae5
add dword [esp + 0x30], 0xae05
shr dword [esp + 0x30], 9
or dword [esp + 0x30], 0xb52a1de5
xor dword [esp + 0x30], 0xb5269cc0
mov dword [esp + 0x74], 0x4bdca1
imul eax, dword [esp + 0x74], 0x2d
push 0x36
pop ecx
push 0x31
mov dword [esp + 0x78], eax
xor dword [esp + 0x78], 0xd50802d
mov dword [esp + 0x6c], 0xc70263
xor dword [esp + 0x6c], 0xed1c16c4
xor dword [esp + 0x6c], 0xeddf4f32
mov dword [esp + 0x4c], 0x3676a5
shl dword [esp + 0x4c], 0x10
shl dword [esp + 0x4c], 8
xor dword [esp + 0x4c], 0xa501f64e
mov dword [esp + 0x60], 0x1a5bc1
mov eax, dword [esp + 0x60]
div ecx
xor edx, edx
mov dword [esp + 0x60], eax
xor dword [esp + 0x60], 0x23ab9
mov dword [esp + 0x5c], 0xcce8ca
add dword [esp + 0x5c], 0xffff41cd
xor dword [esp + 0x5c], 0xc96fdb
mov dword [esp + 0x70], 0x26dee9
imul eax, dword [esp + 0x70], 0x7c
pop ecx
mov dword [esp + 0x6c], eax
xor dword [esp + 0x6c], 0x12da7d33
mov dword [esp + 0x38], 0xc51f8
imul eax, dword [esp + 0x38], 0x7c
mov dword [esp + 0x38], eax
or dword [esp + 0x38], 0x22e20644
add dword [esp + 0x38], 0xffff053d
xor dword [esp + 0x38], 0x27f3e63a
mov dword [esp + 0x64], 0x33633f
mov eax, dword [esp + 0x64]
div ecx
mov dword [esp + 0x64], eax
xor dword [esp + 0x64], 0x716b7
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
call fcn.10015c73
mov ebp, 0x5b9c87d
mov edi, 0xc84e726
mov ebx, 0xafb2886
cmp esi, 0xc63ed
je 0x10016b8e
cmp esi, ebp
je 0x10016b0d
cmp esi, 0xb516bbb
je 0x10016b06
cmp esi, edi
jne 0x10016bb3
push dword [esp + 0x34]
mov edx, section..text
push dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
call fcn.1001dcf7
pop ecx
pop ecx
push dword [esp + 0x24]
mov esi, eax
push dword [esp + 0x44]
mov ecx, dword [0x10023e10]
add ecx, 0x1c
push ecx
push esi
push dword [esp + 0x54]
push dword [esp + 0x24]
push ecx
push dword [esp + 0x34]
mov edx, dword [0x10023e10]
lea ecx, [esp + 0x2b4]
lea edx, [edx + 0x23c]
call fcn.100047ce
push dword [esp + 0x40]
mov ecx, dword [esp + 0x94]
mov edx, esi
call fcn.1000a8b0
add esp, 0x24
mov esi, ebp
jmp 0x10016a74
mov esi, edi
jmp 0x10016a74
push dword [esp + 0x4c]
mov edx, 0x10001060
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
call fcn.1001dcf7
pop ecx
pop ecx
mov ecx, dword [esp + 0x54]
mov esi, eax
mov ecx, dword [esp + 0x3c]
call fcn.1001d25e
mov ecx, dword [0x10023e10]
add ecx, 0x1c
push ecx
push eax
push dword [esp + 0x50]
push dword [esp + 0x74]
mov eax, dword [0x10023e10]
push ecx
add eax, 0x23c
lea ecx, [esp + 0xa0]
push eax
push dword [esp + 0x8c]
push esi
push dword [esp + 0x50]
mov edx, dword [esp + 0x74]
call fcn.1001453f
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, esi
call fcn.1000a8b0
add esp, 0x28
mov esi, 0xc63ed
jmp 0x10016a74
push dword [esp + 0x64]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x2a0]
call fcn.100213ad
add esp, 0xc
mov esi, ebx
cmp esi, ebx
jne 0x10016a74
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48c
ret