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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
test byte [ebx + 0x18], 1
push edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
je 0x10175b07
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
xor eax, eax
cmp edx, esi
jbe 0x10175b03
mov ecx, dword [edi + eax*4]
mov dword [ecx + 0x10], eax
inc eax
cmp eax, edx
jb 0x10175af8
and dword [ebx + 0x18], 0xfffffffe
mov edx, dword [ebx + 4]
mov dword [ebp - 8], esi
cmp edx, esi
jbe 0x10175b1b
mov eax, dword [ebx + 0x7f24]
mov eax, dword [eax]
jmp 0x10175b1d
xor eax, eax
xor ecx, ecx
cmp edx, esi
jbe 0x10175b54
mov edi, 0xfffffeff
jmp 0x10175b30
mov edx, dword [eax + 0x14]
and dword [eax + 0x10], edi
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 4]
inc ecx
cmp ecx, edx
jb 0x10175b47
xor eax, eax
mov ecx, edx
jmp 0x10175b50
mov eax, dword [ebx + 0x7f24]
mov eax, dword [eax + ecx*4]
cmp ecx, edx
jb 0x10175b30
mov ecx, dword [ebx + 8]
cmp ecx, esi
jbe 0x10175b65
mov edx, dword [ebx + 0x7f2c]
mov eax, dword [edx]
jmp 0x10175b67
xor eax, eax
xor edi, edi
cmp ecx, esi
jbe 0x10175bcc
lea ecx, [ecx]
xor ecx, ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x58], ecx
or esi, 0xffffffff
mov dword [eax + 0x4c], esi
mov dword [eax + 0x54], esi
and dword [eax + 0xc], 0xfffffffb
mov edx, dword [eax + 8]
and dword [eax + 0xc], 0xfffffff7
and dword [eax + 0xc], 0xffffffef
mov dword [eax + 8], edx
mov edx, dword [eax + 0xc]
and edx, 0x40
mov dword [eax + 0x5c], ecx
mov byte [eax + 0x2c], cl
or ecx, edx
je 0x10175baf
cmp dword [eax + 0x60], esi
jne 0x10175baf
push eax
push ebx
call fcn.10175770
mov ecx, dword [ebx + 8]
inc edi
cmp edi, ecx
jb 0x10175bbd
xor eax, eax
mov edi, ecx
jmp 0x10175bc6
mov eax, dword [ebx + 0x7f2c]
mov eax, dword [eax + edi*4]
cmp edi, ecx
jb 0x10175b70
xor esi, esi
mov eax, dword [ebx + 0x8238]
cmp eax, esi
je 0x10175bee
mov edx, dword [ebx + 0x8230]
lea ecx, [eax*4]
push ecx
push esi
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebx + 0xc]
cmp eax, esi
jbe 0x10175bff
mov ecx, dword [ebx + 0x7f34]
mov edi, dword [ecx]
jmp 0x10175c01
xor edi, edi
mov dword [ebp - 0x1c], esi
cmp eax, esi
jbe 0x10175cf6
lea esp, [esp]
mov edx, dword [edi + 0x50]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov eax, ecx
and eax, 0x8000000
xor esi, esi
or eax, esi
jne 0x10175c6b
mov eax, ecx
and eax, 0x100010
cmp eax, 0x10
jne 0x10175c5e
test esi, esi
jne 0x10175c5e
and ecx, 0x80000000
xor eax, eax
or ecx, eax
je 0x10175c4f
mov ecx, dword [ebp - 0x24]
and ecx, 2
or eax, ecx
je 0x10175c5e
mov ecx, dword [edi + 0x44]
or dword [edi + 0x40], 0x20000
mov dword [edi + 0x44], ecx
jmp 0x10175c6b
mov eax, dword [edi + 0x44]
and dword [edi + 0x40], 0xfffdffff
mov dword [edi + 0x44], eax
or eax, 0xffffffff
cmp dword [edi + 0x7c], eax
je 0x10175c77
mov byte [edx + 0x2c], 1
xor ecx, ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x88], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x78], edi
mov eax, dword [edx + 8]
and eax, 8
or eax, ecx
je 0x10175ccd
mov ecx, dword [edi + 0x44]
push 0xc
push 0
mov esi, 0xff7fffff
and dword [edi + 0x40], esi
push 0
mov eax, edi
mov dword [edi + 0x44], ecx
call fcn.10166220
mov dword [ebp - 8], eax
test eax, eax
jl 0x10176666
mov edx, dword [edi + 0x44]
and dword [edi + 0x40], esi
mov dword [edi + 0x44], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xc]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jb 0x10175ce4
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x1c], eax
jmp 0x10175ced
mov ecx, dword [ebx + 0x7f34]
mov edi, dword [ecx + eax*4]
cmp eax, dword [ebx + 0xc]
jb 0x10175c10
test byte [ebx + 0x812c], 4
je 0x10175efb
mov ecx, dword [ebx + 8]
xor esi, esi
cmp ecx, esi
jbe 0x10175d16
mov edx, dword [ebx + 0x7f2c]
mov edx, dword [edx]
jmp 0x10175d18
xor edx, edx
xor eax, eax
cmp ecx, esi
jbe 0x10175d3f
mov edi, edi
mov dword [edx + 0x1c], esi
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
jb 0x10175d31
xor edx, edx
mov eax, ecx
jmp 0x10175d3a
mov ecx, dword [ebx + 0x7f2c]
mov edx, dword [ecx + eax*4]
cmp eax, dword [ebx + 8]
jb 0x10175d20
or esi, 0xffffffff
inc esi
cmp esi, dword [ebx + 8]
jae 0x10175dd4
mov edx, dword [ebx + 0x7f2c]
mov edx, dword [edx + esi*4]
cmp dword [edx + 0x24], 0
je 0x10175d42
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov eax, ecx
and eax, 2
xor edi, edi
or eax, edi
je 0x10175d42
and ecx, 0x40
xor eax, eax
or ecx, eax
jne 0x10175d42
mov edx, dword [edx + 0x24]
mov edi, dword [edx]
lea ecx, [ecx]
mov eax, dword [edx + 0x50]
mov edx, dword [edx + 0x60]
lea ecx, [edx + 1]
cmp dword [eax + 0x1c], ecx
jae 0x10175d91
mov dword [eax + 0x1c], ecx
test edi, edi
je 0x10175da0
mov edx, edi
mov edi, dword [edi]
jmp 0x10175d80
inc esi
cmp esi, dword [ebx + 8]
jae 0x10175dd4
mov ecx, dword [ebx + 0x7f2c]
mov edx, dword [ecx + esi*4]
cmp dword [edx + 0x24], 0
je 0x10175da0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov eax, ecx
and eax, 2
xor edi, edi
or eax, edi
je 0x10175da0
and ecx, 0x40
xor eax, eax
or ecx, eax
jne 0x10175da0
jmp 0x10175d78
mov edx, dword [ebx + 8]
xor esi, esi
test edx, edx
jbe 0x10175de7
mov ecx, dword [ebx + 0x7f2c]
mov ecx, dword [ecx]
jmp 0x10175de9
xor ecx, ecx
xor eax, eax
test edx, edx
jbe 0x10175e0c
mov edi, edx
add esi, dword [ecx + 0x1c]
inc eax
cmp eax, edx
jb 0x10175dff
xor ecx, ecx
mov eax, edx
jmp 0x10175e08
mov ecx, dword [ebx + 0x7f2c]
mov ecx, dword [ecx + eax*4]
cmp eax, edi
jb 0x10175df1
lea ecx, [esi*4]
mov dword [ebp - 0xc], ecx
cmp ecx, 0x3ffffffd
jbe 0x10175e25
mov eax, 0x80070216
jmp 0x10175e95
lea eax, [ecx*4]
test eax, eax
jne 0x10175e35
mov eax, 4
add ebx, 0x8164
mov dword [ebp - 0x2c], eax
mov edi, eax
test eax, eax
ja 0x10175e49
mov edi, 1
mov eax, dword [ebx]
test eax, eax
je 0x10175e59
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
cmp edi, edx
jbe 0x10175e6a
mov ecx, edi
mov esi, ebx
call fcn.100daf50
test eax, eax
je 0x10175e6a
xor eax, eax
jmp 0x10175e7e
mov ecx, dword [ebx]
test ecx, ecx
je 0x10175e79
mov eax, dword [ecx + 8]
lea eax, [eax + ecx + 0x10]
jmp 0x10175e7b
xor eax, eax
add dword [ecx + 8], edi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
mov dword [ebp - 8], eax
test eax, eax
jl 0x10176666
test ecx, ecx
jbe 0x10175eac
mov edi, dword [ebp - 0x38]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
xor esi, esi
test ecx, ecx
jbe 0x10175ebf
mov edx, dword [ebx + 0x7f2c]
mov edx, dword [edx]
jmp 0x10175ec1
xor edx, edx
xor eax, eax
test ecx, ecx
jbe 0x10175efb
mov edi, dword [edx + 0x1c]
test edi, edi
je 0x10175ed8
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x38]
jmp 0x10175eda
xor ecx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [ebx + 8]
inc eax
add esi, edi
cmp eax, ecx
jb 0x10175eed
xor edx, edx
mov eax, ecx
jmp 0x10175ef6
mov ecx, dword [ebx + 0x7f2c]
mov edx, dword [ecx + eax*4]
cmp eax, dword [ebx + 8]
jb 0x10175ec7
mov eax, dword [ebx + 0x10]
test eax, eax
jbe 0x10175f09
mov edx, dword [ebx + 0x14]
mov esi, dword [edx]
jmp 0x10175f0b
xor esi, esi
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp eax, edi
jbe 0x10175f71
test esi, esi
je 0x10175f46
test dword [esi + 0x3c], 0xf0000000
je 0x10175f46
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10175f46
jmp 0x10175f30
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [eax + ebx*4]
push esi
push ecx
call fcn.101753d0
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10175f30
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jb 0x10175f60
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x1c], eax
jmp 0x10175f66
mov ecx, dword [edx + 0x14]
mov esi, dword [ecx + eax*4]
cmp eax, dword [edx + 0x10]
jb 0x10175f14
xor edi, edi
mov ebx, edx
jmp 0x10175f74
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
cmp eax, edi
jbe 0x10175f82
mov edx, dword [ebx + 0x14]
mov esi, dword [edx]
jmp 0x10175f84
xor esi, esi
mov dword [ebp - 0x24], edi
cmp eax, edi
jbe 0x10176459
nop
test esi, esi
je 0x1017642c
mov edi, dword [esi + 0x3c]
test edi, 0xf0000000
je 0x1017642c
mov eax, edi
and eax, 0xfff00000
cmp eax, 0x22900000
je 0x101760b6
cmp eax, 0x11f00000
je 0x101760b6
cmp eax, 0x20700000
jne 0x10176070
and edi, 0xfffff
mov dword [ebp - 0x14], edi
mov ebx, 0
jbe 0x101760b6
lea eax, [edi*4]
mov dword [ebp - 0xc], eax
lea ecx, [ecx]
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [edx + ecx]
mov edx, dword [eax + 0x68]
cmp edx, 0xffffffff
je 0x1017601d
mov edx, dword [edx + 0xf0]
cmp dword [eax + 0x1c], edx
jae 0x10176012
mov dword [eax + 0x1c], edx
mov edx, dword [esi + 0x10]
cmp dword [eax + 0x18], edx
jbe 0x1017601d
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x68]
cmp edx, 0xffffffff
je 0x1017603e
mov edx, dword [edx + 0xf4]
cmp dword [ecx + 0x1c], edx
jae 0x10176033
mov dword [ecx + 0x1c], edx
mov edx, dword [esi + 0x10]
cmp dword [ecx + 0x18], edx
jbe 0x1017603e
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x24]
test edx, edx
je 0x1017604b
mov edi, dword [eax + 0x20]
mov dword [edx + edi*4], esi
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x10176058
mov edi, dword [ecx + 0x20]
mov dword [edx + edi*4], esi
add dword [ebp - 0xc], 4
mov edx, 1
add dword [eax + 0x20], edx
add dword [ecx + 0x20], edx
add ebx, edx
cmp ebx, dword [ebp - 0x14]
jb 0x10175ff0
jmp 0x101760b6
cmp eax, 0x50600000
ja 0x1017610f
je 0x10176121
cmp eax, 0x50400000
je 0x10176121
cmp eax, 0x50500000
je 0x10176121
xor edi, edi
cmp dword [esi], edi
jbe 0x101760b6
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 4]
mov eax, dword [edx + edi*4]
push esi
push 0
push eax
mov ecx, ebx
call fcn.101752c0
inc edi
cmp edi, dword [esi]
jb 0x101760a0
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x101760d6
lea ecx, [ecx]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [ecx + ebx*4]
push esi
push edx
call fcn.101753d0
inc ebx
cmp ebx, dword [esi + 8]
jb 0x101760c0
mov eax, dword [ebp + 8]
test byte [eax + 0x812c], 0x10
jne 0x101763b8
mov ecx, dword [esi + 0x3c]
mov eax, ecx
and eax, 0xfff00000
cmp eax, 0x50600000
ja 0x1017614b
je 0x10176322
cmp eax, 0x50400000
je 0x10176322
cmp eax, 0x50500000
jmp 0x1017615b
cmp eax, 0x50800000
je 0x10176121
cmp eax, 0x50900000
jne 0x10176097
and edi, 0xfffff
cmp edi, dword [esi]
jae 0x101760b6
mov ebx, dword [ebp + 8]
mov edi, edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
push esi
push 0
push ecx
mov ecx, ebx
call fcn.101752c0
inc edi
cmp edi, dword [esi]
jb 0x10176130
jmp 0x101760b6
cmp eax, 0x50800000
je 0x10176322
cmp eax, 0x50900000
je 0x10176322
cmp eax, 0x80000000
je 0x10176322
shr ecx, 0x1c
cmp ecx, 1
jb 0x10176244
cmp ecx, 4
ja 0x10176244
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 0
jbe 0x101763b8
mov ecx, dword [esi + 0x3c]
mov edx, ecx
and edx, 0xfff00000
cmp edx, 0x50a00000
je 0x101763b8
mov ebx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
add ebx, ebx
add ebx, ebx
mov edx, dword [ebx + eax]
mov eax, ecx
and eax, 0xfff00000
mov dword [ebp - 0x1c], edx
cmp eax, 0x11f00000
je 0x1017622f
mov eax, dword [esi]
and ecx, 0xfffff
xor edx, edx
div ecx
mov byte [ebp - 1], 1
test eax, eax
jbe 0x1017621f
mov edi, dword [esi + 4]
add ecx, ecx
add ecx, ecx
add edi, ebx
mov dword [ebp - 0x14], ecx
mov ebx, eax
lea esp, [esp]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
je 0x10176206
mov eax, dword [ecx + 0x7c]
cmp eax, 0xffffffff
je 0x10176206
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x101761f7
call fcn.10168370
test al, al
jne 0x10176212
mov byte [ebp - 1], al
add edi, dword [ebp - 0x14]
sub ebx, 1
jne 0x101761f0
cmp byte [ebp - 1], bl
je 0x1017622f
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x44]
or dword [eax + 0x40], 0x20000
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [esi + 8]
jb 0x10176192
jmp 0x101763b8
mov dl, 1
xor edi, edi
mov byte [ebp - 1], dl
mov dword [ebp - 0xc], 0xffffffff
cmp eax, 0x90100000
je 0x101762ac
cmp eax, 0x90000000
je 0x101762ac
cmp eax, 0x51500000
ja 0x10176277
je 0x101762ac
cmp eax, 0x51300000
je 0x101762ac
cmp eax, 0x51400000
jmp 0x10176283
cmp eax, 0x51900000
je 0x101762ac
cmp eax, 0x51a00000
je 0x101762ac
cmp eax, 0x51800000
ja 0x1017629e
je 0x101762ac
cmp eax, 0x51600000
je 0x101762ac
cmp eax, 0x51700000
je 0x101762ac
jmp 0x101762ae
cmp eax, 0x51b00000
je 0x101762ac
cmp eax, 0x51c00000
jne 0x101762ae
mov edi, dword [esi]
cmp ecx, 0xb
jne 0x101762ba
mov dword [ebp - 0xc], 1
mov ebx, dword [esi]
cmp edi, ebx
jae 0x101762f3
cmp edi, dword [ebp - 0xc]
je 0x101762eb
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
cmp ecx, 0xffffffff
je 0x101762df
mov eax, dword [ecx + 0x7c]
cmp eax, 0xffffffff
je 0x101762df
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x101762d0
call fcn.10168370
test al, al
jne 0x101762eb
mov byte [ebp - 1], al
inc edi
cmp edi, ebx
jb 0x101762c0
mov dl, byte [ebp - 1]
xor ecx, ecx
cmp dword [esi + 8], ecx
jbe 0x101763b8
mov edi, edi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
test dl, dl
je 0x10176317
mov edi, dword [eax + 0x44]
or dword [eax + 0x40], 0x20000
mov dword [eax + 0x44], edi
inc ecx
cmp ecx, dword [esi + 8]
jb 0x10176300
jmp 0x101763b8
and ecx, 0xfffff
mov dword [ebp - 0x1c], ecx
mov ecx, 0
mov dword [ebp - 0xc], ecx
jbe 0x101763a6
mov edx, dword [esi + 4]
mov edi, dword [edx + ecx*4]
cmp edi, 0xffffffff
je 0x1017634f
mov eax, dword [edi + 0x7c]
cmp eax, 0xffffffff
je 0x1017634f
mov edi, eax
cmp edi, 0xffffffff
jne 0x10176340
mov eax, dword [esi + 0x3c]
and eax, 0xfffff
add eax, ecx
mov ecx, dword [edx + eax*4]
cmp ecx, 0xffffffff
je 0x10176370
mov eax, dword [ecx + 0x7c]
cmp eax, 0xffffffff
je 0x10176370
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x10176361
call fcn.10168370
test al, al
je 0x10176380
mov eax, 0x20000
jmp 0x10176382
xor eax, eax
mov ebx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
xor ecx, ecx
or ebx, ecx
mov ecx, dword [ebp - 0xc]
and edx, 0xfffdffff
inc ecx
or edx, eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], ebx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x1c]
jb 0x10176335
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
or dword [eax + 0x40], 0x20000
mov dword [eax + 0x44], ecx
mov edx, dword [esi + 0x3c]
and edx, 0xfff00000
cmp edx, 0x10000000
jne 0x1017642c
mov eax, dword [ebp + 8]
test byte [eax + 0x8124], 4
jne 0x1017642c
xor edx, edx
cmp dword [esi + 8], edx
jbe 0x1017642c
lea esp, [esp]
mov ecx, dword [esi + 0xc]
mov edi, dword [ecx + edx*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4]
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
and eax, 0x1020
xor ebx, ebx
or eax, ebx
jne 0x10176426
and ecx, 1
or ecx, eax
je 0x10176426
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x80], ebx
jne 0x10176426
mov ebx, dword [eax + 0x78]
mov ecx, dword [edi + 0x78]
mov dword [edi + 0x78], ebx
mov dword [eax + 0x78], ecx
inc edx
cmp edx, dword [esi + 8]
jb 0x101763e0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, ecx
jb 0x10176446
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x24], eax
jmp 0x1017644c
mov ecx, dword [edx + 0x14]
mov esi, dword [ecx + eax*4]
cmp eax, dword [edx + 0x10]
jb 0x10175f90
xor edi, edi
mov ebx, edx
mov ecx, dword [ebx + 8]
cmp ecx, edi
jbe 0x1017646a
mov edx, dword [ebx + 0x7f2c]
mov eax, dword [edx]
jmp 0x1017646c
xor eax, eax
mov dword [ebp - 0x24], edi
cmp ecx, edi
jbe 0x10176570
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0xc]
mov esi, ecx
and esi, 8
xor edx, edx
or edx, esi
jne 0x10176492
and ecx, 0x10
or edx, ecx
je 0x101764d2
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x101764d2
lea esp, [esp]
mov edx, dword [eax + 0x4c]
cmp dword [ecx + 0x18], edx
jbe 0x101764ab
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x50]
cmp dword [ecx + 0x1c], edx
jae 0x101764b6
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x54]
cmp dword [ecx + 0x18], edx
jbe 0x101764c1
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x58]
cmp dword [ecx + 0x1c], edx
jae 0x101764cc
mov dword [ecx + 0x1c], edx
mov ecx, dword [ecx]
cmp ecx, edi
jne 0x101764a0
mov edx, dword [eax + 0xc]
and edx, 0x200
xor ecx, ecx
or ecx, edx
je 0x10176548
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x10176548
jmp 0x101764f0
mov esi, dword [ecx + 0xa0]
cmp esi, 0xffffffff
je 0x10176542
mov edx, dword [ecx + 0x9c]
add edx, esi
cmp edx, dword [ebx + 0x8238]
jae 0x10176516
mov esi, dword [ebx + 0x8230]
lea edx, [esi + edx*4]
jmp 0x10176518
xor edx, edx
test byte [edx], 1
je 0x10176542
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], edi
mov edx, dword [eax + 8]
or dword [eax + 0xc], 4
mov dword [eax + 8], edx
mov edx, dword [eax + 0x18]
cmp edx, 0xffffffff
je 0x10176542
mov esi, dword [edx + 0x14]
or dword [edx + 0x10], 0x100
mov dword [edx + 0x14], esi
mov ecx, dword [ecx]
cmp ecx, edi
jne 0x101764f0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 8]
inc edx
mov dword [ebp - 0x24], edx
cmp edx, ecx
jb 0x1017655f
mov edx, ecx
xor eax, eax
mov dword [ebp - 0x24], edx
jmp 0x10176568
mov eax, dword [ebx + 0x7f2c]
mov eax, dword [eax + edx*4]
cmp edx, ecx
jb 0x10176477
mov eax, dword [ebx + 8]
cmp eax, edi
jbe 0x1017657f
mov ecx, dword [ebx + 0x7f2c]
mov edi, dword [ecx]
xor ebx, ebx
test eax, eax
jbe 0x101765c8
cmp dword [edi + 0x64], 0xffffffff
je 0x101765aa
mov esi, dword [edi + 0x24]
test esi, esi
je 0x101765aa
mov edx, dword [esi + 0x18]
mov eax, dword [edi + 0x64]
mov ecx, dword [ebp + 8]
push 0
push edx
push eax
call fcn.101752c0
mov esi, dword [esi]
test esi, esi
jne 0x10176592
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
inc ebx
cmp ebx, eax
jb 0x101765bb
xor edi, edi
mov ebx, eax
jmp 0x101765c4
mov edx, dword [ecx + 0x7f2c]
mov edi, dword [edx + ebx*4]
cmp ebx, eax
jb 0x10176585
mov edi, dword [ebp + 8]
test byte [edi + 0x812c], 4
je 0x10176655
mov eax, dword [edi + 8]
test eax, eax
jbe 0x101765e9
mov ecx, dword [edi + 0x7f2c]
mov ecx, dword [ecx]
jmp 0x101765eb
xor ecx, ecx
xor esi, esi
test eax, eax
jbe 0x10176655
mov eax, dword [ecx + 8]
and eax, 2
xor edx, edx
or eax, edx
je 0x1017663a
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x1017663a
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1017661c
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 0xc]
cmp edx, ecx
ja 0x1017661c
inc ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
cmp ecx, 0xffffffff
je 0x10176634
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x14], edx
mov ecx, dword [ecx + 0xc]
cmp edx, ecx
jbe 0x10176634
mov dword [eax + 0x14], ecx
mov eax, dword [eax]
test eax, eax
jne 0x10176604
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jb 0x10176648
xor ecx, ecx
mov esi, eax
jmp 0x10176651
mov edx, dword [edi + 0x7f2c]
mov ecx, dword [edx + esi*4]
cmp esi, eax
jb 0x101765f1
test byte [edi + 0x812c], 2
je 0x10176666
mov eax, edi
push eax
call fcn.10175480
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
add edi, 0x8164
cmp dword [ebp - 0x38], 0
je 0x101766a0
test eax, eax
ja 0x10176681
mov eax, 1
mov ebx, dword [edi]
cmp eax, dword [ebx + 8]
jae 0x10176697
sub dword [ebx + 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx]
mov dword [edi], ecx
call fcn.100daed0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4