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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x10285008]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
push ebx
mov dword [ebp - 0x1c], edx
mov ebx, ecx
push esi
mov esi, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 0x94]
shr eax, 1
and eax, 1
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 0x70]
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x28], edx
push edi
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x84]
mov dword [ebp - 0x60], edx
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xd0], edx
mov edx, dword [ecx]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x14], eax
je 0x101d2c62
lea eax, [ebp - 0x40]
push eax
push 0x16
push dword [ebp + 8]
push dword [ebp - 0x24]
push edi
push edx
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
test eax, eax
jne 0x101d2c46
xor eax, eax
jmp 0x101d3df6
mov ecx, dword [ebx + 0xc]
xor edi, edi
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
jmp 0x101d2c7c
lea eax, [ebp - 0x1c]
push eax
push 0xa
push dword [ebp + 8]
push dword [ebp - 0x24]
push edi
push edx
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
test eax, eax
je 0x101d2c3f
xor edi, edi
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x18], edi
je 0x101d2ef3
mov ecx, dword [ebx + 8]
test byte [ecx + 0x50], 0x20
je 0x101d2ef3
mov eax, dword [eax + 0x24]
mov esi, dword [ecx + 0x88]
lea eax, [esi + eax*8]
mov dword [ecx + 0x88], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, ebx
push 1
push dword [eax + 0x18]
push dword [ebx + 8]
push dword [ebp + 0x10]
call fcn.101ce6ab
cmp eax, 1
mov eax, dword [ebx + 8]
mov dword [eax + 0x88], esi
jne 0x101d2eed
mov ecx, ebx
call fcn.101dcacd
mov ecx, eax
mov eax, dword [ebx + 0xc]
add ecx, dword [ebp - 0x1c]
adc edx, edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x10], ecx
xor ecx, ecx
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
mov dword [eax + 8], edi
mov eax, dword [ebx + 8]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov eax, dword [ebx + 8]
or dword [eax + 0x50], 0xc0
mov edx, dword [ebx + 8]
mov esi, dword [edx + 0x44]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], eax
cmp edi, dword [edx + 0x64]
jne 0x101d2d42
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d2d40
mov ecx, dword [ecx + 0x18]
or edi, 0xffffffff
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x1c], eax
jmp 0x101d2d6a
xor ecx, ecx
mov eax, dword [ebx + 0xc]
push edi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov ecx, ebx
call fcn.101d614d
mov ecx, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [eax + 0x44], esi
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], edi
mov dword [eax + 0x50], ecx
xor eax, eax
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x6c], eax
je 0x101d2eed
cmp edi, 8
ja 0x101d2eed
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 0x10]
or eax, dword [edx + 0x14]
je 0x101d2eed
mov eax, dword [edx + 0x18]
mov edx, edi
push dword [ecx + 0x50]
mov esi, dword [ecx + 0x5c]
add ecx, 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.101ce3bc
mov edi, dword [0x102c7ff0]
test eax, eax
jne 0x101d2de0
mov ecx, ebx
call fcn.101dcacd
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov eax, dword [ebx + 8]
mov dword [eax + 0x74], 1
jmp 0x101d2df4
mov eax, dword [ebx + 8]
mov ecx, edi
push dword [eax + 0x6c]
push dword [eax + 0x6c]
add eax, 0x18
push eax
call fcn.1016fc14
cmp byte [edi + 0x28], 0
je 0x101d2e03
mov eax, dword [ebx + 8]
cmp dword [eax + 0x6c], 4
jne 0x101d2e1b
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x18]
cdq
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
jmp 0x101d2e1b
mov eax, dword [esi + 8]
test eax, eax
je 0x101d2e1f
mov esi, eax
test esi, esi
jne 0x101d2e12
mov eax, dword [esi + 4]
mov ecx, 0x10098770
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x101d2e4d
test dx, dx
je 0x101d2e49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x101d2e4d
add eax, 4
add ecx, 4
test dx, dx
jne 0x101d2e27
xor eax, eax
jmp 0x101d2e52
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101d2eed
mov edx, dword [ebx + 8]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x38]
adc ecx, dword [edx + 0x3c]
sub dword [edx + 0x18], eax
sbb dword [edx + 0x1c], ecx
mov ecx, dword [ebx + 8]
lea edi, [ecx + 0x20]
mov eax, dword [edi]
or eax, dword [edi + 4]
jne 0x101d2eed
push dword [ecx + 0x50]
mov ecx, ebx
call fcn.101dcacd
mov esi, edx
mov ecx, edi
mov edx, dword [ebp - 0x1c]
neg edx
push 0
sbb edx, edx
not edx
and edx, dword [ebp - 0x14]
add eax, edx
pop edx
adc esi, edx
mov edx, dword [ebp - 0x14]
push esi
push eax
call fcn.101ce3bc
test eax, eax
jne 0x101d2ec4
mov eax, dword [ebx + 8]
mov ecx, ebx
mov dword [eax + 0x74], 1
call fcn.101dcacd
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov esi, dword [ebx + 8]
mov ecx, dword [0x102c7ff0]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.1016fb93
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x38]
sub dword [ecx + 0x20], eax
mov eax, dword [ecx + 0x3c]
sbb dword [ecx + 0x24], eax
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x24], 0
je 0x101d2f50
lea ecx, [ebp - 0xc]
push ecx
push dword [eax + 0x24]
mov ecx, ebx
push dword [eax + 0x28]
push dword [ebx + 8]
push dword [ebp + 0x10]
call fcn.101ce6ab
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x101d2f25
mov ecx, esi
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x101d2f50
test ecx, ecx
jne 0x101d2f50
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x3c], ecx
jmp 0x101d2c3f
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x1c]
add ecx, 0x60
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], eax
call fcn.101ce5aa
mov eax, dword [ebx + 8]
xor ecx, ecx
xor edx, edx
mov word [eax + 0x30], cx
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x5c], edx
je 0x101d2f8f
mov eax, dword [ebp - 0x1c]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, dword [ebx + 8]
mov dword [ebx + 0x2c0], edx
and dword [eax + 0x94], 0xffffbfff
cmp dword [ebp + 0x14], edx
jne 0x101d3017
cmp dword [ebx + 0xe0], edx
je 0x101d3017
cmp dword [ebx + 0xdc], edx
je 0x101d3017
mov edi, dword [ebx + 0xd8]
test edi, edi
je 0x101d3017
mov esi, dword [ebx + 0xdc]
mov eax, dword [esi + 0x90]
mov cl, 0x20
mov edx, dword [esi + 0x94]
call fcn.1026abd0
mov ecx, dword [ebx + 8]
xor edx, edx
cmp eax, dword [ecx + 0x38]
jne 0x101d300b
cmp edx, dword [ecx + 0x3c]
jne 0x101d300b
mov eax, dword [ebx + 0x2c0]
test eax, eax
je 0x101d3005
test byte [eax + 0xb0], 8
jne 0x101d300b
test byte [esi + 0xb0], 8
je 0x101d300b
mov dword [ebx + 0x2c0], esi
add esi, 0xc0
dec edi
jne 0x101d2fc7
mov esi, dword [ebp + 0x10]
test dword [ebx + 0xd0], 0x80000
je 0x101d3045
cmp dword [ebx + 0x2c0], edx
jne 0x101d3045
mov eax, dword [ebx + 8]
or dword [eax + 0x94], 0x100
mov eax, dword [ebx + 8]
or dword [eax + 0x94], 0x4000
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d3076
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x50]
test eax, 0x1000
je 0x101d3076
and eax, 0xffffefff
mov dword [ecx + 0x50], eax
mov eax, dword [ebx + 8]
or dword [eax + 0x50], 0x10
mov eax, dword [ebx + 8]
and dword [eax + 0x94], 0xfffffffd
cmp dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x10]
je 0x101d3204
test edi, edi
jne 0x101d3204
mov eax, dword [ebx + 8]
inc edi
mov edx, dword [ebp - 8]
mov dword [eax + 0x70], edi
mov eax, dword [ebx + 8]
and dword [eax + 0x50], 0xfffff0ff
lea eax, [edx + 0x100]
mov ecx, dword [ebx + 8]
and eax, 0xf00
or dword [ecx + 0x50], eax
test edx, 0x2001
jne 0x101d30f9
mov esi, edx
and esi, 0x40
jne 0x101d30c9
push 2
pop edx
mov ecx, edi
call fcn.100d335e
mov eax, dword [ebx + 8]
xor ecx, ecx
mov edi, ecx
movzx eax, word [eax + 0x54]
imul eax, eax, 3
test eax, eax
jle 0x101d30fb
test esi, esi
jne 0x101d30ea
push 0x1005d9d0
call fcn.100d3a8b
pop ecx
mov eax, dword [ebx + 8]
inc edi
movzx eax, word [eax + 0x54]
imul eax, eax, 3
cmp edi, eax
jl 0x101d30db
xor ecx, ecx
mov eax, dword [ebp - 8]
test al, 2
jne 0x101d3161
cmp dword [ebp + 0x14], 0
je 0x101d3144
test al, 0x40
jne 0x101d3161
mov eax, dword [0x102c7ff4]
test eax, eax
je 0x101d3131
cmp dword [eax + 8], 2
je 0x101d3121
cmp dword [eax + 8], 3
jne 0x101d312b
mov ecx, dword [eax + 0x544]
test ecx, ecx
jne 0x101d3131
mov ecx, dword [eax + 0x538]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.100b4821
push eax
push 0x10098e24
jmp 0x101d3157
test al, 0x40
jne 0x101d3161
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x1c]
push eax
push 0x10098e30
call fcn.100d3a8b
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov edi, dword [ebp + 0x10]
mov esi, eax
and esi, 0x40
jne 0x101d317b
push edi
push 0x1005a41c
call fcn.100d3a8b
mov eax, dword [ebp - 8]
pop ecx
pop ecx
test eax, 0x2040
jne 0x101d31c5
lea ecx, [edi + 2]
xor edx, edx
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x101d3187
mov eax, dword [ebp - 0x18]
sub edi, ecx
sar edi, 1
cmp edi, eax
jae 0x101d31ba
sub eax, edi
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x101d31b4
push 0x1005d9d0
call fcn.100d3a8b
mov eax, dword [ebp - 0x18]
pop ecx
dec eax
mov dword [ebp - 0x18], eax
jne 0x101d31a2
test esi, esi
jne 0x101d31d4
push 0x10098e44
jmp 0x101d31ce
test esi, esi
jne 0x101d31d4
push 0x1005d9d0
call fcn.100d3a8b
pop ecx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x14]
cmp dword [eax + 0x24], ecx
jb 0x101d31f2
mov eax, dword [eax + 0x28]
imul ecx, ecx, 0x38
mov ecx, dword [eax + ecx - 0x2c]
mov eax, dword [ebx + 8]
and ecx, 0x10
mov dword [eax + 0x58], ecx
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.101d614d
mov dword [ebp - 0xc], eax
jmp 0x101d3d6b
mov edx, dword [ebp - 8]
test edx, 0x200000
je 0x101d322a
mov eax, dword [ebx + 8]
and dword [eax + 0x50], 0xfffff0ff
lea eax, [edx + 0x100]
mov ecx, dword [ebx + 8]
and eax, 0xf00
or dword [ecx + 0x50], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [eax + 0x70], ecx
test dl, 8
je 0x101d325a
test edi, edi
je 0x101d3253
mov eax, dword [ebx + 0xc]
imul ecx, edi, 0x38
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx - 0x2c]
shr eax, 1
not eax
and eax, 1
xor ecx, ecx
jmp 0x101d3256
xor eax, eax
inc eax
test eax, eax
jne 0x101d3277
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x24], ecx
je 0x101d358c
mov eax, dword [eax + 0x28]
imul ecx, edi, 0x38
test byte [eax + ecx - 0x2c], 1
je 0x101d358c
xor eax, eax
push 0x34
push eax
lea eax, [ebp - 0xa4]
push eax
call sub.msvcrt.dll_memset
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov edi, dword [ebx + 8]
mov dword [ebp - 0xa8], esi
mov ecx, dword [edx + 0x10]
add ecx, dword [edi + 0x38]
mov eax, dword [edx + 0x14]
adc eax, dword [edi + 0x3c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x9c], ecx
cmp dword [edx + 0x24], eax
je 0x101d3332
imul esi, dword [ebp - 0x10], 0x38
cmp dword [ebp - 0x10], 0
mov eax, dword [edx + 0x28]
mov eax, dword [esi + eax - 0x38]
mov dword [ebp - 0xa8], eax
mov eax, dword [edx + 0x28]
mov eax, dword [esi + eax - 0x2c]
mov dword [ebp - 0x9c], eax
je 0x101d3332
mov eax, dword [edx + 0x28]
test byte [esi + eax - 0x2c], 0x20
je 0x101d3332
xor edx, edx
cmp dword [esi + eax - 0x20], edx
je 0x101d3332
mov eax, dword [edi + 0x44]
inc edx
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x44], edx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], edx
mov eax, dword [eax + 0x28]
mov eax, dword [eax + esi - 0x20]
mov dword [ecx + 0x48], eax
xor ecx, ecx
mov eax, dword [ebx + 8]
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0xb8], edi
or ecx, 0xc0
mov dword [ebp - 0xb4], edi
mov edi, dword [ebp - 0x44]
mov dword [eax + 0x50], ecx
lea eax, [ebp - 0xb8]
push eax
push 2
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x38]
push edi
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
mov esi, dword [ebp - 0xb8]
setne cl
mov dword [ebp - 0xc], esi
shl ecx, 5
xor ecx, eax
mov dword [ebp - 0xa0], esi
and ecx, 0x20
xor eax, ecx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x38]
push edi
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
test eax, eax
je 0x101d33e2
mov eax, dword [ebp - 0x54]
sub eax, 0xb
je 0x101d33de
sub eax, 3
je 0x101d33c0
dec eax
jne 0x101d33e2
or dword [ebp - 0x7c], 4
jmp 0x101d33e2
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
cmp esi, 8
sete cl
lea ecx, [ecx*2 + 1]
xor ecx, eax
and ecx, 3
xor eax, ecx
mov dword [ebp - 0x7c], eax
jmp 0x101d33e2
or dword [ebp - 0x7c], 8
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d350a
test dword [ebp - 0x9c], 0x1000
jne 0x101d350a
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 8], eax
cmp eax, 8
ja 0x101d350a
mov edi, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov edx, dword [edi + 0x94]
shr edx, 5
and edx, 1
je 0x101d344e
mov ecx, dword [edi + 0xa4]
mov eax, dword [edi + 0xa0]
and ecx, 7
add eax, 7
add eax, ecx
shr eax, 3
mov dword [ebp - 8], eax
xor eax, eax
test edx, edx
je 0x101d345d
mov esi, dword [edi + 0xa4]
shr esi, 3
jmp 0x101d345f
mov esi, eax
push dword [edi + 0x50]
mov ecx, ebx
call fcn.101dcacd
push 0
add eax, esi
lea ecx, [ebp - 0x98]
pop esi
adc edx, esi
push edx
mov edx, dword [ebp - 8]
push eax
call fcn.101ce3bc
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x6c], esi
je 0x101d34b0
cmp dword [ebp - 0xa0], 4
jne 0x101d34b0
mov eax, dword [ebp - 0x98]
cdq
mov dword [ebp - 0xa0], 8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
jmp 0x101d34bc
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
test byte [ecx + 0x94], 0x20
je 0x101d350a
mov ecx, dword [ecx + 0xa4]
and ecx, 7
call fcn.1026abd0
mov esi, eax
mov edi, edx
mov eax, dword [ebx + 8]
or edx, 0xffffffff
push 0x40
pop ecx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], edi
sub ecx, dword [eax + 0xa0]
or eax, 0xffffffff
call fcn.1026abd0
and esi, eax
and edi, edx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], edi
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x101d3543
mov ecx, dword [ebx + 0xc]
xor edx, edx
imul esi, edi, 0x38
mov eax, dword [ecx + 0x28]
cmp dword [esi + eax - 0x20], edx
je 0x101d3543
test byte [esi + eax - 0x2c], 0x20
jne 0x101d3543
mov eax, dword [esi + eax - 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ecx + 0x28]
push dword [ecx + 0x1c]
lea ecx, [ebp - 0xa8]
push ecx
mov esi, dword [esi + eax - 0x20]
jmp 0x101d3560
mov esi, dword [ebx + 0xc]
xor eax, eax
cmp dword [esi + 0x20], eax
je 0x101d3574
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0xa8]
push dword [esi + 0x1c]
mov esi, dword [esi + 0x20]
push eax
mov ecx, esi
call dword [0x102dc578]
call esi
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
mov dword [ebp - 8], edx
mov dword [eax + 0x50], ecx
jne 0x101d3d6b
cmp dword [ebp + 0x14], 0
je 0x101d35cd
mov eax, dword [ebx + 8]
or dword [eax + 0x94], 0x2000
test edi, edi
je 0x101d35cd
mov eax, dword [ebx + 0xc]
imul ecx, edi, 0x38
mov eax, dword [eax + 0x28]
test byte [eax + ecx - 0x2c], 0x20
je 0x101d35cd
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x14], eax
test edx, 0x2001
jne 0x101d361a
mov esi, edx
and esi, 0x40
jne 0x101d35e7
push 2
xor ecx, ecx
pop edx
inc ecx
call fcn.100d335e
mov eax, dword [ebx + 8]
xor ecx, ecx
mov edi, ecx
movzx eax, word [eax + 0x54]
imul eax, eax, 3
test eax, eax
jle 0x101d3667
test esi, esi
jne 0x101d3608
push 0x1005d9d0
call fcn.100d3a8b
pop ecx
mov eax, dword [ebx + 8]
inc edi
movzx eax, word [eax + 0x54]
imul eax, eax, 3
cmp edi, eax
jl 0x101d35f9
mov edi, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 8]
test dl, 2
jne 0x101d368a
cmp dword [ebp + 0x14], 0
je 0x101d366c
test dl, 0x40
jne 0x101d368a
mov eax, dword [0x102c7ff4]
test eax, eax
je 0x101d3654
cmp dword [eax + 8], 2
je 0x101d3644
cmp dword [eax + 8], 3
jne 0x101d364e
mov ecx, dword [eax + 0x544]
test ecx, ecx
jne 0x101d3654
mov ecx, dword [eax + 0x538]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.100b4821
push eax
push 0x10098e24
jmp 0x101d3680
mov edi, dword [ebp - 0x10]
jmp 0x101d361c
test dl, 0x40
jne 0x101d368a
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x1c]
push eax
push 0x10098e30
call fcn.100d3a8b
mov edx, dword [ebp - 8]
pop ecx
pop ecx
mov esi, edx
and esi, 0x40
jne 0x101d36b9
test edi, edi
je 0x101d36a6
mov eax, dword [ebx + 0xc]
imul ecx, edi, 0x38
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx - 0x34]
test eax, eax
jne 0x101d36a9
mov eax, dword [ebp + 0x10]
push eax
push 0x1005a41c
call fcn.100d3a8b
mov edx, dword [ebp - 8]
pop ecx
pop ecx
test edi, edi
je 0x101d36ce
mov eax, dword [ebx + 0xc]
imul ecx, edi, 0x38
xor edi, edi
mov eax, dword [eax + 0x28]
cmp dword [eax + ecx - 0x34], edi
jne 0x101d3723
test edx, 0x2040
jne 0x101d3723
mov edi, dword [ebp + 0x10]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x5c]
jne 0x101d36de
mov eax, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
jae 0x101d3712
sub eax, ecx
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x101d370c
push 0x1005d9d0
call fcn.100d3a8b
mov eax, dword [ebp - 0x18]
pop ecx
dec eax
mov dword [ebp - 0x18], eax
jne 0x101d36fa
test esi, esi
jne 0x101d3735
push 0x10098e44
call fcn.100d3a8b
pop ecx
jmp 0x101d3735
test esi, esi
jne 0x101d3732
push 0x1005d9d0
call fcn.100d3a8b
pop ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc]
xor esi, esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x18], ecx
test edx, edx
je 0x101d3783
mov eax, dword [eax + 0x28]
imul ecx, edx, 0x38
mov ecx, dword [eax + ecx - 0x2c]
and ecx, 0xf0010
je 0x101d3783
mov eax, dword [ebx + 8]
mov dword [eax + 0x58], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x88]
cmp dword [eax + edx*8 - 4], esi
je 0x101d3783
test byte [ecx + 0x58], 0x10
je 0x101d3783
mov ax, word [eax + edx*8 - 4]
mov word [ecx + 0x28], ax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d38da
mov eax, 0x10098e4c
mov cx, word [edi]
cmp cx, word [eax]
jne 0x101d37bd
test cx, cx
je 0x101d37b9
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x101d37bd
add edi, 4
add eax, 4
test cx, cx
jne 0x101d3797
mov eax, esi
jmp 0x101d37c2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101d38da
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x101d38da
jmp 0x101d37dc
mov eax, ecx
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x101d37da
mov edi, dword [eax + 4]
test edi, edi
je 0x101d38da
mov ecx, 0x100986cc
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x101d381b
test dx, dx
je 0x101d3817
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x101d381b
add eax, 4
add ecx, 4
test dx, dx
jne 0x101d37f5
xor eax, eax
jmp 0x101d3820
sbb eax, eax
or eax, 1
test eax, eax
je 0x101d3890
mov ecx, 0x100986e8
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x101d3851
test dx, dx
je 0x101d384d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x101d3851
add eax, 4
add ecx, 4
test dx, dx
jne 0x101d382b
xor eax, eax
jmp 0x101d3856
sbb eax, eax
or eax, 1
test eax, eax
je 0x101d3890
mov ecx, 0x100986f8
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x101d3887
test dx, dx
je 0x101d3883
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x101d3887
add eax, 4
add ecx, 4
test dx, dx
jne 0x101d3861
xor eax, eax
jmp 0x101d388c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101d38da
xor eax, eax
push 0x55
pop ecx
cmp word [edi + 2], cx
mov ecx, ebx
sete al
dec eax
and eax, 0xffff0000
add eax, 0x20000
or dword [esi + 0x58], eax
mov esi, dword [ebx + 8]
push dword [esi + 0x50]
call fcn.101dcacd
add eax, 0xfffffffc
lea ecx, [esi + 0x30]
adc edx, 0xffffffff
push edx
push eax
push 2
pop edx
call fcn.101ce3bc
push 0x55
pop eax
cmp word [edi + 2], ax
jne 0x101d38da
mov eax, dword [ebx + 8]
shl word [eax + 0x30], 1
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x101d38f1
mov eax, dword [ebx + 0xc]
imul ecx, edi, 0x38
mov eax, dword [eax + 0x28]
test byte [eax + ecx - 0x2c], 4
jne 0x101d38f7
cmp dword [ebp - 0x14], 0
je 0x101d390a
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 8]
add eax, 0x100
and eax, 0xf00
or dword [ecx + 0x50], eax
test edi, edi
je 0x101d3954
mov eax, dword [ebx + 0xc]
imul edx, edi, 0x38
mov eax, dword [eax + 0x28]
test byte [eax + edx - 0x2c], 0x20
je 0x101d3954
xor ecx, ecx
cmp dword [eax + edx - 0x20], ecx
je 0x101d3954
cmp dword [ebp - 0x4c], ecx
jne 0x101d393a
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
mov dword [eax + 0x44], 1
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + edx - 0x20]
mov dword [ecx + 0x48], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebp + 8]
or dword [eax + 0x94], 0x400
lea eax, [ebp - 0xcc]
push eax
push 0xe
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
test eax, eax
je 0x101d39b5
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 2
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
push dword [ebp - 0xcc]
mov ecx, ebx
push dword [ebp - 0x50]
push esi
push dword [ebp + 0xc]
call fcn.101d252c
jmp 0x101d39bf
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.101d614d
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov dword [eax + 0x50], ecx
mov eax, dword [ebx + 8]
and dword [eax + 0x94], 0xfffffbff
test edi, edi
je 0x101d3a25
mov eax, dword [ebx + 0xc]
imul esi, edi, 0x38
mov edi, dword [eax + 0x28]
test dword [edi + esi - 0x2c], 0x2000
jne 0x101d3a09
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add edx, dword [ecx + 0x38]
adc eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x2c]
mov dword [edi + esi - 0x28], edx
mov dword [edi + esi - 0x24], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
test dword [eax + esi - 0x2c], 0xf0010
je 0x101d3a25
mov eax, dword [ebx + 8]
mov dword [ebp - 8], ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d3bb5
test edi, edi
je 0x101d3bb5
mov ecx, dword [ecx + 0x28]
imul edi, edi, 0x38
test byte [ecx + edi - 0x2c], 0x20
je 0x101d3a9b
mov ecx, dword [ecx + edi - 0x20]
test ecx, ecx
je 0x101d3a9b
cmp dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x28]
je 0x101d3a83
test esi, esi
je 0x101d3a83
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x48]
sub eax, ecx
push eax
push ecx
push esi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov ecx, dword [eax + 0x28]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x48]
sub eax, dword [ecx + edi - 0x20]
add esi, eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x44], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x48], esi
mov eax, dword [ebx + 8]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
test dword [eax + edi - 0x2c], 0x1000
jne 0x101d3bb8
cmp edx, 8
ja 0x101d3bb8
xor ecx, ecx
mov dword [eax + edi - 0x28], ecx
mov dword [eax + edi - 0x24], ecx
mov esi, dword [ebx + 8]
mov edx, dword [esi + 0x94]
shr edx, 5
and edx, 1
je 0x101d3af1
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
and ecx, 7
add eax, 7
add eax, ecx
shr eax, 3
xor ecx, ecx
jmp 0x101d3af4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
test edx, edx
je 0x101d3b09
mov eax, dword [esi + 0xa4]
shr eax, 3
mov dword [ebp - 0x30], eax
jmp 0x101d3b0c
mov dword [ebp - 0x30], ecx
push dword [esi + 0x50]
mov ecx, ebx
call fcn.101dcacd
add eax, dword [ebp - 0x30]
push 0
pop esi
adc edx, esi
push edx
mov edx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x28]
add ecx, 0xffffffd8
add ecx, edi
call fcn.101ce3bc
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
cmp dword [eax + 0x6c], esi
je 0x101d3b60
cmp edx, 4
jne 0x101d3b60
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xc], 8
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + edi - 0x28]
cdq
mov dword [ecx + edi - 0x28], eax
mov dword [ecx + edi - 0x24], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebx + 8]
test byte [ecx + 0x94], 0x20
je 0x101d3bb8
mov eax, dword [ebx + 0xc]
mov ecx, dword [ecx + 0xa4]
and ecx, 7
mov esi, dword [eax + 0x28]
mov eax, dword [esi + edi - 0x28]
mov edx, dword [esi + edi - 0x24]
call fcn.1026abd0
mov dword [esi + edi - 0x28], eax
mov dword [esi + edi - 0x24], edx
or edx, 0xffffffff
mov eax, dword [ebx + 0xc]
push 0x40
pop ecx
mov esi, dword [eax + 0x28]
mov eax, dword [ebx + 8]
sub ecx, dword [eax + 0xa0]
or eax, 0xffffffff
call fcn.1026abd0
and dword [esi + edi - 0x28], eax
and dword [esi + edi - 0x24], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebx + 8]
xor eax, eax
cmp word [ecx + 0x54], ax
mov eax, dword [ebx + 0xc]
je 0x101d3bcb
mov dword [eax + 0x3c], edx
jmp 0x101d3be8
xor esi, esi
cmp dword [eax + 0x24], esi
je 0x101d3be8
imul ecx, dword [ecx + 0x80], 0x38
add ecx, dword [eax + 0x28]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x38]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x101d3cef
mov eax, dword [ebx + 0xc]
imul esi, ecx, 0x38
mov eax, dword [eax + 0x28]
test dword [eax + esi - 0x2c], 0x2000
jne 0x101d3c0a
mov dword [eax + esi - 0x30], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
mov eax, dword [edx + 0x38]
mov dword [ecx + esi - 0x18], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x28]
mov dword [eax + esi - 0x1c], edi
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x28]
and dword [eax + esi - 0xc], 0xfffffffc
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x28]
xor eax, eax
cmp dword [ebp + 0x14], eax
setne al
shl eax, 5
xor eax, dword [ecx + esi - 0xc]
and eax, 0x20
xor dword [ecx + esi - 0xc], eax
mov edx, dword [ebx + 8]
test byte [edx + 0x94], 0x20
je 0x101d3c83
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x28]
mov ax, word [edx + 0xa0]
mov word [ecx + esi - 0xe], ax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + 0x28]
mov ax, word [edx + 0xa4]
mov word [ecx + esi - 0x10], ax
jmp 0x101d3caa
cmp dword [edx + 0x6c], 0
je 0x101d3caa
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x28]
xor eax, eax
cmp dword [edx + 0x6c], 8
sete al
lea eax, [eax*2 + 1]
xor eax, dword [ecx + esi - 0xc]
and eax, 3
xor dword [ecx + esi - 0xc], eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
call dword [sym.imp.dbghelp.dll_SymGetTypeInfo]
test eax, eax
je 0x101d3cec
cmp dword [ebp - 0x54], 0xb
je 0x101d3ce1
cmp dword [ebp - 0x54], 0xf
mov ecx, dword [ebp - 0x10]
jne 0x101d3cef
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x28]
or dword [eax + esi - 0xc], 4
jmp 0x101d3cef
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x28]
or dword [eax + esi - 0xc], 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
xor edx, edx
cmp dword [eax + 0x24], edx
je 0x101d3d3c
test ecx, ecx
je 0x101d3d3c
cmp dword [ebp - 0x58], edx
jne 0x101d3d3c
mov edx, dword [eax + 0x28]
imul ecx, ecx, 0x38
test byte [edx + ecx - 0x2c], 2
jne 0x101d3d3c
mov esi, dword [edx + ecx - 0x20]
test esi, esi
je 0x101d3d35
test byte [edx + ecx - 0x2c], 0x20
jne 0x101d3d35
push dword [eax + 0x1c]
lea eax, [edx - 0x38]
add eax, ecx
mov ecx, esi
push eax
call dword [0x102dc578]
call esi
mov edx, eax
jmp 0x101d3d3f
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x101d3d1e
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 8]
test eax, 0x2000
je 0x101d3d6b
test edx, edx
jne 0x101d3d6b
test al, 0x40
jne 0x101d3d6b
push 0x10068064
call fcn.100d3a8b
pop ecx
mov ecx, dword [ebx + 8]
add ecx, 0x60
call fcn.101ce5d4
mov ecx, dword [ebx + 8]
xor eax, eax
cmp dword [ebp - 0xac], eax
setne al
add eax, eax
xor eax, dword [ecx + 0x94]
and eax, 2
xor dword [ecx + 0x94], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x50], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 0x58], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x70], ecx
xor ecx, ecx
mov eax, dword [ebx + 8]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x60]
and dword [eax + 0x94], 0xffffffdf
mov eax, dword [ebx + 8]
and dword [eax + 0x94], 0xffffdfff
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10236010
mov esp, ebp
pop ebp
ret 0x10