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

Disassembly:
mov eax, 0x1006cb5a
call fcn.0066d8e8
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp byte [esi + 0x110], 0
jne 0x631b38
mov ecx, dword [esi + 0x24]
cmp ecx, edi
jne 0x6317cd
cmp byte [esi + 0x48], 0
jne 0x631740
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.0066d94c
cmp dword [esi + 0x38], edi
je 0x63175a
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.0066d94c
lea ecx, [ebp - 0x74]
call fcn.00631cdb
push 1
lea eax, [ebp - 0x74]
pop ebx
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], 0x6f10701
mov dword [ebp - 0x58], edi
call fcn.00631d8f
push ebx
lea ecx, [esi + 0x58]
pop eax
push eax
push ebx
pop eax
push eax
call fcn.00621223
push edi
lea ecx, [esi + 0x80]
call fcn.0063016e
push edi
lea ecx, [esi + 0x94]
call fcn.0063016e
mov dword [ebp - 0x74], 0x10072a6c
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call fcn.0061a008
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00619fdf
jmp 0x631acd
cmp ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jle 0x63186f
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x38], 0
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [ebp - 0x20], edi
jne 0x63184e
dec ecx
cmp edx, ecx
jge 0x63180e
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, ebx
lea ecx, [esi + 0x6c]
push eax
call fcn.00621223
jmp 0x631828
lea edi, [esi + 0x94]
push 0
mov ecx, edi
call fcn.0061a142
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax], ecx
push 1
pop eax
cmp edi, eax
mov dword [ebp - 0x1c], eax
jbe 0x63184e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
lea ecx, [esi + 0x94]
push eax
call fcn.0063016e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jb 0x631832
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], edi
push edi
push ebx
lea ecx, [esi + 0x58]
call fcn.00621223
mov ecx, dword [esi + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x6317de
xor edi, edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x631915
and dword [ebp - 0x10], 0
test eax, eax
jle 0x6318d9
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add eax, dword [esi + 0x3c]
mov ebx, dword [eax]
test ebx, ebx
jbe 0x63189f
mov edx, dword [esi + 0x64]
add ecx, dword [edx]
add edx, 8
dec ebx
jne 0x631897
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor ebx, ebx
test edi, edi
jbe 0x6318bb
mov ecx, dword [esi + 0x64]
add ecx, 4
add ebx, dword [ecx]
add ecx, 8
dec edi
jne 0x6318b3
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x6c]
add eax, ebx
push eax
push edx
call fcn.00621223
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
cmp eax, dword [esi + 0x38]
jl 0x631886
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x631915
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x6318fb
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x6318fe
inc edx
add eax, 8
cmp edx, ecx
jl 0x6318ef
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x63190f
push edi
lea ecx, [esi + 0x94]
call fcn.0063016e
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x6318e0
xor edi, edi
cmp dword [ebp - 0x18], edi
jle 0x63194e
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x631934
mov eax, dword [esi + 0x78]
cmp dword [eax], edi
je 0x631937
inc edx
add eax, 8
cmp edx, ecx
jl 0x631928
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x631948
push edi
lea ecx, [esi + 0x80]
call fcn.0063016e
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x63191c
cmp dword [esi + 0x88], 0
jne 0x63196c
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.0066d94c
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.006312db
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0x63199c
mov eax, dword [esi + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x631994
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x6319b7
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x6319c6
inc edx
add eax, 8
cmp edx, ecx
jl 0x6319ab
or eax, 0xffffffff
test eax, eax
jl 0x6319ca
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*8]
jmp 0x631974
mov eax, edx
jmp 0x6319ba
mov ecx, dword [esi + 0x9c]
xor edx, edx
test ecx, ecx
jle 0x631a0c
mov eax, dword [esi + 0xa0]
cmp dword [eax], edi
je 0x6319ea
inc edx
add eax, 4
cmp edx, ecx
jl 0x6319dc
jmp 0x631a0c
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x94]
push 1
push edx
mov ecx, ebx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.0061a142
mov eax, dword [ebx + 0xc]
mov dword [eax], edi
cmp byte [esi + 0x48], 0
je 0x631acd
mov edi, dword [esi + 0x9c]
xor ebx, ebx
test edi, edi
mov dword [ebp - 0x1c], edi
jle 0x631a41
mov ecx, dword [esi + 0xa0]
mov eax, dword [ebp - 0x18]
add eax, ebx
push dword [ecx + ebx*4]
lea ecx, [esi + 0x6c]
push eax
call fcn.00621223
inc ebx
cmp ebx, edi
jl 0x631a25
lea ecx, [esi + 0x94]
call fcn.0061a008
xor ebx, ebx
test edi, edi
jle 0x631acd
mov edi, 0x10072a6c
push 4
lea ecx, [ebp - 0x4c]
call fcn.00614ba9
mov dword [ebp - 0x4c], edi
push 1
and dword [ebp - 0x30], 0
pop eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x34], 0x6f10701
call fcn.00631d8f
push 1
lea ecx, [esi + 0x58]
pop eax
push eax
push eax
call fcn.00621223
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x94]
add eax, ebx
push eax
call fcn.0063016e
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 3
call fcn.0061a008
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00619fdf
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x631a57
mov ebx, dword [esi + 0x24]
dec ebx
test ebx, ebx
jl 0x631af1
lea edi, [esi + 0xfc]
mov eax, dword [esi + 0x28]
mov ecx, edi
mov eax, dword [eax + ebx*4]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00621223
dec ebx
jns 0x631adb
push 0xa8
call fcn.0061a191
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov dword [ebp - 4], 4
je 0x631b17
lea eax, [esi + 0x58]
push eax
call fcn.00647702
jmp 0x631b19
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xa8]
push ecx
mov ecx, eax
mov dword [esi + 0xf8], eax
call fcn.0064793f
mov byte [esi + 0x110], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret